티스토리 뷰
[Linux - Apache] 아파치 서버 시작, 종료, 재기동 방법(Centos 6,7 버전별 방법)
아파치 재기동시 아래 내용 참고하여 기동
1.systemctl 사용(CentOS 7 이상)
Apache 서버를 재시작
sudo systemctl restart httpd
Apache 서버 시작
sudo systemctl start httpd
Apache 서버 중지
sudo systemctl stop httpd
Apache 서버 상태 확인
sudo systemctl status httpd
Apache 서버 재로드 (설정 파일만 적용)
sudo systemctl reload httpd
부팅 시 Apache 서버 자동 시작 설정
sudo systemctl enable httpd
2. service 사용 (CentOS 6 이하)
Apache 서버 재시작
sudo service httpd restart
Apache 서버 시작
sudo service httpd start
Apache 서버 중지
sudo service httpd stop
Apache 서버 상태 확인
sudo service httpd status
Apache 서버 재로드
sudo service httpd reload
3. 직접 apachectl 명령어 사용
Apache 서버를 재시작
sudo apachectl restart
Apache 서버 시작
sudo apachectl start
Apache 서버 중지
sudo apachectl stop
Apache 서버 재로드
sudo apachectl graceful
- #경력경쟁채용
- #하이틴드라마
- #의무경찰
- #면접준비
- #자동차판매순위
- #7급공무원
- #티빙
- #학원물
- #경찰월급
- #체력시험
- #공무원시험
- #정보처리기사
- #2025트렌드
- #9급공무원
- #판매순위
- #경찰
- #김혜인
- #ev추천
- #경찰공무원
- #기대작드라마
- #스릴러드라마
- #경찰되는법
- #웨이브
- #sbs드라마
- #경찰연봉
- #경찰수당
- #경찰승진
- #경찰시험
- #경찰채용
- #순경월급
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |