全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 7761|回复: 21
打印 上一主题 下一主题

[nginx] 编译的时候出错,求助!!!

[复制链接]
跳转到指定楼层
1#
发表于 2011-2-6 04:26:44 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
编译的时候出错,求助!!!


./configure –user=www –group=www –prefix=/usr/local/nginx –with-http_stub_status_module –with-http_ssl_module
./configure: error: invalid option "–user=www"


主要是在这一步出错
详细步骤

wget http://nginx.org/download/nginx-0.8.38.tar.gz
2.解压
tar zxvf nginx-0.8.38.tar.gz
3.进入nginx-0.8.38目录
cd nginx-0.8.38


然后执行./configure –user=www –group=www –prefix=/usr/local/nginx –with-http_stub_status_module –with-http_ssl_module
就提示./configure: error: invalid option "–user=www"

百度了半天也没明白是什么意思。。。
22#
发表于 2011-2-6 06:47:21 | 只看该作者
什么都直接复制粘贴教程内容的学习者,实在是太勇敢、太伟大了。
“教程”更多的是个人笔记,可以说写出来就忘在那里了。先学会看手册,随后赶紧丢掉教程吧。

[ 本帖最后由 vnconfig 于 2011-2-6 06:48 编辑 ]
21#
发表于 2011-2-6 05:41:11 | 只看该作者
所以很多时候写blog的时候都要装显源码的插件...

评分

参与人数 1威望 +10 收起 理由
vnconfig + 10 我很赞同

查看全部评分

20#
 楼主| 发表于 2011-2-6 05:39:03 | 只看该作者
http://www.deepvps.com/lnmp-ngin ... stable-version.html
刚刚发现了,确实会被替换成全角的
19#
发表于 2011-2-6 05:37:48 | 只看该作者
客气~~
话说还是你打命令不仔细 =.=!!!
18#
 楼主| 发表于 2011-2-6 05:37:30 | 只看该作者
=========================================================================
Reload LNMP...
Reload Nginx configure...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
Nginx program is reloding!
Shutting down MySQL.. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm  done
Starting php_fpm  done



OK了,升级完成,还是超版厉害,多谢了
17#
发表于 2011-2-6 05:36:44 | 只看该作者
bolg上有时候发的代码会被替换成全角所以可能就会这样子
16#
 楼主| 发表于 2011-2-6 05:35:29 | 只看该作者
原帖由 zyypp 于 2011-2-6 05:34 发表
直接粘贴我的
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module



汗死,这个好使。。。蛋疼啊,,原来是两个--
15#
 楼主| 发表于 2011-2-6 05:35:04 | 只看该作者
我在这里找的。。
http://www.acyoo.com/?p=608

经常拿他升级,就这次挂了。。
14#
发表于 2011-2-6 05:34:50 | 只看该作者
直接粘贴我的
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-15 09:32 , Processed in 0.064626 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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