Its document management system tool

https://www.youtube.com/watch?v=iw0HH5qDt9k

Package Requirement:-

apache:- 2.0 or above
MariaDB:-5.6 or above

Step1. Install below Packages

yum install curl zlib-devel curl-devel openssl-devel httpd-devel 
yum install apr-devel apr-util-devel mysql-devel ftp wget ImageMagick-devel 
yum install gcc-c++ patch readline readline-devel zlib libyaml-devel libffi-devel 
yum install make bzip2 autoconf automake libtool bison subversion sqlite-devel elinks 
yum install mariadb

Step2. Enable and start service

systemctl enable mariadb
systemctl start mariadb
systemctl status mariadb

Step3. Setup database

mysql_secure_installation 

Step4. Create database

mysql -uroot -p
MariaDB [(none)]> CREATE DATABASE redmine CHARACTER SET utf8;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost' IDENTIFIED BY 'redmine_passwd';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> \q

Step5. Setup rvm

command curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
curl -L get.rvm.io | bash -s stable
source /usr/local/rvm/scripts/rvm

Step6. Setup Rubby

rvm install "ruby-2.2.0"
rvm install "ruby-2.3.0"

Step7. Setup Rack

gem install rack -v=1.6.4

Step8. Setup Passenger

gem install passenger -v=5.0.10 --conservative
passenger-install-apache2-module  

Step9. Download Redmine and untar file

wget http://www.redmine.org/releases/redmine-3.3.3.tar.gz
mkdir -p /var/www/redmine
tar -xzvf redmine-3.3.3.tar.gz
cd redmine-3.3.3

Step10. Move all file in redmine folder

mv * /var/www/redmine/

Step11. Install bundler

gem install bundler -v 1.8.0

Step12. Configure database

cd /var/www/redmine
 cd config
 cp configuration.yml.example configuration.yml
 cp database.yml.example database.yml
 vi database.yml
 production:
   adapter: mysql2
   database: redmine
   host: localhost
   username: redmine
   password: "redmine_passwd"
   encoding: utf8

Step13. Setup bundler and compile

cd /var/www/redmine
bundle install --without development test postgresql sqlite
or 
bundle install --without development test rmagick
rake generate_secret_token
RAILS_ENV=production rake db:migrate
RAILS_ENV=production rake redmine:load_default_data

Step14. Set permission

chown -R apache:apache redmine/
chmod -R 755 files log tmp public plugins

Step15. Create virtualhost file

vim /etc/httpd/conf.d/redmine.conf   -- Note: Just copy and paste passenger configuration

Step16:- Enable and start service

systemctl enable httpd
systemctl start httpd

Step17. Access via browser

http://localhost
or 
http://ip

Step18. Default credentials

UserName : admin
Password: admin

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=iw0HH5qDt9k

LEAVE A REPLY

Please enter your comment!
Please enter your name here