Showing posts from 2017

Install Nginx & passenger in CentOS 6.x

Nginx Installation First of all, nginx is not a repo available under yum. But you can install epel, through which install nginx.

1. Install EPEL
yum install epel-release


sudo rpm -iUvh epel-release-6-8.noarch.rpm

2. Check EPEL repo
yum repolist

You should get

HPIT-v2cloud-RedHat-nover-x86_64                  HPIT-v2cloud-RedHat-nover-x86_64  0
HPIT-v2cloud-nodist-nover-noarch                      HPIT-v2cloud-nodist-nover-noarch   22
HPIT-v2cloud-nodist-nover-x86_64                     HPIT-v2cloud-nodist-nover-x86_64    3
RedHat-6.5Server-x86_64-Server                        RedHat Linux 6.5Server - os - x86_64 - Server
RedHat-updates-QPK-6Server-x86_64                RedHat-updates-QPK-6Server-x86_64
centos-gluster37                                                    CentOS-6Server - Gluster 3.7
*epel                                                                     Extra Packages for Enter…

Installation guide for RVM Multiuser

When I was trying to install RVM for multiuser, There was no proper guidelines for it. So I decided to create one. Please follow the below steps to install RVM for multiuser.

1. Install mpapis public key
sudo gpg2 --keyserver hkp:// --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL | sudo gpg2 --import
2. Install RVM for Multiuser
curl -L | sudo bash -s stable

3. Load RVM to Environment

echo "[[ -s /usr/local/rvm/scripts/rvm ]] && source /usr/local/rvm/scripts/rvm" >> ~/.bashrc  source .bashrc

4. Reload shell configuration & test
Close out your current shell or terminal session and open a new one (preferred). You may load RVM with the following command:
source /usr/local/rvm/scripts/rvm

5. Final Testing
If installation and configuration were successful, RVM should now load whenever you open a new shell. This can be tested by executing the following command which should output rvm is a f…