ubuntu14.04 配置redmine3.1

安装完毕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@xxxx.com
        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://your IP: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


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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值