我公司的服务器是新买的联想服务器,装了个正版的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。
不过有个奇怪的现象:
新建一个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。