Created
January 17, 2012 18:24
-
-
Save redrick/1627968 to your computer and use it in GitHub Desktop.
Ruby on Rails development environment installation
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
sudo yum update :) | |
sudo yum install git | |
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
sudo yum install gcc | |
rvm install 1.9.2 | |
rvm pkg install readline | |
sudo yum install zlib zlib-devel | |
rvm pkg install openssl | |
===================SSH KEYS============================= | |
ssh-keygen -t rsa -C "your_email@youremail.com" | |
gedit ~/.ssh/id_rsa.pub | |
add your keys actually to github and xnet | |
======================================================== | |
rvm gemset create cesbyz | |
rvm pkg install zlib | |
rvm remove 1.9.2 | |
rvm install 1.9.2 | |
gem install rails | |
sudo yum install libxml2 libxml2-devel | |
sudo yum install libxslt libxslt-devel | |
sudo yum install gcc-c++ | |
sudo yum install mysql mysql-devel | |
sudo yum install libsqlite3x-devel | |
bundle | |
yum search redis | |
https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.7.tar.gz | |
unpack somewhere into /home/yourname/ | |
http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jre-7u2-linux-x64.rpm | |
just install it :) | |
cd elasticsearch/bin | |
./elasticsearch -f (starting elasticsearch on the front) | |
redis-server | |
rails s thin | |
And we are up and running :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we use elastic search thus you need some "gui" form index management etc...
elasticsearch/bin/plugin -install mobz/elasticsearch-head
http://localhost:9200/_plugin/head/