[리눅스] 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
자동등록방지 숫자입력

웹개발

번호 제목 글쓴이 날짜 조회수
122 [Dart] Dart 문법 정리 최고관리자 09-09 1,664
121 [Flutter] absorbpointer-and-ignorepointer 최고관리자 09-08 1,019
120 [PHP] 타입선언 최고관리자 08-22 884
119 [PHP] error_level 셋팅과 실제 출력 최고관리자 08-21 966
118 [MySql] 타입지정시 괄호안의 숫자 최고관리자 08-18 1,021
117 [MySql] MySQL 최적의 데이터 타입 선택 방법 최고관리자 08-18 697
116 [MySql] 인덱스 조회시 주의 사항 최고관리자 08-18 737
115 [MySql] NOT NULL과 DEFAULT 를 동시에 쓸 필요가 있는가? 최고관리자 08-18 768
114 [Flutter] Row and Column 최고관리자 08-16 678
113 [Flutter] Linting 설정으로, 흔하게 실수할 수 있는 것을 build 전 방지하기. 최고관리자 08-16 762
112 [PHP] PHP 7.x PHP 8.x에서의 조건문 최고관리자 07-26 712
111 [JS] Webpack을 쓰는 이유 최고관리자 07-24 837
110 [Vue] Vue Router 최고관리자 07-22 720
109 [Vue] Vue.js 기본 원리 최고관리자 07-22 1,232
108 [MySql] 쿼리 결과를 합치는 union vs union all의 차이 최고관리자 07-10 746
107 [Vue] 일반적인 프로젝트의 구조에 대해 알아보자. 최고관리자 06-18 825
106 [JSP] vue등의 스크립트 분석을 위해 %태그 정도는 알자. 최고관리자 06-18 942
105 [MySql] 페이징(paging) 쿼리시 전체개수를 한번에 처리하는 방법 최고관리자 06-14 1,532
104 [MySql] Join vs Sub Query 비교 최고관리자 06-05 954
103 [SQL] SQL Join에 대한 이해 최고관리자 06-05 838