Skip to content

Instantly share code, notes, and snippets.

@zommarin
Last active March 20, 2016 11:43
Show Gist options
  • Save zommarin/c4274649421a8c09e962 to your computer and use it in GitHub Desktop.
Save zommarin/c4274649421a8c09e962 to your computer and use it in GitHub Desktop.
Install development CentOS machine in VMware Workstation Pro
# Configuration:
# CPU: 2 vCPU in 1 Socket
# RAM: 8 GB
# Disk: 128GB Growing single file
# 768MB 3D Graphics
# Enable shared folders - map work dir
# Make sure that:
# - Ethernet adapter is enabled (VMware auto install defaults to off)
# - Ethernet adapter is bound to bridged and to an adapter that is connected
# Edit sudoers:
visudo
yum update -y
# RHEL/CentOS 7 64-Bit EPEL Configuration
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -ivh epel-release-7-5.noarch.rpm
yum install git -y
yum install emacs -y
# Ansible for deployment work
yum install ansible -y
# Node.js
yum install nodejs -y
# Ruby for static website authoring
yum install ruby ruby-devel rubygems -y
gem install middleman # Takes a long, long time...
# Ruby again
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable
# Enable my user as a rvm user
usermod -a -G rvm az
# TODO:
# Install:
# node.js
# gradle
# SMB client
# as myself (az)
# ==============
rvm use 2.2.0 --install # Hangs on sudo password prompting in the middle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment