您的位置:首页 > 其它

ubuntu14.04 配置redmine3.1

2015-11-26 03:09 363 查看
安装完毕redmine后,

安装见http://blog.csdn.net/zzllabcd/article/details/26287887 后面的整合由于之前的版本太低, 不适用了, 使用下面的整合

创建redmine虚拟主机配置文件

打开vi /etc/apache2/sites-available/redmine.conf

如果想直接访问80端口, 则可以直接在000-default.conf文件中直接配置, 这个是默认的配置文件.

因为我在这个文件里面已经配置了一个phabricator所以只能在创建一个新的配置文件, 使用8080端口

Listen 8080

<VirtualHost *:8080>
#ServerName redmine.<YOUR-DOMAIN>.com
ServerAdmin webmaster@hearhere.cn
DocumentRoot /usr/local/share/redmine-3.1.2/public

ErrorLog /usr/local/share/redmine-3.1.2/logs/redmine_error_log

#If you are using mod_fcgid and are going to upload files larger than
#131072 bytes you should consider adding the following line
#that allows to upload files up to 20 mb
#MaxRequestLen 20971520

#Alias  "/redmine"      "http://121.42.167.18:8080"
<Directory "/usr/local/share/redmine-3.1.2/public">
Options Indexes ExecCGI FollowSymLinks
AllowOverride None
Require all granted
RailsEnv production
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>
</VirtualHost>


然后sudo /etc/init.d/apache2 restart

试试看看http://ip:8080 看看是不是可以看到了?

redmine发送邮件的配置:sendmail
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: