请教:redhat 3 使用ip地址没能访问ruby on rails 应用程序???

我公司的服务器是新买的联想服务器,装了个正版的redhat enterprise 3。我不熟悉redhat,linux也就ubuntu用过一个星期。服务器在机房,向管理员求得代理帐号后,屁颠屁颠地在上面装好了ruby on rails。
不过有个奇怪的现象:
新建一个ror 应用程序,http://localhost:3000 可以访问首页,但把localhost改称本机ip地址http://10.9.12.254:3000 来访问就不行了,代理设置里面我把ip地址也加到了默认不通过代理来访问的地址列。




个人笔记:
redhat 3 + mysql5 + ruby 1.8.6 + rails1.2.5 + fcgi + lighttpd
卸载redhat 3 自带的rpm -e mysql相应模块和mysql,
下载安装mysql5 rpm -ivh mysql (server,client,shared,...)
lighttpd 下载安装
unset http_proxy ,下载并在本地安装rails

有用的命令:
cat /etc/hosts
system-config-securitylevel (redhat-config-securitylevel)

有用的网址:
1。 http://www.i170.com/user/killercat/Article_40523
windows上 Rails+Lighttpd+Mongrel

2。 rpmforge.net

3。Linux 上完全手动编译安装 Lighttpd ,http://www.b3inside.com/000138.html
http://www.xker.com/page/e2007/1022/36591.html
http://lightyror.thegiive.net/2006/09/lighttpd-rails.html
(lighttpd and rails)

4。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值