求助,安装哪个LNMP1.1失败,怎么办?
大大,我安装lnmp1.1失败了,不知道为什么的阿!~linode的vps,12.04 LTS Profile系统 。64位的。
帮忙看看下面该怎么办阿?
程序是安装成功了,但是可能安装过程中你将conf目录删除掉了,早成配置文件没有cp过去
回复 2# 的帖子
我没有动它阿,我就看着小说,看着它,这下可怎么办阿?回复 3# 的帖子
你可以在lnmp安装包的目录下执行rm -f /usr/local/nginx/conf/nginx.conf
cp conf/nginx.conf /usr/local/nginx/conf/nginx.conf
cp conf/dabr.conf /usr/local/nginx/conf/dabr.conf
cp conf/discuz.conf /usr/local/nginx/conf/discuz.conf
cp conf/sablog.conf /usr/local/nginx/conf/sablog.conf
cp conf/typecho.conf /usr/local/nginx/conf/typecho.conf
cp conf/wordpress.conf /usr/local/nginx/conf/wordpress.conf
cp conf/discuzx.conf /usr/local/nginx/conf/discuzx.conf
cp conf/wp2.conf /usr/local/nginx/conf/wp2.conf
cp conf/phpwind.conf /usr/local/nginx/conf/phpwind.conf
cp conf/shopex.conf /usr/local/nginx/conf/shopex.conf
cp conf/dedecms.conf /usr/local/nginx/conf/dedecms.conf
cp conf/drupal.conf /usr/local/nginx/conf/drupal.conf
cp conf/ecshop.conf /usr/local/nginx/conf/ecshop.conf
cp conf/pathinfo.conf /usr/local/nginx/conf/pathinfo.conf
cp vhost.sh /root/vhost.sh
chmod +x /root/vhost.sh
然后重启一下
但必须要保证目录下有这些文件,没有就需要你重新下载安装包,解压后在里面运行
页:
[1]