apache Installation or Setup


Example

Detailed instructions on getting apache set up or installed.

Ubuntu Installation


sudo apt-get install apache2

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

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