centos上安装redmine

1、下载bitnami的redmine安装包

https://bitnami.com/stack/redmine/installer

2、安装remine

./bitnami-redmine-3.3.2-0-linux-x64-installer.run

3、依次选择安装语言、产品语言、安装的组件、邮件配置。

默认安装在/opt/redmine-3.3.2-0目录下。

4、默认产生的邮件配置有问题,会导致邮件无法发出,修改配置文件:

vim /opt/redmine-3.3.2-0/apps/redmine/htdocs/config/configuration.yml

-------------------------------------------------

default:
# Outgoing emails configuration
# See the examples below and the Rails guide for more configuration options:
# http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
email_delivery:
delivery_method: :smtp
smtp_settings:
ssl: true
address: smtp.exmail.qq.com
port: 465
domain: exmail.qq.com
authentication: :login
#enable_starttls_auto: true
user_name: redmine@xxx.com
password: 123456

5、重启服务

cd /opt/redmine-3.3.2-0/

sh ctlscript.sh restart

原文地址:https://www.cnblogs.com/lavezhang/p/6433299.html