http://ioriy2k.pe.kr/archives/4762
$ sudo apt-get install tasksel
$ sudo tasksel install lamp-server
$ sudo add-apt-repository ppa:ondrej/redmine
$ sudo apt-get update
$ sudo apt-get install redmine redmine-mysql
$ sudo ln -s /usr/share/redmine/public /var/www/redmine
$ sudo apt-get remove libapache2-mod-passenger
$ sudo gem install passenger
$ sudo apt-get install libcurl4-openssl-dev libssl-dev zlib1g-dev apache2-prefork-dev libapr1-dev libaprutil1-dev
$ sudo passenger-install-apache2-module
* 빌드후 다음과 같은 메세지가 출력되면 메모
LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-4.0.46/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /var/lib/gems/1.8/gems/passenger-4.0.46
PassengerDefaultRuby /usr/bin/ruby1.8
</IfModule>
$ sudo vi /etc/apache2/mods-available/passenger.load
LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-4.0.46/buildout/apache2/mod_passenger.so
$ sudo vi /etc/apache2/mods-available/passenger.conf
<IfModule mod_passenger.c>
PassengerRoot /var/lib/gems/1.8/gems/passenger-4.0.46
PassengerDefaultRuby /usr/bin/ruby1.8
PassengerDefaultUser www-data
</IfModule>
$ sudo vi /etc/apache2/sites-available/default
<Directory /var/www/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>
$ sudo a2enmod passenger
$ sudo service apache2 restart
$ sudo ufw allow 80
http://ioriy2k.pe.kr/archives/4843
$ sudo apt-get install git-core ruby-git
$ cd /usr/share/redmine
$ sudo ruby script/plugin install --force git://redmin-mylyncon.git.sourceforge.net/gitroot/redmin-mylyncon/redmine-mylyn-connector
$ sudo service apache2 restart
댓글 없음:
댓글 쓰기