Redmine is a management suite that’s open source and is based on ruby. This will give you a cut/paste howto that will get you a running server on Debian Squeeze. There are many other ways to do this, this is just down and dirty. I don’t explain much of anything, it’s just cut/paste/hope 🙂
Redmine installation howto
Debian Jessie
apt-get install mysql-server postfix (select Internet site)
apt-get install redmine redmine-mysql
apt-get install apache2 libapache2-mod-passenger
cp /usr/share/doc/redmine/examples/apache2-passenger-host.conf /etc/apache2/sites-available/redmine.conf
cp /usr/share/redmine/config/configuration.yml.example /etc/redmine/default/configuration.xml
vi /etc/redmine/default/configuration.yml
default: <-- add next two lines right below this
email_delivery:
delivery_method: :sendmail
(comment out next lines)
# smtp_settings:
# address: smtp.example.net
# port: 25
# domain: example.net
# authentication: :login
# user_name: "redmine@example.net"
# password: "redmine"
a2enmod passenger
a2ensite redmine.conf
service apache2 restart |
apt-get install mysql-server postfix (select Internet site)
apt-get install redmine redmine-mysql
apt-get install apache2 libapache2-mod-passenger
cp /usr/share/doc/redmine/examples/apache2-passenger-host.conf /etc/apache2/sites-available/redmine.conf
cp /usr/share/redmine/config/configuration.yml.example /etc/redmine/default/configuration.xml
vi /etc/redmine/default/configuration.yml
default: <-- add next two lines right below this
email_delivery:
delivery_method: :sendmail
(comment out next lines)
# smtp_settings:
# address: smtp.example.net
# port: 25
# domain: example.net
# authentication: :login
# user_name: "redmine@example.net"
# password: "redmine"
a2enmod passenger
a2ensite redmine.conf
service apache2 restart
Now give your site a few seconds to load, and then visit your site at http://whatever.hostname.or.ip
Debian Wheezy
apt-get install mysql-server
apt-get install redmine redmine-mysql
apt-get install libapache2-mod-passenger postfix (select Internet site)
vi /etc/aliases (add line below but change yourusername to whatever yours is)
yourusername: enteryouremailaddress@gmailorwhatever.com
newaliases
echo "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine
a2ensite redmine
cp /usr/share/redmine/config/configuration.yml.example /etc/redmine/default/configuration.yml
vi /etc/redmine/default/configuration.yml (uncomment/comment as below)
#default configuration options for all environments
default:
# Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :sendmail
# delivery_method: :smtp
# smtp_settings:
# address: smtp.example.com
# port: 25
# domain: example.net
# authentication: :login
# user_name: ""
# password: "redmine"
/etc/init.d/apache2 restart
ln -s /usr/share/redmine/public /var/www/redmine
http://your.serverip.or.hostname/redmine
username: admin
password: admin (change these before use) |
apt-get install mysql-server
apt-get install redmine redmine-mysql
apt-get install libapache2-mod-passenger postfix (select Internet site)
vi /etc/aliases (add line below but change yourusername to whatever yours is)
yourusername: enteryouremailaddress@gmailorwhatever.com
newaliases
echo "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine
a2ensite redmine
cp /usr/share/redmine/config/configuration.yml.example /etc/redmine/default/configuration.yml
vi /etc/redmine/default/configuration.yml (uncomment/comment as below)
#default configuration options for all environments
default:
# Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :sendmail
# delivery_method: :smtp
# smtp_settings:
# address: smtp.example.com
# port: 25
# domain: example.net
# authentication: :login
# user_name: ""
# password: "redmine"
/etc/init.d/apache2 restart
ln -s /usr/share/redmine/public /var/www/redmine
http://your.serverip.or.hostname/redmine
username: admin
password: admin (change these before use)
Debian Squeeze
apt-get install mysql-server
apt-get install redmine redmine-mysql
vi /usr/lib/ruby/1.8/active_support/vendor.rb
gem 'i18n', '>= 0.1.3'
change line to read
gem 'i18n', '>= 0.1.3', '< 0.4.0'
apt-get install libapache2-mod-passenger
echo "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine
a2ensite redmine
/etc/init.d/apache2 reload
/etc/init.d/apache2 restart
cp /usr/share/doc/redmine/examples/email.yml.example /etc/redmine/default/email.yml
vi /etc/redmine/default/email.yml
change the email account settings to whatever you need
ln -s /usr/share/redmine/public /var/www/redmine
chown -R www-data:www-data /var/www/redmine |
apt-get install mysql-server
apt-get install redmine redmine-mysql
vi /usr/lib/ruby/1.8/active_support/vendor.rb
gem 'i18n', '>= 0.1.3'
change line to read
gem 'i18n', '>= 0.1.3', '< 0.4.0'
apt-get install libapache2-mod-passenger
echo "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine
a2ensite redmine
/etc/init.d/apache2 reload
/etc/init.d/apache2 restart
cp /usr/share/doc/redmine/examples/email.yml.example /etc/redmine/default/email.yml
vi /etc/redmine/default/email.yml
change the email account settings to whatever you need
ln -s /usr/share/redmine/public /var/www/redmine
chown -R www-data:www-data /var/www/redmine