ubuntu14.04下redmine搭建过程

参考:
redmine下载地址 http://www.redmine.org/releases/
搭建教程http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_on_Ubuntu_step_by_step
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_25x_on_Ubuntu_1404_with_Apache2_Phusion_Passenger_MySQL_and_Subversion
https://blog.csdn.net/yuanyuan_186/article/details/51316637
https://www.redmine.org/issues/28190

具体的过程参考
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_25x_on_Ubuntu_1404_with_Apache2_Phusion_Passenger_MySQL_and_Subversion

遇到问题1:
Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1
利用
https://blog.csdn.net/yuanyuan_186/article/details/51316637
解决

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
解决办法非常简单:
root@raspberrypi:/etc/apache2# vi apache2.conf 
# Include the virtual host configurations:
ServerName  localhost:80
Include sites-enabled/
root@raspberrypi:/etc/apache2# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting ..

遇到问题2:
Apache passenger stopped work after upgrade passenger from 5.1.12 to 5.20
passenger需要安装老版本的,利用
https://www.redmine.org/issues/28190
解决

I resolve this problem with downgrade passenger version.

1) Uninstall new version:
apt-get remove -y passenger libapache2-mod-passenger

2) Install specific version:
sudo apt-get install passenger=1:5.1.12-1~trusty1
sudo apt-get install libapache2-mod-passenger=1:5.1.12-1~trusty1
sudo apt-get install passenger-dev=1:5.1.12-1~trusty1

3) Enaple apache module:
sudo a2enmod passenger

4) Restart apache:
sudo service apache2 restart

遇到问题3:
在配置数据库的时候,一定要保证用户名和密码是对的,我就配错了,导致坑了好久。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值