VPS侦探论坛

 找回密码
 注册
查看: 10372|回复: 5

lnmp开设虚拟主机确实存在问题

[复制链接]
发表于 2010-6-14 13:49:28 | 显示全部楼层 |阅读模式

lnmp开设虚拟主机确实存在问题
/usr/local/nginx/conf/vhost 下没生成主机头
站点目录有时候也不能生成。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-6-14 13:54:01 | 显示全部楼层

回复 1# 的帖子



(Default domain: www.lnmp.org):boyin.us www.boyin.us
===========================
domain=boyin.us www.boyin.us
===========================
Do you want to add more domain name? (y/n)
n
Please input the directory for the domain:boyin.us www.boyin.us :
(Default directory: /home/wwwroot/boyin.us www.boyin.us):
===========================
Virtual Host Directory=/home/wwwroot/boyin.us www.boyin.us
===========================
===========================
Allow Rewrite rule? (y/n)
===========================
n
===========================
You choose rewrite=none
===========================
===========================
Allow access_log? (y/n)
===========================
n
===========================
You access log file=.log
===========================
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-6-14 13:54:58 | 显示全部楼层

回复 2# 的帖子


Press any key to start create virtul host...
Create Virtul Host directory......
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/none.conf
./vhost.sh: line 136: /usr/local/nginx/conf/vhost/$domain.conf: ambiguous redire
ct
Test Nginx configure file......
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful

Restart Nginx......
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill
-l [sigspec]
=========================================================================
Add Virtual Host for LNMP V0.4  ,  Written by Licess
=========================================================================
For more information please visit http://www.lnmp.org/

Your domain:boyin.us www.boyin.us
Directory of boyin.us www.boyin.us:/home/wwwroot/boyin.us www.boyin.us
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-6-14 16:32:18 | 显示全部楼层

回复 3# 的帖子




你是什么系统?像是你shell的问题,没有把变量替换为值
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-6-14 17:20:57 | 显示全部楼层

回复 4# 的帖子


系统  centos-5.5
找到问题了,绑定域名的时候,不能使用
(Default domain: www.lnmp.org):boyin.us www.boyin.us
只能使用(Default domain: www.lnmp.org):boyin.us
Do you want to add more domain name? (y/n)
在y 输入www.boyin.us 域名就完全ok了

军哥运维代购:http://shop63846532.taobao.com/

发表于 2010-6-14 17:35:34 | 显示全部楼层

我的也有问题,需要把网站目录放在nginx 下面才能访问,放在wwwroot 出现404
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 18:46 , Processed in 0.027113 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表