샘플로 ntpd 서비스를 런레벨 3 부팅시 자동실행될 수 있게 서비스 등록을 해보겠다.
1. ntpd 서비스 서버부팅시 런레벨별 ntpd OFF 확인
# ls /etc/rc3.d | grep ntpd
# chkconfig --list ntpd
|
2. 런레벨 3 부팅시 ntpd 자동시작 변경
# chkconfig --level 3 ntpd on
# chkconfig --list ntpd
# ls /etc/rc3.d | grep ntpd
|
'Linux > RedHat, CentOS, ubuntu' 카테고리의 다른 글
CentOS7 mariadb port 변경 (0) | 2020.01.31 |
---|---|
[ CentOS ] python3로 변경 후 YUM 실행시 SyntaxError: invalid syntax 원인과 해결 방법 (0) | 2019.12.20 |
[리눅스 명령어] tee 표준입력으로부터 표준출력과 파일로 저장 (0) | 2019.11.25 |
CentOS 7 SFTP만 사용할 수 있는 계정 만들기 (0) | 2019.11.24 |
centos semanage 명령어 활성화 (0) | 2019.11.22 |
CentOS 7 원격로그 서버 (rsyslog) 구축 (0) | 2019.11.12 |
Compression Comparison of gzip and 7z on CentOS 7. (CentOS 7에서 gzip과 7z 압축 비교) (0) | 2019.10.25 |
Linux 배너파일(issue, issue.net, motd)과 ssh 배너설정 (0) | 2019.10.15 |