Last active
August 29, 2015 14:13
-
-
Save bols-blue/43efcd5d3ca20bbba2cd to your computer and use it in GitHub Desktop.
aluminium-ubuntu-14-04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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