8. 시스템이 재부팅되어도 자동으로 Httpd 서비스를 실행하도록 활성화합니다. 서비스가 시작되면 정상적으로 실행되는지 status를 확인합니다.
[root@controller ~]# systemctl enable httpd.service Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service. [root@controller ~]# systemctl start httpd.service [root@controller ~]# systemctl status httpd.service ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: active (running) since 토 2016-07-16 14:53:51 KST; 7s ago Docs: man:httpd(8) man:apachectl(8) Main PID: 23305 (httpd) Status: “Processing requests…” CGroup: /system.slice/httpd.service ├─23305 /usr/sbin/httpd -DFOREGROUND ├─23306 (wsgi:keystone- -DFOREGROUND ├─23307 (wsgi:keystone- -DFOREGROUND ├─23308 (wsgi:keystone- -DFOREGROUND ├─23309 (wsgi:keystone- -DFOREGROUND ├─23310 (wsgi:keystone- -DFOREGROUND ├─23311 (wsgi:keystone- -DFOREGROUND ├─23312 (wsgi:keystone- -DFOREGROUND ├─23313 (wsgi:keystone- -DFOREGROUND ├─23314 (wsgi:keystone- -DFOREGROUND ├─23315 (wsgi:keystone- -DFOREGROUND ├─23316 /usr/sbin/httpd -DFOREGROUND ├─23317 /usr/sbin/httpd -DFOREGROUND ├─23318 /usr/sbin/httpd -DFOREGROUND ├─23319 /usr/sbin/httpd -DFOREGROUND └─23332 /usr/sbin/httpd -DFOREGROUND
7월 16 14:53:51 controller systemd[1]: Starting The Apache HTTP Server… 7월 16 14:53:51 controller systemd[1]: Started The Apache HTTP Server.