若是本身手動安裝redmine及其相關依賴東西會很是多,因此這裏使用bitnami redmine一鍵集成。html
首先下載安裝包bitnami-redmine-3.3.1-0-linux-x64-installer.run 下載地址(https://bitnami.com/stack/redmine/installer ) ,下載完成後,開始安裝,【./bitnami-redmine-3.3.1-0-linux-x64-installer.run 】。安裝過程直接下一步(中間能夠修改安裝目錄,apache端口,subversion 端口等)。安裝完成後,測試http://ip:端口。若是出現歡迎頁面說明成功。linux
接下來看看配置郵箱:apache
找到配置文件:configuration.yml通常目錄地址:安裝目錄/apps/redmine/htdocs/configruby
找到:服務器
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: address: smtp.gmail.com port: 587 domain: example.net authentication: :login user_name: password:
修改其中的address/domain(對應的郵箱服務器)、user_name(發送郵件的郵箱地址)、password(發送郵件的郵箱密碼)app
email_delivery: delivery_method: :smtp smtp_settings: address: smtp.exmail.qq.com port: 587 domain: smtp.exmail.qq.com authentication: :login user_name: admin@xxx.com password: xxxx
我用的騰訊企業郵箱,注意:若是密碼是純數字須要用單引號 '123123'dom
配置完成後重啓相關服務 cd 安裝路徑下 ./ctlscript.sh restartide
上述配置完成後,還須要配置redmine的郵件通知:Settings>Email notifications測試
其中的郵箱地址要和前面設置的保持一致。ui
最後測試。
--------------------
redmine重啓等操做:
在安裝目錄下有一個ctlscript.sh腳本
執行腳本便可 sh ctlscript.sh restart/start/stop/status