Last active
December 16, 2015 05:19
-
-
Save nukeador/5383583 to your computer and use it in GitHub Desktop.
Teambox v3 installation on Ubuntu Server 10.04
This file contains hidden or 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
$ sudo apt-get install \ | |
build-essential ruby ruby-dev irb libmysqlclient15-dev sqlite3 libsqlite3-dev \ | |
libcurl4-openssl-dev libopenssl-ruby libpcre3-dev libxml2-dev libxslt-dev \ | |
libreadline5-dev apache2 apache2-prefork-dev libapr1-dev imagemagick libpq-dev \ | |
libmysql-ruby libmysqlclient-dev | |
$ sudo aptitude install ruby | |
$ sudo apt-add-repository ppa:maco.m/ruby | |
$ sudo aptitude install rubygems | |
$ sudo gem install bundler | |
$ export PATH=$PATH:/var/lib/gems/1.8/bin | |
$ git clone https://github.com/teambox/teambox.git | |
$ cd tembox | |
$ vim +119 Gemfile.lock | |
(version to 2.3.6) | |
$ vim +119 Gemfile.lock | |
(change it to https) | |
$ /var/lib/gems/1.8/bin/bundle install --deployment | |
$ bundle exec rake db:create db:schema:load RAILS_ENV=production | |
(configure config/database.yml and teambox.yml with your mysql info) | |
$ sudo chown www-data.www-data ./* -R | |
$ sudo gem install passenger | |
$ sudo /var/lib/gems/1.8/bin/passenger-install-apache2-module | |
$ sudo vim /etc/apache2/mods-available/passenger.conf | |
PassengerRoot /var/lib/gems/1.8/gems/passenger-3.0.19 | |
PassengerRuby /usr/bin/ruby1.8 | |
$ sudo vim /etc/apache2/mods-available/passenger.load | |
LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so | |
$ cd /etc/apache2/mods-enabled | |
$ sudo ln -s ../mods-available/passenger.* ./ | |
Now configure your apache virtualhost. | |
REF: | |
https://github.com/teambox/teambox/wiki/Installing-on-Ubuntu | |
https://github.com/teambox/teambox/wiki/Installing-locally | |
$ sudo service apache2 reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment