教你在CentOS 8上安装和配置Redmine项目管理系统_centos redmine5(1)

img
img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上软件测试知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化的资料的朋友,可以戳这里获取


安装Passenger



[root@linuxcool ~]# dnf install mod_passenger passenger passenger-devel


![在这里插入图片描述](https://img-blog.csdnimg.cn/20200605154442251.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQwOTA3OTc3,size_16,color_FFFFFF,t_70)  
 CentOS 8上安装和配置Redmine项目管理系统CentOS 8上安装和配置Redmine项目管理系统


设置apache开机启动



[root@linuxcool ~]# systemctl enable httpd


创建redmine系统用户



[root@linuxcool ~]# useradd -m -U -r -d /opt/redmine redmine


授权



[root@linuxcool ~]# usermod -a -G redmine apache
[root@linuxcool ~]# chmod 750 /opt/redmine


安装Redmine



[root@linuxcool ~]# dnf group install “Development Tools”
[root@linuxcool ~]# dnf install zlib-devel curl-devel openssl-devel mariadb-devel ruby-devel


下载Redmine安装包



[root@linuxcool ~]# curl -L http://www.redmine.org/releases/redmine-4.1.0.tar.gz -o redmine.tar.gz
[root@linuxcool ~]# tar -xvf redmine.tar.gz


配置Redmine



[root@linuxcool ~]# su - redmine
[root@linuxcool ~]# cp /opt/redmine/redmine-4.1.0/config/database.yml.example /opt/redmine/redmine-4.1.0/config/database.yml
[root@linuxcool ~]# vim /opt/redmine/redmine-4.1.0/config/database.yml
production:
adapter: mysql2
database: redmine
host: localhost
username: redmine
password: “password”
encoding: utf8mb4


安装Ruby dependencies插件



[root@linuxcool ~]# cd ~/redmine-4.1.0
[root@linuxcool ~]# gem install bundler --no-rdoc --no-ri
[root@linuxcool ~]# bundle install --without development test postgresql sqlite --path vendor/bundle


生成数据库密钥



[root@linuxcool ~]# bundle exec rake generate_secret_token
[root@linuxcool ~]# RAILS_ENV=production bundle exec rake db:migrate


配置apache虚拟主机



[root@linuxcool ~]# vim /etc/httpd/conf.d/redmine.conf
<VirtualHost *:80>
ServerName redmine.com
ServerAlias www.redmine.com
DocumentRoot /opt/redmine/redmine-4.1.0/public

<Directory /opt/redmine/redmine-4.1.0/public>
Options Indexes ExecCGI FollowSymLinks
Require all granted
AllowOverride all

ErrorLog /var/log/httpd/example.com-error.log
CustomLog /var/log/httpd/example.com-access.log combined


重启httpd服务




![img](https://img-blog.csdnimg.cn/img_convert/9d59bd98c25d6284986db5bdd2ea86a0.png)
![img](https://img-blog.csdnimg.cn/img_convert/c586d4beee75ff922ccd572daa6357be.png)
![img](https://img-blog.csdnimg.cn/img_convert/c501a22c777302f57980d26d69810782.png)

**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上软件测试知识点,真正体系化!**

**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**

**[需要这份系统化的资料的朋友,可以戳这里获取](https://bbs.csdn.net/forums/4f45ff00ff254613a03fab5e56a57acb)**

只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**

**[需要这份系统化的资料的朋友,可以戳这里获取](https://bbs.csdn.net/forums/4f45ff00ff254613a03fab5e56a57acb)**

  • 20
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值