下载安装文件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及端口号】