This blog will contain non-technical, fun and personal posts. All my technical posts will be posted on SMD's blog, http://www.smd.com.my. Looking forward to see you there! :-)

Installing ntfs-3g On Etch

If you would like to read & write to your ntfs partition (windows’s partition), installing ntfs-3g on your machine is a better solution. This is the method I used to install ntfs-3g on my debian etch :
1. Remove old libfuse (if any) :
sudo apt-get remove libfuse2 fuse-utils
2. Get required package:

wget http://snapshot.debian.net/archive/2007/04/10/debian/pool/main/n/ntfs-3g/ntfs-3g_1.328-2_i386.deb
wget http://snapshot.debian.net/archive/2007/04/10/debian/pool/main/n/ntfs-3g/libntfs-3g0_1.328-2_i386.deb
wget http://snapshot.debian.net/archive/2007/04/10/debian/pool/main/f/fuse/libfuse2_2.6.3-2_i386.deb
wget http://snapshot.debian.net/archive/2007/04/10/debian/pool/main/f/fuse/fuse-utils_2.6.3-2_i386.deb
3. Install [...]

How To Install Eclipse 3.3 Manually

I have been using Eclipse for quite some time now. I prefer Eclipse as development IDE because its ease of use. The overall design of Eclipse keeps the tools you need immediately at your fingertips.
Using APT to install Eclipse on your Debian / Ubuntu machine will give you the old version of Eclipse. I [...]

Qemu : Share Folders Between Guest And Host OS

Qemu -smb option does not work on Debian/Ubuntu because of a bug in Samba package. Rebuild the Samba package without the –with-fhs option to work around it. But you still can use samba without “-smb” option. Lets say you have ubuntu as host OS and WindowsXP guest OS.
Install samba server on host OS :
sudo apt-get [...]

CD Burning In Kernel 2.6.x (IDE)

If you’re still running kernel 2.4.x, to burn a cd you’re forced to use SCSI emulation (under kernel module ide-scsi). But in kernel 2.6.x, it’s easy as 123. We can use ide-cd.
Firstly, you’ll need to load it:
sudo modprobe ide-cd
And to burn a cd, you have to make an iso file. Use apt and get the [...]

Securing Your MySQL Installation

Many distributions of Linux have an option to install MySQL. In this case, or even if you compile MySQL, the default password is blank.
Make sure that you set password for the root user. This is the command:
mysql -u root mysql
SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(’s3cr3tp4s5w0rd’);