apache tutorial - Installation or Setup - apache - apache web server - apache server - apache2
Installation or Setup in Apache
Detailed instructions on getting apache set up or installed.
Ubuntu Installation
sudo apt-get install apache2
click below button to copy the code. By Apache tutorial team
Windows Installation
Check out the WAMP stack. WAMP stands for Windows, Apache, MySQL, PhpMyAdmin.
CentOS Installation
Apache 2.2 comes with CentOS6, whereas 2.4 comes with CentOS7, to install on either OS, run
yum -y install httpd
click below button to copy the code. By Apache tutorial team
macOS Installation
macOS comes with Apache pre-installed,however,can install Apache via Homebrew
If you already have the built-in Apache running, it will need to be shutdown first, and any auto-loading scripts removed.
$ sudo apachectl stop
$ sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
$ brew install httpd24 --with-privileged-ports --with-http2