본문 바로가기

728x90
반응형

chkconfig

(4)
C264x200.fwebp.q85 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..
C264x200.fwebp.q85 실행 중인 서비스와 설치된 모든 서비스 목록을 얻는 방법 실행 중인 서비스와 설치된 모든 서비스 목록을 얻는 방법모든 서비스 목록 보기시스템에 설치된 모든 서비스의 목록을 확인합니다.시스템에 설치된 모든 서비스 유닛 파일을 나열하며 각 서비스의 상태(예: enabled, disabled, static 등)도 함께 보여줍니다.systemctl list-unit-files --type=service실행 중인 서비스 목록 보기현재 실행 중인 서비스만 나열합니다.systemctl list-units --type=service --state=runningLOAD → 유닛 정의가 제대로 로드되었는지를 나타냅니다.ACTIVE → 유닛의 고수준 활성화 상태를 나타내며, SUB의 일반화된 형태입니다.SUB → 유닛의 저수준 활성화 상태를 나타내며, 값은 유닛 유형에 따라 다릅..
C264x200.fwebp.q85 [명령어] 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] ..
C264x200.fwebp.q85 Apache HTTP Server 2.2.12 설치 Apache HTTP Server 2.2.12 설치Apache HTTP Server 2.2.12를 소스 코드로 컴파일하여 /usr/local/apache2 경로에 설치하는 방법입니다.1. Apache 계정 생성useradd -c "Apache" -u 48 -s /sbin/nologin -m -d /home/www apacheid apacheuid=48(apache) gid=48(apache) groups=48(apache)2. Apache 설치Apache 소스 코드 압축 해제Apache HTTP Server 2.2.12 소스 파일을 준비한 후 압축을 해제합니다.tar -xzf httpd-2.2.12.tar.gzcd httpd-2.2.12 Configure./configure \ --prefix=/usr..

728x90
반응형