Created
December 15, 2022 07:56
-
-
Save parallaxhub/7c3c49f5f997ae4b1d7211889fffa212 to your computer and use it in GitHub Desktop.
Redmine Installation on Ubuntu 20.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###Install Redmine | |
sudo apt install redmine redmine-mysql -y | |
Install Bundler. Bundler is a package that sets up an environment for Ruby projects by tracking and installing gems and versions needed. | |
sudo gem update | |
sudo gem install bundler | |
Edit the Passenger configuration file. | |
sudo nano /etc/apache2/mods-available/passenger.conf | |
Change the file as shown below. Then, save and close the file. | |
<IfModule mod_passenger.c> | |
PassengerDefaultUser www-data | |
PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini | |
PassengerDefaultRuby /usr/bin/ruby | |
</IfModule> | |
Create the Redmine symbolic link to the Apache web root directory. | |
sudo ln -s /usr/share/redmine/public /var/www/html/redmine | |
Create a file named Gemfile.lock. | |
sudo touch /usr/share/redmine/Gemfile.lock | |
Change the ownership of the Gemfile.lock file to be accessible to Apache. | |
sudo chown www-data:www-data /usr/share/redmine/Gemfile.lock | |
Change ownership of the Apache web directory. | |
sudo chown -R www-data:www-data /var/www/html/redmine | |
Change access permissions for the Apache web directory. | |
sudo chmod -R 755 /var/www/html/redmine |
Author
parallaxhub
commented
Dec 15, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment