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

웹개발

번호 제목 글쓴이 날짜 조회수
62 [Linux] CentOS postfix 메일서버 설치 및 설정(sendmail 설정) 최고관리자 12-23 1,481
61 [Ubuntu] 인터넷 연결이 안될 때 최고관리자 12-07 1,289
60 [Apache SSL] Ubuntu 인증서(전자서명) 최고관리자 11-24 1,398
59 [Ubuntu] ssl 임시 인증서 준비 및 발급받기 최고관리자 11-23 1,783
58 [Ubuntu] apache2 환경설정 생성기 최고관리자 11-23 3,004
57 [Ubuntu] apache2 설치 최고관리자 11-23 1,301
56 [vi 편집기] 단축키 최고관리자 11-23 1,228
55 [유용한 블로그] ^^.^^ 최고관리자 11-19 1,234
54 [JS] TimelineJS - 시간의 흐름을 네비게이션화 최고관리자 11-19 1,301
53 [JS] 스크롤을 감지하여 사이트의 헤더를 보이거나 숨기기 최고관리자 11-19 1,433
52 [Linux] NAS Mount 최고관리자 11-12 1,244
51 [React] React활용 최고관리자 11-10 1,282
50 [PHP] exec 실행에 대한 응답코드 최고관리자 11-02 1,629
49 [Linux] Shell Script 최고관리자 10-26 1,534
48 [폰트] 폰트 찾기 사이트 최고관리자 10-21 1,339
47 [통신] Socket packet test Program 최고관리자 10-20 1,821
46 [통신] 맥용 Socket Test Program 최고관리자 10-20 1,606
45 [통신] Mac에서 TCP Socket통신 테스트 하기 최고관리자 10-20 2,880
44 [NginX] 504 Gateway Time-out 에러와 해결방법 +1 최고관리자 10-16 24,549
43 [NginX] 설정 최고관리자 10-13 1,545