centos7.5安装redmine-3.4.6-5

时间:2022-12-21 11:31:15

1.下载redmine

​https://downloads.bitnami.com/files/stacks/redmine/3.4.6-5/bitnami-redmine-3.4.6-5-linux-x64-installer.run  ​

2.删除mariadb

yum remove mariadb-libs-5.5.56-2.el7.x86_64

3.安装依赖

yum install -y perl-Module-Install.noarch

4.安装redmine

chmod +x bitnami-redmine-3.4.6-5-linux-x64-installer.run
./bitnami-redmine-3.4.6-5-linux-x64-installer.run

centos7.5安装redmine-3.4.6-5

centos7.5安装redmine-3.4.6-5

centos7.5安装redmine-3.4.6-5

centos7.5安装redmine-3.4.6-5

此时redmine已经成功安装,通过以下地址就可以访问啦

​http://10.2.3.143/redmine/​

centos7.5安装redmine-3.4.6-5

5.安装work_time插件

下载插件:​​https://github.com/tkusukawa/redmine_work_time/releases​

上传插件并解压redmine_work_time-0.3.4.zip

cd /opt/redmine-3.4.6-5/apps/redmine/htdocs/plugins
unzip redmine_work_time-0.3.4.zip
mv redmine_work_time-0.3.4 redmine_work_time
rm -rf redmine_work_time-0.3.4.zip

安装插件

cd /opt/redmine-3.4.6-5
./use_redmine
cd /opt/redmine-3.4.6-5/apps/redmine/htdocs/plugins
bundle install

centos7.5安装redmine-3.4.6-5

centos7.5安装redmine-3.4.6-5

bundle exec rake redmine:plugins NAME=redmine_work_time RAILS_ENV=production

centos7.5安装redmine-3.4.6-5

重启redmine

cd /opt/redmine-3.4.6-5
./ctlscript.sh restart

至此work_time插件安装成功

centos7.5安装redmine-3.4.6-5