今天誤刪除了/www/wdlinux/nginx-0.8.52/conf文件夾,所有配置文件都沒了,vhost.sh配置失效了。剛才升級(jí)了一下1.01貌似也沒有什么效果,不知道怎么處理做好,希望幫幫忙。
[root@Beyond ~]# vhost.sh
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Add Virtual Host for wdlinux or lanmp,Written by wdlinux
---------------------------------------------------------------
Wdlinux is a customized version of CentOS based, for quick, easy to install web server system
lanmp is a tool to auto-compile & install lamp or lnmp on linux
This script is a tool add virtual host for wdlinux
For more information please visit http://cd-genova.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The server is running nginx
----------------------------------------------------------------
Pleast input domain:
(Default or Example domain:cd-genova.com):www.365022.com
domain:www.365022.com
-----------------------------------------
Do you want to add more domain name? (y/n)
n
domain alias:365022.com
-----------------------------------------
Allow access_log? (y/n)
y
access_log dir:/www/wdlinux/nginx/logs/www.365022.com.log
------------------------------------------
Do you want to add ftp Account? (y/n)
n
Create virtual host directory.
chown: `www.www': invalid user
/bin/vhost.sh: line 102: /www/wdlinux/nginx/conf/vhost/www.365022.com.conf: No such file or directory
Stopping nginx: [ OK ]
Shutting down php_fpm . done
Starting nginx: [ OK ]
Starting php_fpm done
web site infomations:
========================================
domain list:www.365022.com 365022.com
----------------------------------------
website dir:/www/web/www.365022.com
----------------------------------------
conf file:/www/wdlinux/nginx/conf/vhost/www.365022.com.conf
----------------------------------------
access_log:/www/wdlinux/nginx/logs/www.365022.com.log
----------------------------------------
web site is OK
For more information please visit http://cd-genova.com
========================================
[root@Beyond ~]# logout
[root@Beyond ~]#
歡迎轉(zhuǎn)載,但請(qǐng)保留此信息
[我的Linux,讓Linux更易用]
CentOS精簡版,集成lamp,lnmp版,
wdcp,
wdcdn,
wddns,
一鍵安裝包,集群負(fù)載均衡LVS,智能DNS/CDN,性能優(yōu)化
本文連接:
http://cd-genova.com/old/node/1003
還是有些奇怪的問題
弄了半天還是有的目錄有問題,雖然大部分網(wǎng)站恢復(fù)了,可能用戶之類的也有損壞
請(qǐng)教怎么完全卸載這個(gè)環(huán)境、服務(wù),重新安裝一個(gè)一鍵安裝包