This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@superz ~]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf | |
[root@superz ~]# /usr/local/nginx/sbin/nginx -s reload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 上传文件并删除原文件(主题) | |
sudo rm -rf greenherb && sudo wget http://ftpsin.ymtech.info:8888/logtmp/ftp/xiongwei.shang/site.zip && sudo unzip site.zip | |
## 修改用户组权限并mv文件 | |
sudo chown www:www -R /home/wwwroot/trueniu-php/trueniu/wp-content/themes && sudo rm -rf /home/wwwroot/trueniu-php/trueniu/wp-content/plugins/wordpress-seo && sudo mv wordpress-seo /home/wwwroot/trueniu-php/trueniu/wp-content/plugins/ | |
## 修改nginx配置文件 | |
sudo vi /usr/local/nginx/conf/vhost/trueniu/trueniu.conf | |
## 证书上传 |
NewerOlder