Created
July 13, 2013 18:46
-
-
Save mwoodbri/5991765 to your computer and use it in GitHub Desktop.
SysMO-DB SEEK installation script for RHEL 5
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 | |
sudo yum -y install curl bzip2 patch gcc make libxml2-devel mysql-devel libxslt-devel sqlite-devel | |
curl -LO http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm | |
sudo yum -y install --nogpgcheck rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm | |
curl -O http://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-6.7.6-1.x86_64.rpm | |
curl -O http://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-devel-6.7.6-1.x86_64.rpm | |
sudo yum -y install --nogpgcheck mercurial ImageMagick-6.7.6-1.x86_64.rpm ImageMagick-devel-6.7.6-1.x86_64.rpm | |
curl -O https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | |
bash -s stable <rvm-installer | |
source ~/.rvm/scripts/rvm | |
rvm pkg install zlib | |
rvm pkg install openssl | |
rvm install 1.8.7 --with-zlib-dir=$rvm_path/usr --with-openssl-dir=$rvm_path/usr | |
rvm alias create default ruby-1.8.7 | |
rvm use 1.8.7 | |
rvm rubygems 1.3.7 | |
gem install bundler | |
hg clone https://sysmo-db.googlecode.com/hg/ -r v0.13.3 seek | |
rvm rvmrc untrust seek | |
cd seek | |
bundle install --deployment | |
#cp config/database.default.yml config/database.yml | |
#export RAILS_ENV=production | |
#bundle exec rake db:setup | |
#./script/delayed_job start | |
#bundle exec rake sunspot:solr:start | |
#./script/server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment