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端口
然后sudo /etc/init.d/apache2 restart
试试看看http://ip:8080 看看是不是可以看到了?
redmine发送邮件的配置:sendmail
安装见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
相关文章推荐
- [LeetCode266]Palindrome Permutation
- [LeetCode265]Paint House II
- 统计数字
- 几道笔试题
- RecyclerView的使用记录
- LeetCode "Best Time to Buy and Sell Stock with Cooldown" !
- 极光推送详细讲解+错误知识点
- 第5章(5) 枚举类型
- thrift安装以及编写小程序
- JAVA中for的用法
- python 入门
- 利用CentOS系统IPtables防火墙添加网站IP白名单
- 12个球找出奇异球
- [Redux] Implementing Store from Scratch
- 解决Maven不能下载“oracle、aspectjweaver、com.springsource.net.sf.cglib”jar
- CentOS 7安装VMware Workstation12
- 合并区间
- Win7中安装不了Arduino驱动怎么办
- 机器学习笔记_ 降维_3:SVD
- Linux正则表达式