본문 바로가기

chkconfig

[리눅스] systemd 명령어 systemd 명령어 systemd, init - systemd 시스템 및 서비스 관리자 systemd에서 서비스를 관리하는 명령어는 다음과 같습니다. systemctl list-unit-files --type=service - 현재 설치된 모든 서비스 목록을 출력합니다. systemctl start [서비스 이름] - 지정된 서비스를 시작합니다. systemctl stop [서비스 이름] - 지정된 서비스를 중지합니다. systemctl enable [서비스 이름] - 지정된 서비스를 부팅 시 자동으로 실행하도록 설정합니다. systemctl disable [서비스 이름] - 지정된 서비스를 부팅 시 자동으로 실행하지 않도록 설정합니다. systemctl status [서비스 이름] - 지정된 서비스의.. 더보기
실행 중인 서비스와 설치된 모든 서비스 목록을 얻는 방법 실행 중인 서비스와 설치된 모든 서비스 목록을 얻는 방법모든 서비스 목록 보기시스템에 설치된 모든 서비스의 목록을 확인합니다.시스템에 설치된 모든 서비스 유닛 파일을 나열하며 각 서비스의 상태(예: enabled, disabled, static 등)도 함께 보여줍니다.systemctl list-unit-files --type=service실행 중인 서비스 목록 보기현재 실행 중인 서비스만 나열합니다.systemctl list-units --type=service --state=runningLOAD → 유닛 정의가 제대로 로드되었는지를 나타냅니다.ACTIVE → 유닛의 고수준 활성화 상태를 나타내며, SUB의 일반화된 형태입니다.SUB → 유닛의 저수준 활성화 상태를 나타내며, 값은 유닛 유형에 따라 다릅.. 더보기
[명령어] chkconfig 명령어 chkconfig 명령어 chkconfig [런레벨 조정] * 서비스 runlevel 보기 chkconfig --list chkconfig --list 데몬명 * 서비스 등록하기 chkconfig --add 데몬명 * 서비스 삭제하기 chkconfig --del 데몬명 * 서비스 runlevel 조정하기 chkconfig --level 실행레벨 데몬명 [on|off|rest] $ chkconfig chkconfig version 1.3.30.1 - Copyright (C) 1997-2000 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage: chkconfig --list [name] .. 더보기
[Apache] apache(httpd-2.2.12) 설치 apache(httpd-2.2.12) 설치 ver : httpd-2.2.12 # useradd -c "Apache" -u 48 -s /sbin/nologin -m -d /home/www apache # ./configure --prefix=/usr/local/apache2 --enable-so --enable-shared=max --enable-rewrite --enable-ssl --enable-proxy # make # make install # cp -p /usr/local/apache2/bin/apachectl /etc/init.d/httpd # vi /etc/init.d/httpd ----------------------------------------------------------------.. 더보기

반응형