Working with apache on Centos.
Install apache
1
sudo yum install httpd
Start Apache. apachectl
1
sudo systemctl start httpd.service
Check where is installed
1
whereis httpd
Check apache status
1
sudo systemctl status httpd
Start apache on boot
1
sudo systemctl enable httpd.service
Stop apache
1
sudo systemctl stop httpd
Restart apache
1
sudo systemctl restart httpd.service