취미와 밥줄사이
[ 우분투 ] 서비스 확인, 시작, 중지, 재시작 본문
우분투
명령어 종류 | systemctl | service |
서비스 상태확인 | systemctl status [서비스명] | service [서비스명] status |
서비스 시작 | systemctl start [서비스명] | service [서비스명] start |
서비스 정지 | systemctl stop [서비스명] | service [서비스명] stop |
서비스 재시작 | systemctl restart [서비스명] | service [서비스명] restart |
서비스 리로드 | systemctl reload [서비스명] | service [서비스명] reload |
REFERENCE
아파치, 우분투 서비스 상태 확인, 시작, 중지, 재시작 명령어
명령어 종류 systemctl service /etc/init.d/ httpd 우분투 (서비스명: apache2) 아파치 상태 확인 systemctl status apache2 service apache2 status /etc/init.d/apache2 status 아파치 시작 systemctl start ap..
vtree.tistory.com
'OS > Linux' 카테고리의 다른 글
[ CentOS 7 ] 기본 터미널 색상 변경방법 (0) | 2022.03.09 |
---|---|
[ CentOS 7 ] 에러 - Job for sshd.service failed because ... (0) | 2022.03.08 |
[ CentOS 7 ] 에러: Another app is currently holding the yum lock; (0) | 2022.03.08 |
[ Ubuntu 20.04 ] su / su - 차이점 (0) | 2022.03.07 |
[ Linux ] zcat 명령어 (0) | 2022.03.07 |