• 公告栏使用li标签,同时你可以使用FontAwesome以及其他HTML语法
  • FontAwesome示例
  • 道德在书本里, 榜样在电视里, 国土在肺里, 爱情在房产证里, 幸福感在梦里...这就是中国特色

How to Disable a Services in Linux

菜鸟Linux笔记 shaobo 47次浏览 517字 0个评论

In Red Hat based distributions such as Fedora and CentOS, make use of a script called ‘chkconfig‘ to enable and disable the running services in Linux.

For example, lets disable the Apache web server at the system startup.

[avishek@tecmint]# chkconfig httpd off
[avishek@tecmint]# chkconfig httpd --del

In Debian based distributions such as Ubuntu, Linux Mint and other Debian based distributions use a script called update-rc.d.

For example, to disable the Apache service at the system startup execute the following command. Here ‘-f’ option stands for force is mandatory.

[avishek@tecmint]# update-rc.d -f a


喜欢 (0)

您必须 登录 才能发表评论!