Skip to content

Instantly share code, notes, and snippets.

@gjedeer
Created August 4, 2010 22:00
Show Gist options
  • Save gjedeer/508875 to your computer and use it in GitHub Desktop.
Save gjedeer/508875 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo nameserver 8.8.8.8 >> /etc/resolv.conf
mkdir .ssh
echo ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAp+PYBtN0SlupDT6NxpNSxi97+Z0ETahZXIoeXWoSuiGmeanU/5bf84RE0vhzu494s6hfhgHOOAJL6z2lBr4qNDvdcdv6asNrQjO2r2bnb6W/hogun6usL6D0twujIH60QQqAK8ommRd5X/kSD2vOugShJchfsRMRPWcwkNjJctP5BXJ0kBwP4iylatxro93gMyN6M0Hanbe2UlMkEmwF3qHJTl3EJcQC4rR0VzX1dybpxS+UaX0nV0I5EX6CWSdrg5gqH9GvhbUg7aIHBZqH3ACrrO1betudHKaFKt5wCSaSWqHemBGnYTm0cjKjxIWL2eB7aSaSJJVIy5pC7Aa1dw== root@mx1.cloudaccess.net > .ssh/authorized_keys
echo ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAztvVNmwC+KuYQXf6mBIye6cuFzjme3iZEMLWUgoQCGboKfS/5q5c7Liwvu/Wn59BYXDNFY4zs/gyuqJFJ/xvc0lycDE7UGfEbC811Kah3bgPOM6CfHHJRXpVKsb178VImBN8eEwKlf9kZKuvrIP/KaxVbP9O1DAlP48MLYrg5Lc= andrew@cloudaccess.net >> .ssh/authorized_keys
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
yum -y install vim-enhanced nano mc subversion python26* sysstat nmap nc htop iftop
# turn off some services not needed
chkconfig kudzu off
chkconfig mcstrans off
chkconfig restorecond off
chkconfig netfs off
chkconfig gpm off
# leave it at the end
hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment