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 deploy Redmine Project Management and defect tracking system in CentOS8

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

Most people do not understand the knowledge points of this article "how to deploy Redmine project management and defect tracking system in CentOS8", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to deploy Redmine project management and defect tracking system in CentOS8" article.

Redmine, a cross-platform project management system based on ROR framework, is a rising star of the project management system. It is said to come from the ror version of Basecamp and supports a variety of databases. In addition to roughly similar functions to DotProject, there are many unique features of its own, such as providing wiki, news stations, time tracking, feed aggregation, export pdf, etc., and can also integrate other version management systems and BUG tracking systems. For example, SVN, CVS, TD, etc.

Experimental environment

Operating system: Centos 8

Application: MariaDB + apache + Passenger + Ruby + Redmine

Redmine includes support for multiple projects, wiki, issue tracking system, forums, calendars, email notifications, etc.; recently, the company project needs to use Redmine, so it has been recorded.

Create a MySQL database

Log in as a root user to perform interactive operations

[root@linuxcool ~] # mysqlmysql > CREATE DATABASE redmine CHARACTER SET utf8;mysql > GRANT ALL ON redmine.* TO 'redmine'@'localhost' IDENTIFIED BY' password';mysql > flush privileges;mysql > exit Update dnf source [root@linuxcool ~] # dnf install epel-release [root@linuxcool ~] # dnf config-manager-- enable epel install httpd [root @ linuxcool ~] # dnf install httpd install ruby [root @ linuxcool ~] # dnf install ruby install Passenger [root@linuxcool ~] # dnf install mod_passenger passenger passenger-devel set up apache boot [root@linuxcool ~] # systemctl enable httpd create redmine system user [root@linuxcool ~] # useradd-U-rwd / opt/redmine Redmine authorizes [root@linuxcool ~] # usermod-a-G redmine apache [root@linuxcool ~] # chmod 750 / opt/redmine installation [root @ linuxcool ~] # dnf group install "Development Tools" [root@linuxcool ~] # dnf install zlib-devel curl-devel openssl-devel mariadb-devel ruby-devel download Redmine installation package [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 configuration 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.ymlproduction: adapter: mysql2 database: redmine host: localhost username: redmine password: "password" encoding: utf8mb4 Security Install the Ruby dependencies plug-in [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 generate database key [root@linuxcool ~] # bundle exec rake generate_secret_ token [root @ linuxcool ~] # RAILS_ENV=production bundle exec rake db:migrate configure apache virtual host [root@linuxcool ~] # vim / etc/ Httpd/conf.d/redmine.confServerName redmine.comServerAlias www.redmine.comDocumentRoot / opt/redmine/redmine-4.1.0/publicOptions Indexes ExecCGI FollowSymLinksRequire all grantedAllowOverride allErrorLog / var/log/httpd/example.com-error.logCustomLog / var/log/httpd/example.com-access.log combined restart the httpd service [root@linuxcool ~] # systemctl restart httpd Test Redmine

Http://192.168.3.21

You can also use http://www.redmine.com, but you need to modify the hosts file, otherwise you will visit the official website of redmine.

The above is about the content of this article on "how to deploy Redmine project management and defect tracking system in CentOS8". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more related knowledge, please pay attention to the industry information channel.

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

Development

Wechat

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

12
Report