관리 메뉴

CHUNUN.COM

CentOS 7에서 부팅 시 httpd 자동 실행하는 방법 본문

Network

CentOS 7에서 부팅 시 httpd 자동 실행하는 방법

췌엠 2014.09.19 22:45

Enable the httpd service at boot time

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

Sample outputs:

ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
The following command will disable the httpd service at the boot time:
sudo systemctl disable httpd.service

0 Comments
댓글쓰기 폼