Setting up WordPress on Ubuntu and Nginx

Finally, after thinking about it many times and never giving it a try, I moved my blog over from to a hosted wordpress installation.

Thanks to kind folks at mensk, the setup was a breeze.
See Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress

If you are following the instructions on that post though, be careful. The first instruction for

sudo ln -s /usr/local/nginx/sites-available/ /usr/local/nginx/sites-enabled/

should be

sudo ln -s /usr/local/nginx/sites-available/default /usr/local/nginx/sites-enabled/default

Otherwise, you will get a connection refused error when you try to test just after completing the Nginx setup. Other than that, I was able to get everything up and running with minimal fuss.

This is the first time I am playing with Nginx, that was pretty cool. As soon as I have some time, I should see how well it works with Tomcat.

And, thanks to good people at jestro for writing the Vigilance WordPress theme. It is a minimalistic theme that lets you control many aspects of the blog. If you are going to customize any of the styles in the theme, make sure to read Easy Upgrading With Child Themes.

WordPress blogs – Source code syntax highlighting

Say goodbye to the code tag. blogs have a new shortcode to post source code with syntax highlighting.

If you find that you can’t get it to work, make sure that you have typed in the shortcode, and not copied the snippet from the FAQ entry.

When copied, the snippet contains invalid markup. See if you can spot the difference –

sourcecode language='css']...[/sourcecode
sourcecode language=’css’]...[/sourcecode


The link is out there – no more!

Remember the ‘Where would you like to go today’ slogan MS homepage used to have?

That’s what Erik’s Linkblog was like for me.
A few moments to spare and I used to head over to Erik’s Linkblog to see what good stuff I could find to read.

But no more! After many years of bringing us the best of the links (especially Java) every day, Eric is putting it to rest.

We will miss it Erik. Thanks for all the hard work.