ls /etc/rc.d/init.d /*查看系统内有那些服务*/
ls /etc/rc.d/init.d|服务名称 /*查看服务*/
/etc/rc.d/init.d/httpd start 启动http服务
/etc/rc.d/init.d/vsftp status 查看服务启动状态
service httpd stop 停止http服务
chkconfig –list httpd 查看服务状态
service httpd start 启动http服务
chkconfig–level 235 sftpd on 设置服务启动级别
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...