服务
使用
方法一
使用chkconfig让服务开机自启:
chkconfig [--level 运行级别] [独立服务名] [on|off]
chkconfig –level 2345 httpd on 开启自启动
chkconfig httpd on (默认level是2345)方法二
修改/etc/re.d/rc.local 文件
加入 /etc/init.d/httpd start方法三
使用ntsysv命令自管理。
入侵排查
查询已安装的服务
RPM包安装的服务
源码安装的服务
搜索/etc/rc.d/init.d目录,查看是否存在。
Last updated
Was this helpful?