LoginSignup
20
20

More than 5 years have passed since last update.

ubuntu14.04でALMiniumを使いたい

Posted at

ALMinium の README.mkd に「動作環境は ubuntu12.04」って書いてあるけど、折角新しいLTSが出てるので、14.04 で使いたい。

インストールしてみた感想として、ubuntu12.04->14.04 での変更点は大きく2つ。
・デフォルトで入っているツールとかライブラリが少なくなっているので、それらを自分で別途インストールする必要がある。
・apacheのバージョンが2.2->2.4になっていて、それに伴って設定ファイルの書き方とかが変わっている。

とりあえず以下の感じでインストール成功。

#!/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 mercurial subversion
apt-get install -y unzip

# install apache2 and modules
apt-get install -y apache2-mpm-worker apache2-dev
apt-get install -y libapache2-mod-perl2 libapache2-mod-svn libapache2-mod-wsgi libapache2-mod-auth-mysql

# install libraries alminium needs
apt-get install -y libmagickcore-dev libmagickwand-dev
apt-get install -y libcurl4-openssl-dev

# set up alminium
git clone https://github.com/alminium/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
20
20
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
20
20