In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to install and configure Redmine project management system on CentOS 8". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Operating system: Centos 8 Experimental Environment
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 Feed
[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 apache to boot
[root@linuxcool ~] # systemctl enable httpd
Create a redmine system user
[root@linuxcool] # useradd-m-U-r-d / opt/redmine redmine
Authorization
[root@linuxcool ~] # usermod-a-G redmine apache [root@linuxcool ~] # chmod 750 / opt/redmine
Install Redmine
[root@linuxcool ~] # dnf group install "Development Tools" [root@linuxcool ~] # dnf install zlib-devel curl-devel openssl-devel mariadb-devel ruby-devel
Download the 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
Configure 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
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
This is the end of the introduction of "how to install and configure Redmine Project Management system on CentOS 8". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.