Categories
Linux

CentOS 7 changes Apache

So Centos 7 makes some changes from the way we are used to doing thing.  Many of the packages you are used to no longer start with the normal init.d scripts.  Let’s take apache for example.  Once installed via yum  you have to issues the following commands:

To make sure the httpd service start automatically at the boot time, enter:
systemctl enable httpd.service

The following command will disable the httpd service at the boot time:
systemctl disable httpd.service

To Start httpd:
systemctl start httpd.service

To verify that the httpd service is running, enter:
is-active httpd.service

 

 

%d bloggers like this: