nickjoIT
CentOS 7 서비스 관리 본문
CentOS 7 부터 서비스 데몬 관리 방법이 달라졌습니다. 기존의 init system 에서 systemd 로 기본 시스템 관리 데몬이 변경되었기 때문입니다.
1. 서비스 재실행(sshd 의 경우)
systemctl restart sshd.service
2. 서비스 중지(sshd 의 경우)
systemctl stop sshd.service
3. 서비스 시작(sshd 의 경우)
systemctl start sshd.service
4. 서비스 상태보기(sshd 의 경우)
systemctl status sshd.service
5. 부팅시 서비스 시작하기(sshd 의 경우)
systemctl enable sshd.service
6. 부팅시 서비스 시작하지 않음(sshd 의 경우)
systemctl disable sshd.service
7. 부팅시 실행되는 서비스인지 검사(sshd의 경우)
systemctl is-enabled sshd
8. 서비스 목록보기
systemctl list-unit-files --type=service
출처: http://saksin.tistory.com/1281 [삭신만세]
CentOS 7 부터 서비스 데몬 관리 방법이 달라졌습니다. 기존의 init system 에서 systemd 로 기본 시스템 관리 데몬이 변경되었기 때문입니다.
1. 서비스 재실행(sshd 의 경우)
systemctl restart sshd.service
2. 서비스 중지(sshd 의 경우)
systemctl stop sshd.service
3. 서비스 시작(sshd 의 경우)
systemctl start sshd.service
4. 서비스 상태보기(sshd 의 경우)
systemctl status sshd.service
5. 부팅시 서비스 시작하기(sshd 의 경우)
systemctl enable sshd.service
6. 부팅시 서비스 시작하지 않음(sshd 의 경우)
systemctl disable sshd.service
7. 부팅시 실행되는 서비스인지 검사(sshd의 경우)
systemctl is-enabled sshd
8. 서비스 목록보기
systemctl list-unit-files --type=service
출처: http://saksin.tistory.com/1281 [삭신만세]
CentOS 7 부터 서비스 데몬 관리 방법이 달라졌습니다. 기존의 init system 에서 systemd 로 기본 시스템 관리 데몬이 변경되었기 때문입니다.
1. 서비스 재실행(sshd 의 경우)
systemctl restart sshd.service
2. 서비스 중지(sshd 의 경우)
systemctl stop sshd.service
3. 서비스 시작(sshd 의 경우)
systemctl start sshd.service
4. 서비스 상태보기(sshd 의 경우)
systemctl status sshd.service
5. 부팅시 서비스 시작하기(sshd 의 경우)
systemctl enable sshd.service
6. 부팅시 서비스 시작하지 않음(sshd 의 경우)
systemctl disable sshd.service
7. 부팅시 실행되는 서비스인지 검사(sshd의 경우)
systemctl is-enabled sshd
8. 서비스 목록보기
systemctl list-unit-files --type=service
출처: http://saksin.tistory.com/1281 [삭신만세]
CentOS 7 부터 서비스 데몬 관리 방법이 달라졌습니다. 기존의 init system 에서 systemd 로 기본 시스템 관리 데몬이 변경되었기 때문입니다.
1. 서비스 재실행(sshd 의 경우)
systemctl restart sshd.service
2. 서비스 중지(sshd 의 경우)
systemctl stop sshd.service
3. 서비스 시작(sshd 의 경우)
systemctl start sshd.service
4. 서비스 상태보기(sshd 의 경우)
systemctl status sshd.service
5. 부팅시 서비스 시작하기(sshd 의 경우)
systemctl enable sshd.service
6. 부팅시 서비스 시작하지 않음(sshd 의 경우)
systemctl disable sshd.service
7. 부팅시 실행되는 서비스인지 검사(sshd의 경우)
systemctl is-enabled sshd
8. 서비스 목록보기
systemctl list-unit-files --type=service
[ 참조]
http://saksin.tistory.com/1281
'PROGRAMING > AWS' 카테고리의 다른 글
AWS에 설치된 MySQL DB를 외부 접속이 가능 하도록 설정 (0) | 2017.10.04 |
---|---|
prompt name change (0) | 2017.09.27 |
우분투 Tomcat7에 WAR 배포 하기 (0) | 2017.06.06 |
tomcat manager 에서 deploy 가능하게 설정 - CI 에서 build 후 deploy 시 필요 (0) | 2017.06.06 |
Unlock Jenkins 해결법 (0) | 2017.04.03 |