How to install Redmine in Ubuntu
Quickloss3
Update Server: apt update && apt upgrade -y
Set hostname: hostnamectl set-hostname ex.example.com vim /etc/hosts update server_ip ex.example.com ex
Install Apache Webserver: apt install apache2 libapache2-mod-passenger -y
Install MariaDB Server: apt install mariadb-server mariadb-client -y systemctl enable mariadb mysql_secure_installation
Create a Database for Redmine: mysql -u root -p CREATE DATABASE redminedb CHARACTER SET utf8mb4; GRANT ALL PRIVILEGES ON redminedb.* TO 'redmine'@'localhost' IDENTIFIED BY 'secure-password'; FLUSH PRIVILEGES; exit;
Install and Configure Redmine: apt install redmine redmine-mysql apt install bundler nano /etc/apache2/mods-available/passenger.conf update PassengerDefaultUser www-data
ln -s /usr/share/redmine/public /var/www/html/redmine touch /usr/share/redmine/Gemfile.lock chown www-data:www-data /usr/share/redmine/Gemfile.lock chown -R www-data:www-data /var/www/html/redmine
Configure Apache for Redmine: nano /etc/apache2/sites-available/redmine.conf paste
I'm replacing angled bracket with square bracket
[VirtualHost *:80] ServerAdmin admin@example.com DocumentRoot /var/www/html/redmine ServerName ex.example.com [Directory /var/www/html/redmine] RailsBaseURI /redmine PassengerResolveSymlinksInDocumentRoot on [/Directory] ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined [/VirtualHost]
a2ensite redmine.conf systemctl restart apache2
Access Redmine Web Interface: ex.example.com
user-admin pass-admin ... https://www.youtube.com/watch?v=-CmIIuv580I
29509371 Bytes