ubuntu14.04下redmine搭建过程

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_20307987/article/details/82619883

参考:
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:
在配置数据库的时候,一定要保证用户名和密码是对的,我就配错了,导致坑了好久。

猜你喜欢

转载自blog.csdn.net/qq_20307987/article/details/82619883