Skip to content

Instantly share code, notes, and snippets.

@risaacson
Last active August 30, 2016 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save risaacson/4cc7016bd5fc388ed8a5bf240911f953 to your computer and use it in GitHub Desktop.
Save risaacson/4cc7016bd5fc388ed8a5bf240911f953 to your computer and use it in GitHub Desktop.
CCIS2122-40
## Make sure that you are in the sudoers
id
# If your user is not in the 'wheel' group execute the next command.
su -
usermod -a -G wheel YOUR_USERNAME
exit
newgrp wheel
# Log out of your worksation and log back in
# check to make sure that you are in the wheel group.
## Install Google Chrome
wget 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm'
sudo yum localinstall google-chrome-stable_current_x86_64.rpm
## Install LibreOffice
sudo yum install -y libreoffice libreoffice-base libreoffice-calc libreoffice-draw libreoffice-impress libreoffice-math libreoffice-write
## Install VirtualBox and Vagrant
sudo -i
cd /etc/yum.repos.d/; wget http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
yum update -y
yum install -y binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
yum install -y VirtualBox-5.1
cd
wget 'http://download.virtualbox.org/virtualbox/5.1.4/Oracle_VM_VirtualBox_Extension_Pack-5.1.4-110228.vbox-extpack'
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.1.4-110228.vbox-extpack --replace
wget 'https://releases.hashicorp.com/vagrant/1.8.5/vagrant_1.8.5_x86_64.rpm'
yum localinstall vagrant_1.8.5_x86_64.rpm
exit
## Create a basic Vagrant setup.
mkdir -p ~/Classwork/Week01/Vagrant/Basic && cd $_
tee Vagrantfile <<-'EOF'
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.hostname = "trusty.box"
end
EOF
vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment