Month: May 2010

How to create a CentOS 5.4 Amazon AMI with java and tomcat

From kampx.com After some experimenting with Google App Engine, there is one thing that bothers me the most; I cannot run any background programs. So, I thought it was time to check out the competition at Amazon ec2. I like centos and I wanted to create an Amazon Machine Image (AMI) which runs on 5.4,…


What to do after your server is “pwned”

If you reading this you must have a good reason to suspect your server has been compromised in some way. If that is the case, your first objective is to immediately secure the server from new access. I would begin by changing the server and all account/ftp passwords to something very secure. A great tool…


fix broken apt-get packages

From blog.bodhizazen.net I recently upgraded from Ubuntu 8.04.3 to Ubuntu 10.04 and things went well, except a few broken packages. Apt-get / synaptic was very broken due to the flashplugin-nonfree. sudo apt-get -f [clip] dpkg: error processing flashplugin-nonfree (–remove): Package is in a very bad inconsistent state – you should reinstall it before attempting a…


DNSSEC May Cause Problems On May 5

From itnews.com.au Network managers are being urged to run a series of checks on their routers and firewalls to ensure their users will still be able to connect to internet sites in the wake of a major change to the internet’s domain name system next week. On May 5, the world’s top domain authorities (led…


a couple more helpful one liners

Get your external IP address curl ifconfig.me —– curl ifconfig.me/ip -> IP Adress curl ifconfig.me/host -> Remote Host curl ifconfig.me/ua ->User Agent curl ifconfig.me/port -> Port intercept stdout/stderr of another process strace -ff -e trace=write -e write=1,2 -p SOME_PID Delete all files in a folder that don’t match a certain file extension Deletes all files…