There was a DoS attack on wordpress.com in early March 2011 and i had no way to access the Eureka! blog in Hong Kong. so i setup a proxy server in my Linode VPS to manage my blog. This post shows you the installation of Squid server in Ubuntu. Continue reading Squid – Setup a Proxy Server in Ubuntu→
Setting up Sendmail to relay public SMTP server such as Gmail is quite difficult. In the past, i just kept looking for the blog posts in Google and found that people have different ways to setup Sendmail, but not all of them could be repeated successfully in my setup. After so many trials and errors, i made the relay works but i couldn’t fully understand what’s going on in the setup.
You can access the SVN repository through the HTTP protocol after you have integrated the SVN server with Apache. The following steps were done in Ubuntu Lucid (Ubuntu 10.04 LTS).
1. Install the Apache2, Subversion and libapache2-svn.
I want to share a folder in my Ubuntu virtual machine to my Windows host. That folder contains the Rails applications such that i can edit them on the Windows host.
But i got some problems when i tried to setup the Autotest for the RSpec framework. Autotest is a continuous testing tool which run the test suite automatically based on the files you have changed. RSpec is a Behavior Driven Development (BDD) framework for Ruby. After a few hours of struggling, i finally made it work.
1. Create a new Rails project without the default Test::Unit framework.