LAMP How To – Open Source At Work

Only Passion Matters

Entries for the ‘Think Software’ Category

Eclipse Proxy Fix

If you are behind a proxy server, you may get annoying proxy popups after installing eclipse. The trick is to manually setup the proxies in
windows->preferences->general->networking
This works for galileo, the version that I am using.

Advance SVN post-commit hook script for System Administrators

Everyone knows how cool svn post-commit feature is. Instead of using the basic post-commit script provided by svn, we can do alot more with a bit of server side scripting. Here, I like to share a simple script that I wrote to automate the process of updating different server system files using svn post-commit. It [...]

SVN over HTTP

Objective
I want to be able to browse the svn dir from a website like http://zeus.dev/svn.php and at the same time, be able to checkout from the repository via http://zeus.dev/svn/projectname
How

First of all, install mod_dav_svn
Then in the apache config, I am using vhost for example
<VirtualHost *:80>
DocumentRoot /home/data/zeus.dev/apps/
ServerName zeus.dev
# this is for [...]

Quick tips for setting up Eclipse and Monkey

eclipse-pdtis a php integrated eclipse IDE – good for rapid web development.
download eclipse-pdt from above.
setup subclipse (for svn) if you intend to use svn within eclipse. In eclipse->help->software updates->available software->add site, enter URL: http://subclipse.tigris.org/update_1.6.x
Another good software to install is beyond cvs. In eclipse->help->software updates->available software->add site, enter URL: http://beyondcvs.sourceforge.net/update/0.8.x/

install subeclipse and javaHL adapter.
setup eclipse monkey [...]

Highly available load Balancer + web server in centos

This tutorial is about creating a highly available HTTP load balancer using HAProxy. The setup can be slightly complicated but you will appreciate the result – you will get a load-balanced + highly available web service in your network. Basic linux skill is assumed.
Scenario:
Imagine we have 2 physical machines. In each machine, I have 2 [...]