yum update
yum groupinstall "Development Tools"
yum install -y curl firefox gawk gdbm-devel git-all imagemagick kernel-devel kernel-headers libffi-devel libxml2-devel libxslt-devel mysql mysql-devel mysql-libs mysql-server ncurses ncurses-base ncurses-devel openssh-server openssl openssl-devel qt-devel readline readline-devel ruby ruby-devel ruby-docs ruby-irb ruby-libs ruby-mysql ruby-rdoc ruby-ri ruby-sqlite3 screen sqlite sqlite-devel vim-X11 wget xorg-x11-server-Xvfb zlib zlib-devel
# see https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit for qt-webkit installation
# place the qt-webkit.repo file in /etc/yum.repos.d/
mv qt-webkit.repo /etc/yum.repos.d/
yum install -y qt48-qt-webkit-devel
ln -s /opt/rh/qt48/root/usr/include/QtCore/qconfig-64.h /opt/rh/qt48/root/usr/include/QtCore/qconfig-x86_64.h
source /opt/rh/qt48/enable
echo "export PATH=/opt/rh/qt48/root/usr/lib64/qt4/bin/${PATH:+:${PATH}}" >> ~/.bash_profile
# capybara-webkit gem must be installed while source /opt/rh/qt48/enable is in effect.
# see http://maverickgeekstuffs.blogspot.com/2013/03/installing-libyaml-devel-in-centos.html for libyaml-devel installation
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
yum install -y libyaml-devel
# Download MySQL Workbench from http://dev.mysql.com/downloads/tools/workbench/. Select the correct rpm and install with yum install [filename].rpm
wget http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-6.0.8-1.el6.x86_64.rpm
yum install -y mysql-workbench-community-6.0.8-1.el6.x86_64.rpm
# see http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ for mongodb installation
# place the mongodb.repo file in /etc/yum.repos.d/
mv mongodb.repo /etc/yum.repos.d/
yum install -y mongo-10gen mongo-10gen-server
# See http://rvm.io/rvm/install for rvm installation
# rvm install current stable (rvm should install the current Ruby stable for you)
curl -L https://get.rvm.io | bash -s stable --ruby
# rvm assumes you're on Mac OS X so it puts commands in the .bash_profile instead of .bashrc. Do the following to append the command to .bashrc
cat ~/.bash_profile >> .bashrc
# Load RVM or reset the Terminal
source ~/.bashrc
# We have the internet. We don't need to download all the documentations.
echo "install: --no-rdoc --no-ri" >> ~/.gemrc
echo "update: --no-rdoc --no-ri" >> ~/.gemrc
gem install rails
Sublimetext editor is not available on CentOS. Stick with your other favorite text editors.
Google Chrome doesn't install properly on CentOS 6.5 yet.