본문 바로가기

리눅스

[리눅스] ntsysv 명령어

반응형

ntsysv 명령어

ntsysv는 RHEL(Red Hat Enterprise Linux) 및 CentOS에서 사용되는 명령어 중 하나입니다. 이 명령어는 시스템 서비스를 설정하고 관리하기 위한 텍스트 기반의 인터페이스를 제공합니다.

ntsysv를 실행하면 현재 시스템에서 실행 중인 서비스의 목록을 보여주고, 사용자가 원하는 서비스의 실행 상태를 변경할 수 있는 인터페이스를 제공합니다. 이를 통해 사용자는 서비스를 시작하거나 중지하거나, 부팅 시 자동으로 실행되는 서비스를 설정할 수 있습니다.

ntsysv는 시스템 서비스를 관리하기 위해 주로 사용되며, GUI 환경이 없는 서버 환경에서 사용하기 적합합니다. 예를 들어, HTTP 서버, 데이터베이스, 로깅 등의 서비스를 관리하는데 사용됩니다.

ntsysv를 사용하려면 일반적으로 root 권한이 필요합니다. ntsysv 명령어는 대체로 RHEL 및 CentOS와 같은 Red Hat 계열의 Linux 배포판에서만 사용할 수 있으며, 다른 배포판에서는 해당 명령어와 비슷한 다른 명령어를 사용해야 할 수도 있습니다.

  • ntsysv 정보
yum info ntsysv
$ yum info ntsysv
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
221 packages excluded due to repository priority protections
Installed Packages
Name        : ntsysv
Arch        : x86_64
Version     : 1.7.4
Release     : 1.amzn2.0.2
Size        : 37 k
Repo        : installed
Summary     : A tool to set the stop/start of system services in a runlevel
URL         : https://github.com/fedora-sysv/chkconfig
License     : GPLv2
Description : Ntsysv provides a simple interface for setting which system services
            : are started or stopped in various runlevels (instead of directly
            : manipulating the numerous symbolic links in /etc/rc.d). Unless you
            : specify a runlevel or runlevels on the command line (see the man
            : page), ntsysv configures the current runlevel (5 if you're using X).
  • ntsysv 설치
yum install -y ntsysv
  • ntsysv 실행
ntsysv

 

728x90
반응형