sudo systemctl status mysql
當(dāng)這個(gè)指令查不到數(shù)據(jù)庫服務(wù)的時(shí)候断部,用下面的
查詢數(shù)據(jù)庫
1梭依、ps -ef | grep mysqld
指定文件啟動(dòng)nginx
2怕午、sudo /export/servers/nginx/nginx_current/sbin/nginx -c /home/huangkai/export/servers/nginx/nginx_current/conf/nginx.conf
修改某個(gè)文件密碼
passwd dev01
如果網(wǎng)站前端顯示券勺,后臺(tái)不顯示绢掰,也許就是權(quán)限的問題
sudo chown -R huangkai:huangkai var/page_cache
sudo chown -R huangkai:dev var/page_cache
sudo find var/ pub/ generated/ -type d -exec chmod 775 {} \;
sudo find var/ pub/ generated/ -type f -exec chmod 664 {} \;
sudo chown -R dev01:dev /mnt03/mnt03/www/wwwroot/www.chicjoc.com
php bin/magento cache:clean
php bin/magento cache:flush