RHEL6入门时,如何使用ntsysv和chkconfig命令来管理服务?

2026-04-02 00:310阅读0评论SEO资讯
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计179个文字,预计阅读时间需要1分钟。

RHEL6入门时,如何使用ntsysv和chkconfig命令来管理服务?

文档:12.2.配置服务 - 红帽企业Linux 6 | 红帽客户门户

1.简介

红帽企业Linux附带以下服务配置指南:

文档:12.2.ConfiguringtheServicesRedHatEnterpriseLinux6|RedHatCustomerPortal1.简介RedHatEnterpr

文档:12.2.Configuring the Services Red Hat Enterprise Linux 6 | Red Hat Customer Portal

1.简介

Red Hat Enterprise Linux 附带了以下实用程序来管理服务

system-config-services图形界面、ntsysv文本用户界面和chkconfig命令行工具。

2.system-config-services

此软件包现在已经不被支持。yum无法安装

3.ntsysv

在root用户下输入命令:

# ntsysv 或ntsysv --level runlevel

出现以下界面

  • [*] 服务已启用。
  • [ ] 该服务已禁用。

使用空格来切换服务的启用和禁用

4.chkconfig

chkconfig实用程序是一个命令行工具 ,

RHEL6入门时,如何使用ntsysv和chkconfig命令来管理服务?

本文共计179个文字,预计阅读时间需要1分钟。

RHEL6入门时,如何使用ntsysv和chkconfig命令来管理服务?

文档:12.2.配置服务 - 红帽企业Linux 6 | 红帽客户门户

1.简介

红帽企业Linux附带以下服务配置指南:

文档:12.2.ConfiguringtheServicesRedHatEnterpriseLinux6|RedHatCustomerPortal1.简介RedHatEnterpr

文档:12.2.Configuring the Services Red Hat Enterprise Linux 6 | Red Hat Customer Portal

1.简介

Red Hat Enterprise Linux 附带了以下实用程序来管理服务

system-config-services图形界面、ntsysv文本用户界面和chkconfig命令行工具。

2.system-config-services

此软件包现在已经不被支持。yum无法安装

3.ntsysv

在root用户下输入命令:

# ntsysv 或ntsysv --level runlevel

出现以下界面

  • [*] 服务已启用。
  • [ ] 该服务已禁用。

使用空格来切换服务的启用和禁用

4.chkconfig

chkconfig实用程序是一个命令行工具 ,

RHEL6入门时,如何使用ntsysv和chkconfig命令来管理服务?