1.安装mysql服务
apt-get install mysql-server
2.安装redmine服务
apt-get install redmine redmine-mysql libapache2-mod-passenger
3.
$ a2enmod passenger rewrite
4.修改apache 服务
编写/etc/apache/site-enable下面文件
写入
<VirtualHost *:80>
ServerName localhost
DocumentRoot "/usr/share/redmine/public"
PassengerResolveSymlinksInDocumentRoot on
Options Indexes ExecCGI FollowSymlinks
</VirtualHost>
5.配置redmine邮件服务,当前用gmail
编写 /etc/redmine/default/configuration.yml
内容如下
production: email_delivery: delivery_method: :smtp smtp_settings: tls: true enable_starttls_auto: true address: "smtp.gmail.com" port: '587' domain: "smtp.gmail.com" authentication: :plain user_name: "your_email@gmail.com" password: "your_password"
注:我尝试过gmail 发送qq邮箱失败,所以可能其他用户注册时候填写的邮件也需要是gmail。
6.重启apache服务
service apache restart
7.默认的用户是amdin,密码也是admin
注:创建项目,需要把用户也添加到该项目,否则无法实现任务指派
参考文档:
http://aeturnalus.com/software/installing-redmine-ubuntu-12-04-virtualmin/
http://wmcxy.iteye.com/blog/1525195