sudo: unable to resolve host ubuntu

Sometimes after changing elastic-IP settings or stopping/starting instances on EC2, I get an irritating error like this when I execute a command with sudo: sudo: unable to resolve host domU-12-34-ab-cd-56-78 The fix is to lookup the instance’s private dns name (via ec2-describe-instances or the AWS console ui) and update the hostname on the instance with [...]

Posted at 7pm on 4/16/13 | no comments; | Filed Under: Code, Tutorials | read on

Install s3cmd/s3tools Debian/Ubuntu

1. Register for Amazon AWS (yes, it asks for credit card) 2. Install s3cmd (following commands are for debian/ubuntu, but you can find how-to for other Linux distributions on s3tools.org/repositories) wget -O- -q http://s3tools.org/repo/deb-all/stable/s3tools.key | sudo apt-key add – sudo wget -O/etc/apt/sources.list.d/s3tools.list http://s3tools.org/repo/deb-all/stable/s3tools.list sudo apt-get update && sudo apt-get install s3cmd 3. Get your key [...]

Posted at 6pm on 3/19/13 | no comments; | Filed Under: Code, Tutorials | read on

About

I am a Texas Christian University alum with a Bachelor of Science (Kinesiology) degree, entrepreneur, and developer. I currently work as an Enterprise Application Developer in Dallas, TX.

“People who say it takes money to make money are using the worst excuse ever. . . Create massive value for others by providing a solution where no other exists.”