티스토리 뷰
[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
- #순경월급
- #체력시험
- #경찰월급
- #경찰승진
- #로맨틱코미디
- #정보처리기사
- #9급공무원
- #ev추천
- #드라마ost
- #의무경찰
- #경찰시험
- #임지연
- #2025트렌드
- #경력경쟁채용
- #경찰수당
- #sbs드라마
- #자동차판매순위
- #byd
- #공무원시험
- #경찰공무원
- #경찰연봉
- #얄미운사랑
- #스릴러드라마
- #기대작드라마
- #판매순위
- #7급공무원
- #경찰채용
- #경찰되는법
- #전기차판매순위
- #전기차시장
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
