Ftp service vsftpd restart
Mysql service mysqld restart
Apache service httpd restart
tomcat的安装目录有关闭,重启的脚本。
cd /usr/local/tomcat
启动:/bin/startup.sh
关闭:/bin/shutdown.sh
nginx
cd /usr/local/nginx/sbin
启动 ./nginx
重启 ./nginx -s reload
关闭 ./nginx -s stop
php-fpm
启动
/etc/init.d/php-fpm start
重启
/etc/init.d/php-fpm restart
查端口
netstat -tunlp |grep 9000
ps aux | grep php-fpm
rpm -qa |grep php-fpm