scottlang
Centos 7 rc.local 활성화 본문
728x90
* OS 설치 후 rc.local 수정 후 실행이 안되는 경우
활성화
#chmod +x /etc/rc.d/rc.local

# rc.local 서비스 시작 및 상태 확인

# systemctl enable
vi /usr/lib/systemd/system/rc-local.service
[install]
WantedBy=multi-user.target
#systemctl list-unit-files |grep rc.local
#systemctl enalbe rc-local.service
완료
'Linux' 카테고리의 다른 글
Debian 7 & 8 Perc H740p 인식 관련 (0) | 2020.10.07 |
---|---|
Centos ipv4 &6 icmp 차단 (0) | 2020.09.29 |
megacli (0) | 2020.09.21 |
[Linux] CentOS 7 네트워크 Bonding 설정 (0) | 2020.09.17 |
RHEL / CentOS 7 - Default boot kernel 변경 방법 (0) | 2020.09.10 |
Comments