ssh 一些服务重启命令集

重启网络服务的命令是 service network restart

重启mysql服务的命令 /etc/rc.d/init.d/mysqld restart

重启FTP     /etc/rc.d/init.d/proftpd restart

查看进程 ps -ef|grep mysqld

杀进程 kill -9 20038

启动apace:   /usr/local/apache/bin/httpd -k start

重启apace:   /usr/local/apache/bin/httpd -k restart

重启apahce     /etc/rc.d/init.d/httpd restart

关闭apace:   /usr/local/apache/bin/httpd -k stop
 

你可能感兴趣的:(ssh)