This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# stop services | |
# sudo service apache2 stop | |
# unmount the file system | |
sudo umount /mnt | |
# detach the volume using AWS console | |
# take a snapshot using AWS console | |
# make a new volume | |
# attach the volume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get dist-upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapted from multiple places on the web including LJ Villanueva. http://research.coquipr.com/archives/183 | |
sudo apt-get update | |
# Note, this next line can take a good 20 minutes | |
sudo apt-get install -y ubuntu-desktop | |
sudo add-apt-repository ppa:freenx-team | |
sudo sed -i 's/natty/lucid/g' /etc/apt/sources.list.d/freenx-team-ppa-natty.list | |
sudo apt-get update | |
sudo aptitude install -y freenx | |
mkdir downloads | |
cd downloads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Context. | |
# The motivation for this gist: http://www.datathinks.org/2012/03/Big-Data-Laboratory | |
# create the mount point | |
sudo mkdir /mnt/bisum | |
# mount the volume, assuming the volume is mounted at /dev/sdf | |
sudo mount /dev/xvdf /mnt/bisum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Early Stage IT devises and implements IT strategy for start-ups and entrepreneurs using cloud computing and SaaS components. DataThinks.org is a service of Early Stage IT and focuses on Big Data Analytics. | |
I am the President of Early Stage IT. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sometimes the easiest option is to give someone a key to your instance and revoke it after they are done. | |
We create a key pair, put the public key on the server, give them the private key. | |
To create the key pair for suzy, | |
cd ~/.ssh | |
ssh-keygen -b 1024 -f suzy -t dsa | |
cat suzy.pub >> authorized_keys | |
cat suzy | |
rm suzy* |