Skip to content

Instantly share code, notes, and snippets.

@kid1412-net
Last active August 29, 2015 14:13
Show Gist options
  • Save kid1412-net/f205ab81084877ae4ac4 to your computer and use it in GitHub Desktop.
Save kid1412-net/f205ab81084877ae4ac4 to your computer and use it in GitHub Desktop.
CentOS VM first install

Requirements:

  • CentOS 6.5 Live CD
  • VirtualBox

TODO List

  • Install some packages & update the system
    yum install vim bash-completion file-roller nautilus-open-terminal 
    yum update -y
    reboot
  • Install VirtualBox Guest Additions
    yum install dkms
    yum groupinstall "Development Tools"
    yum install kernel-devel
    reboot
  • Enable Automatic Login
    vim /etc/gdm/custom.conf

    # Adding these lines
    [daemon]
    AutomaticLogin=username
    AutomaticLoginEnable=true
  • Add current user to vboxsf group
    su -
    useradd -aG vboxfs username
  • Edit hotkeys

    • Lock Screen: Ctrl + Alt + L
    • Show Desktop (hide All Windows): Ctrl + Alt + D
    • Open Terminal: Ctrl + Alt + T
    • Home Folder: Ctrl + Alt + H
  • Tick Always open in browser windows in the nautilus preference

  • Zip the VM

  • Upload to the cloud

References

Future Work

  • Create a minimal CentOS VM (remove unnecessary packages, disable unused services and have no GUI)
  • Create an unconnected CentOS VM for internal use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment