Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Redmine3.4.5 in Centos7

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces Centos7 how to install Redmine3.4.5, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Summarize the recent steps for installing Redmine3.4.5:

1. Install the necessary system software packages: httpd,Passenger, etc.

Yum install openssl-devel readline-devel zlib-devel curl-devel libyaml-devel libffi-devel

Yum install mariadb-devel

Yum install httpd httpd-devel

Yum install ImageMagick ImageMagick-devel

2. Install and compile Ruby 2.5.1

Gem sources-- add https://ruby.taobao.org cannot be executed during the process. Solution:

Yum install libssl-dev libssl rvm

Cd / usr/local/ruby-2.5.1/ext/openssl

Ruby extconf.rb-with-openssl-include=/usr/include/openssl-with-openssl-lib=/usr/lib64/openssl/

Ln-s / usr/local/ruby-2.5.1/include /

Cd / usr/local/ruby-2.5.1/ext/zlib

Ruby. / extconf.rb

Make

Make install

Gem sources-- add https://gems.ruby-china.org/

3. Install bundle; and set up MariaDB

Gem install bundler-no-rdoc-no-ri

Vi / etc/my.cnf

Character-set-server=utf8

4. Install Redmine3.4.5

Cd / var/lib/redmine/

Vi config/database.yml

5. Dependencies for installing gem

Bundle install-without development test-path vendor/bundle

6. Initial setup of Redmine management platform

Bundle exec rake generate_secret_token

* (because the execution of bundle exec rake generate_secret_token will report an error that shows that request_store, etc., requires gem install, etc., an attempt has been made to execute bundle install, and the error rbpdf-1.19.3.gem has been destroyed. I found the directory where rbpdf-1.19.3.gem is located / var/lib/redmine/vendor/bundle/ruby/2.5.0/, to delete it, and then do bundle install,OK) *

And then continue to execute

RAILS_ENV=production bundle exec rake db:migrate

7. Install Passenger (Centos is installed by default)

8. Check the http settings and restart httpd to take effect.

Service httpd configtest

Service httpd restart

Log in to the Redmine web service.

Thank you for reading this article carefully. I hope the article "how to install Centos7 Redmine3.4.5" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report