摘要: db errorrails new blog -d mysqljavascript runtime errorgem 'execjs'gem 'therubyracer'and then runbundle install 阅读全文
posted @ 2012-04-20 15:54 wangkangluo1 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 打开nginx.conf文件,在location server 或 http段中加入autoindex on; 阅读全文
posted @ 2012-04-20 11:46 wangkangluo1 阅读(435) 评论(0) 推荐(0) 编辑
摘要: ---恢复内容开始---简单正规chkconfig示例webiopi范本编辑 vim /etc/init.d/rc.local 文件参考:创建一个最简单的Linux随机启动服务但是大多数都是把命令写到/etc/rc.d/rc.local或者/etc/rc.local里,这样虽然能够实现随机运行,但是并不够灵活。不能像mysql,apache等服务一样能够使用service命令或者调用init.d下的脚本启动、关闭或者重启进程。例如,servicemysqlrestartserviceapache2stop或者/etc/init.d/mysqlrestart/etc/init.d/apache2 阅读全文
posted @ 2012-04-20 11:29 wangkangluo1 阅读(34351) 评论(0) 推荐(1) 编辑
摘要: 参考阅读epel 直接安装RPMforge for CentOS 6The default RPMforge repository does not replace any CentOS base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.You can find a complete listing of the RPMforge package packages ath 阅读全文
posted @ 2012-04-20 10:50 wangkangluo1 阅读(645) 评论(0) 推荐(0) 编辑