This is the multi-page printable view of this section. Click here to print.
Redmine
1 - Establish Build
- official website: https://www.redmine.org
- Download Page: https://www.redmine.org/projects/redmine/wiki/Download
- Installation Guide: https://www.redmine.org/projects/redmine/wiki/redmineinstall
- Ref: https://www.redmine.org/projects/redmine/wiki/HowTo%5FInstall%5FRedmine%5Fon%5FDebian%5F9
Establish Redmine from the beginning
VM initial
Download Redmine
Install PostgreSQL
Step1. install PostgreSQL
Step2. Create an empty database and accompanying user
Step3. Database connection configuration
Install Ruby, redmine and Dependencies installation
see https://rvm.io/rvm/install
Step1. Install ruby
Step2. Install Redmine
Passenger + Nginx
Ref: https://www.phusionpassenger.com/library/install/nginx/install/oss/rubygems%5Frvm/
Step 1: install gem
Step 3: run the Passenger Nginx module installer
Step 4: validate installation
Using Nginx
Starting Nginx
You can start Nginx by running:sudo /opt/nginx/sbin/nginx
Shutting down Nginx
You can shut down Nginx by killing its PID with the kill command. To find out what Nginx’s PID is, use the ps command. For example:ps auxw | grep nginx
Restarting Nginx
Restarting Nginx is the same as shutting down Nginx, and starting it again. For example:
Nginx Configuration
sudo -E vi /opt/nginx/conf/nginx.conf
- uncomment
user nobody
and set touser redmine
Install SSL
Ref: https://certbot.eff.org/lets-encrypt/debianbuster-nginx
Step1. Install SSL by Let’s encrypt
Step2. SSL configuration in nginx
sudo -E vi /opt/nginx/conf/nginx.conf
reload Nginx
Install Additional dependencies
Ghostscript
Ref: https://www.ghostscript.com/doc/9.54.0/Install.htm
Ghostscript is an interpreter for the PostScript® language and PDF files. It is available under either the GNU GPL Affero license or licensed for commercial use from Artifex Software, Inc. It has been under active development for over 30 years and has been ported to several different systems during this time. Ghostscript consists of a PostScript interpreter layer and a graphics library.
FreeType
Ref: https://www.freetype.org/download.html#stable-releases
ImageMagick
Ref: https://imagemagick.org/script/install-source.php
Gmail Configuration
Ref: https://www.redmine.org/projects/redmine/wiki/emailconfiguration#GMail-Google-Apps
- Error:
5.7.8 Username and Password not accepted. Learn more....
Solve: https://stackoverflow.com/a/58947125/14740020 - Error:
send-mail: Authorization failed 534 5.7.14
Slove: https://serverfault.com/a/672182
Plugins
Ref: https://www.redmine.org/plugins
WYSIWYG Editor
Ref: https://redmine.org/plugins/redmine%5Fwysiwyg%5Feditor
Github: https://github.com/taqueci/redmine%5Fwysiwyg%5Feditor
Agile
Ref: https://www.redmine.org/plugins/redmine%5Fagile
Install: https://www.redmineup.com/pages/help/agile/installing-redmine-agile-plugin-on-linux?utm%5Fsource=Main&utm%5Fmedium=email&utm%5Fcampaign=Download%5Fplugin%5Femail&utm%5Fterm=download%5Fplugin%5Femail&utm%5Fcontent=installation%5Fguide
checklist
Ref: https://www.redmine.org/plugins/redmine%5Fchecklists
Install: https://www.redmineup.com/pages/help/checklists/installing-redmine-checklists-plugin-on-linux?utm%5Fsource=Main&utm%5Fmedium=email&utm%5Fcampaign=Download%5Fplugin%5Femail&utm%5Fterm=download%5Fplugin%5Femail&utm%5Fcontent=installation%5Fguide
Attach image from clipboard (can’t use in Redmine 4.2.1.stable.20997)
Ref: https://www.redmine.org/plugins/clipboard%5Fimage%5Fpaste
Install: https://github.com/peclik/clipboard%5Fimage%5Fpaste/blob/master/README.textile
Themes
Ref: https://www.redmine.org/projects/redmine/wiki/theme%5Flist
PurpleMine 2
Github: https://github.com/mrliptontea/PurpleMine2
Action
Restart Redmine
2 - Establish Build with Docker
- official website: https://www.redmine.org
- Download Page: https://www.redmine.org/projects/redmine/wiki/Download
- Installation Guide: https://www.redmine.org/projects/redmine/wiki/redmineinstall
- Ref: https://www.redmine.org/projects/redmine/wiki/HowTo%5FInstall%5FRedmine%5Fon%5FDebian%5F9
- official docker hub: https://hub.docker.com/%5F/redmine
Establish Redmine from the beginning
VM initial
Download Redmine and run
Nginx
Install SSL
Ref: https://certbot.eff.org/lets-encrypt/debianbuster-nginx
Set server account
Note: shdennlin-c83d109ebef3.json is server account secret
give dns admin permissions
Install SSL by Let’s encrypt
Create Wildcard SSL Certificate
Step2. SSL configuration in nginx
sudo -E vi /opt/nginx/conf/nginx.conf
Gmail Configuration
Ref: https://www.redmine.org/projects/redmine/wiki/emailconfiguration#GMail-Google-Apps
- Error:
5.7.8 Username and Password not accepted. Learn more....
Solve: https://stackoverflow.com/a/58947125/14740020 - Error:
send-mail: Authorization failed 534 5.7.14
Slove: https://serverfault.com/a/672182
Plugins
Ref: https://www.redmine.org/plugins
WYSIWYG Editor
Ref: https://redmine.org/plugins/redmine%5Fwysiwyg%5Feditor
Github: https://github.com/taqueci/redmine%5Fwysiwyg%5Feditor
Agile
Ref: https://www.redmine.org/plugins/redmine%5Fagile
Install: https://www.redmineup.com/pages/help/agile/installing-redmine-agile-plugin-on-linux?utm%5Fsource=Main&utm%5Fmedium=email&utm%5Fcampaign=Download%5Fplugin%5Femail&utm%5Fterm=download%5Fplugin%5Femail&utm%5Fcontent=installation%5Fguide
checklist
Ref: https://www.redmine.org/plugins/redmine%5Fchecklists
Install: https://www.redmineup.com/pages/help/checklists/installing-redmine-checklists-plugin-on-linux?utm%5Fsource=Main&utm%5Fmedium=email&utm%5Fcampaign=Download%5Fplugin%5Femail&utm%5Fterm=download%5Fplugin%5Femail&utm%5Fcontent=installation%5Fguide
Attach image from clipboard (can’t use in Redmine 4.2.1.stable.20997)
Ref: https://www.redmine.org/plugins/clipboard%5Fimage%5Fpaste
Install: https://github.com/peclik/clipboard%5Fimage%5Fpaste/blob/master/README.textile
Themes
Ref: https://www.redmine.org/projects/redmine/wiki/theme%5Flist
PurpleMine 2
Github: https://github.com/mrliptontea/PurpleMine2