상세 컨텐츠

본문 제목

[linux] centos7 서버,디비 자동 실행 httpd,mysql

프로그래밍/linux

by 2hansoul 2022. 3. 15. 20:50

본문

반응형

status 로 보면 disabled로 되어있다 이부분을 항상 실행으로 바꿔줌 

[root@localhost etc]# systemctl enable httpd

Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.

[root@localhost etc]# systemctl enable mariadb

Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service

 

반응형

관련글 더보기

댓글 영역