参考JeanCheng的博客,网址:http://blog.csdn.net/gatieme/article/details/45251389
系统指为ubuntu系统
Linux系统运行时,都有一个运行级别(运行模式),不同级别,运行服务和程序不同。运行级别通常分为7等,从0到6,含义如下:
0 停机
1 单用户,Does not configure network interfaces, start daemons, or allow non-root logins
2 多用户,无网络连接 Does not configure network interfaces or start daemons
3 多用户,启动网络连接 Starts the system normally.
4 用户自定义
5 多用户带图形界面
6 重启
查看系统运行级别为:runlevel
其中/etc/rc2.d Run level 2
对于查看目录,可以输入:
ls /etc/rc*
以K开头系统将终止对应服务;以S开头,系统将启动对应的服务。
sysv-rc-conf可以查看对应的运行服务界面:
对于修改自启动服务,可以将光标移动到activemq那行的第2列,按点击鼠标或者空格进行将启动项反选(启动项的修改),按q退出之后配置即完成。
之后,再次可查看,服务是不是已经不启动。
3270

被折叠的 条评论
为什么被折叠?



