今天误删除了/www/wdlinux/nginx-0.8.52/conf文件夹,所有配置文件都没了,vhost.sh配置失效了。刚才升级了一下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://www.wdlinux.cn
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The server is running nginx
----------------------------------------------------------------
Pleast input domain:
(Default or Example domain:www.wdlinux.cn):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://www.wdlinux.cn
========================================
[root@Beyond ~]# logout
[root@Beyond ~]#
欢迎转载,但请保留此信息
[我的Linux,让Linux更易用]
CentOS精简版,集成lamp,lnmp版,
wdcp,
wdcdn,
wddns,
一键安装包,集群负载均衡LVS,智能DNS/CDN,性能优化
本文连接:
http://wdlinux.cn/old/node/1003
还是有些奇怪的问题
弄了半天还是有的目录有问题,虽然大部分网站恢复了,可能用户之类的也有损坏
请教怎么完全卸载这个环境、服务,重新安装一个一键安装包
你不只删了文件,还有删用户吧?
你不只删了文件,还有删用户吧?
创建vhost文件夹
mkdir vhost