Centos7重啟apache、nginx、mysql、php-fpm命令方法
apache
啟動(dòng)
systemctl start httpd
停止
systemctl stop httpd
重啟
systemctl restart httpd
mysql
啟動(dòng)
systemctl start mysqld
停止
systemctl stop mysqld
重啟
systemctl restart mysqld
php-fpm
啟動(dòng)
systemctl start php-fpm
停止
systemctl stop php-fpm
重啟
systemctl restart php-fpm
nginx
啟動(dòng)
systemctl start nginx
停止
systemctl stop nginx
重啟
systemctl restart nginx
下面看下centos7重啟php-fpm命令
php-fpm
/etc/init.d/php-fpm start /etc/init.d/php-fpm stop /etc/init.d/php-fpm restart /etc/init.d/php-fpm reload
總結(jié)
以上所述是小編給大家介紹的Centos7重啟apache、nginx、mysql、php-fpm命令方法,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
相關(guān)文章
使用壓縮的方式將Windows下的zip壓縮包上傳到Linux系統(tǒng)的方法解析
這篇文章給大家介紹了如何使用壓縮的方式將Windows下的zip壓縮包上傳到Linux系統(tǒng),本文分步驟給大家介紹的非常詳細(xì),具有一定的參考借鑒價(jià)值,需要的朋友參考下吧2019-05-05
Linux Crontab 獲取環(huán)境變量配置解析
這篇文章主要介紹了Linux Crontab 獲取環(huán)境變量的配置實(shí)例解析,需要的朋友可以參考下2018-02-02
Linux下普通用戶用sudo su給自己加root權(quán)限的方法
這篇文章主要介紹了Linux下普通用戶用sudo su給自己加root權(quán)限,的方法,文章底部給大家提到了Linux su和sudo命令的區(qū)別,并獲得root權(quán)限,需要的朋友可以參考下2018-04-04

