Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Last active November 18, 2015 13:36
Show Gist options
  • Save ableasdale/0254fad6c6184ffa2aac to your computer and use it in GitHub Desktop.
Save ableasdale/0254fad6c6184ffa2aac to your computer and use it in GitHub Desktop.
VirtualBox 5.0.10 and Fedora 23 Development Machine Base Setup Script(s)
# Part Two
# Go to Devices and select Insert Guest Additions CD Image ...
# Then run the below to install VirtualBox Guest Additions
mkdir /media/VirtualBoxGuestAdditions
mount -r /dev/cdrom /media/VirtualBoxGuestAdditions
KERN_DIR=/usr/src/kernels/`uname -r`
export KERN_DIR
cd /media/VirtualBoxGuestAdditions
./VBoxLinuxAdditions.run
reboot
# Part One
# Get latest VirtualBox to start with - at least 5.0.10:
# http://download.virtualbox.org/virtualbox/5.0.10/VirtualBox-5.0.10-104061-Win.exe
# Use the netinstall image for Fedora 23
# https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-23.iso
dnf -y groupinstall "Development Tools" "Development Libraries"
dnf -y install vim perl-devel perl-CPAN perl-App-cpanminus perl-Net-SSLeay perl-IO-Socket-SSL libxml2-devel screenfetch gnome-tweak-tool guake kernel-* dkms make bzip2 perl glances htop redhat-lsb gdb sysstat psutils nmon gcc gcc-c++ ngrep nmap iptraf-ng bmon flex bison
echo screenfetch >> /etc/bashrc
ln -s /home/ableasdale/.config/autostart/guake.desktop /etc/xdg/autostart/
systemctl enable sshd.service
# curl -L http://cpanmin.us | perl - --sudo App::cpanminus
cpanm Getopt::Args
cpanm Time::HiRes
cpanm LWP::UserAgent
cpanm Config::Properties
cpanm Term::ReadKey
cpanm IO::Socket::SSL
cpanm Net::SSLeay
cpanm LWP::Parallel::UserAgent
cpanm XML::LibXML
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment