[리눅스] CentOS 6 vs CentOS 7 명령어 대응

명령어 종류systemctl (CentOS7)service (CentOS6)
아파치 상태 확인systemctl status httpdservice httpd status
아파치 시작systemctl start httpdservice httpd start
아파치 정지systemctl stop httpdservice httpd stop
아파치 재시작systemctl restart httpdservice httpd restart
아파치 리로드systemctl reload httpdservice httpd reload
아파치 자동시작 설정(On)systemctl enable httpdchkconfig httpd on
아파치 자동시작 해제(Off)systemctl disable httpdchkconfig httpd off
아파치 자동시작 확인systemctl is-enabled httpdchkconfig httpd
자동 실행 서비스 목록systemctl list-unit-files --type=servicechkconfig --list httpd
아파치 마스크systemctl mask http
아파치 언마스크systemctl unmask http
방화벽 시작systemctl start firewalldservice iptables start
방화벽 중지systemctl stop firewalldservice iptables stop
방화벽 자동시작 적용systemctl enable firewalldchkconfig iptables off
방화벽 자동시작 해제systemctl disable firewalldchkconfig iptables on
0
0
이 글을 페이스북으로 퍼가기 이 글을 트위터로 퍼가기 이 글을 카카오스토리로 퍼가기 이 글을 밴드로 퍼가기
captcha
자동등록방지 숫자입력

웹개발

번호 제목 글쓴이 날짜 조회수
2 HTML 특수문자 리스트 최고관리자 08-08 1,383
1 유니코드 특수문자 리스트 최고관리자 08-08 1,429