下載安裝文件bitnami-redmine-3.3.1-0-linux-x64-installer.runmysql
官方下載連接:https://bitnami.com/stack/redmine/installerlinux
百度網盤連接:http://pan.baidu.com/s/1eRZsfmU 密碼:iormsql
1、給文件賦可執行權限。apache
chmod 777 bitnami-redmine-3.3.1-0-linux-x64-installer.runvim
2、執行安裝文件。服務器
./bitnami-redmine-3.3.1-0-linux-x64-installer.runapp
一、選擇安裝語言dom
二、選擇安裝組件默認都須要安裝【svn已配置的選擇N】ide
三、選擇安裝路徑,默認直接回車。svn
四、輸入管理員姓名、郵箱、登陸帳號、登陸密碼、重複密碼。
五、選擇應用程序語言。
六、是否配置郵箱服務,選擇Y。
七、等待安裝成功【默認端口號爲80,80佔用會啓用81,後延】
在內網輸入:191.168.1.200【服務器內網IP地址】,選擇
3、服務重啓。
一、cd /opt/redmine-3.3.1-0/
二、./ctlscript.sh restart
usage: ./ctlscript.sh help
./ctlscript.sh (start|stop|restart|status)
./ctlscript.sh (start|stop|restart|status) mysql
./ctlscript.sh (start|stop|restart|status) apache
help - this screen
start - start the service(s)
stop - stop the service(s)
restart - restart or start the service(s)
status - show the status of the service(s)
4、郵箱配置
一、進入郵箱配置文件目錄
cd /opt/redmine-3.3.1-0/apps/redmine/htdocs/config
二、打開文件
vim configuration.yml
三、修改配置文件【默認production和development下爲空,須要新增】
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.126.com
port: 25
domain: 126.com
authentication: :login
user_name: ******@126.com
password: ******
# specific configuration options for development environment
# that overrides the default ones
development:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.126.com
port: 25
domain: 126.com
authentication: :login
user_name: ******@126.com
password: ******
四、從新相關服務。
進入程序安裝目錄:cd /opt/redmine-3.3.1-0/
重啓服務:./ctlscript.sh restart
五、修改Web端配置
用admin登陸redmine,依次點選管理-配置-郵件通知
在郵件發件人地址處輸入:******@126.com
六、點擊忘記密碼、輸入郵箱,驗證郵箱是否配置成功
若郵件中的連接顯示http://localhost:3000/redmine/account/lost_password?token=**************需用admin登陸redmine,依次點選管理-配置,在主機名稱處輸入:192.168.1.200:80(默認爲localhost:3000),【若對外映射需輸入映射後的域名或IP及端口號】