Friday, February 15, 2013

Development: Ruby Rails using RVM

sudo yum install -y libxml2-devel libxslt-devel
curl -L https://get.rvm.io | bash -s stable

source /home/ec2-user/.rvm/scripts/rvm

rvm pkg install zlib
    rvm pkg install openssl
export rvm_path=/home/ec2-user/.rvm
rvm install 1.9.3 --with-openssl-dir=$rvm_path/usr
gem install bundler
    gem install rake

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...