Skip to content

Instantly share code, notes, and snippets.

@bols-blue
Last active August 29, 2015 14:13
Show Gist options
  • Save bols-blue/43efcd5d3ca20bbba2cd to your computer and use it in GitHub Desktop.
Save bols-blue/43efcd5d3ca20bbba2cd to your computer and use it in GitHub Desktop.
aluminium-ubuntu-14-04
#!/bin/bash
apt-get -y update
apt-get -y dist-upgrade
# install ruby tools
apt-get install -y ruby-dev ruby1.9.3
gem install rubygems-update
update_rubygems
gem install bundler
# install tools alminium is required
apt-get install -y git
# set up alminium
git clone https://github.com/bols-blue/alminium.git
cd alminium
./smelt
# apache 2.2 -> 2.4
cd /etc/apache2/sites-available
mv redmine redmine.conf
sed -i -e "/DocumentRoot \/opt\/alminium\/public/a <Directory \"/opt/alminium/public\">\n Require all granted\n<\/Directory>" redmine.conf
mv vcs vcs.conf
a2ensite redmine
a2ensite vcs
service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment