chkconfig 썸네일형 리스트형 systemd 명령어 systemd 명령어systemd는 리눅스 시스템 및 서비스 매니저로 부팅 시 서비스의 시작 및 관리를 담당하며 시스템 자원과 프로세스를 제어합니다. systemctl 명령어를 사용하여 systemd 기반 시스템에서 서비스를 관리할 수 있습니다.1. systemd와 systemctl의 기본 개념systemd : 리눅스에서 부팅 및 시스템 관리 작업을 제어하는 시스템 및 서비스 관리자.systemctl : systemd 서비스 및 유닛(unit)을 관리하기 위한 명령어.2. 주요 systemctl 명령어서비스 관리서비스 시작sudo systemctl start 서비스 중지sudo systemctl stop 서비스 재시작sudo systemctl restart 서비스 상태 확인sudo systemctl st.. 더보기 실행 중인 서비스와 설치된 모든 서비스 목록을 얻는 방법 실행 중인 서비스와 설치된 모든 서비스 목록을 얻는 방법모든 서비스 목록 보기시스템에 설치된 모든 서비스의 목록을 확인합니다.시스템에 설치된 모든 서비스 유닛 파일을 나열하며 각 서비스의 상태(예: 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 ----------------------------------------------------------------.. 더보기 이전 1 다음