RHEL 7
July 14, 2016
Install A LAMP (Apache, MySQL, PHP) Stack On CentOS
Installing Apache on CentOS
Install Apache with the following command to begin the install:
- sudo yum install httpd
Start Apache with the following command:
- sudo service httpd start
We can now verify Apache is working by opening your browser and entering the URL http://your-server's-address. you should get a blue Apache 2 test page similar to the image below.
Note: If you do not know your IP address, run the following command:
Note: If you do not know your IP address, run the following command:
- ip addr show eth0