I just finished setting up name-based virtual host for one of my clients. The server is Red Hat Linux Enterprise 4 update 4 (RHEL) with publ...Read more »

The Magician Of Linux
I just finished setting up name-based virtual host for one of my clients. The server is Red Hat Linux Enterprise 4 update 4 (RHEL) with publ...Read more »
At last the long awaited ShoutMix ShoutBox v2 is ready for prime time now and this time AJAX is used for real time update. It has many new f...Read more »
While recompiling a custom kernel depmod -a creates a "Makefile"-like dependency file, based on the symbols it finds in the set ...Read more »
I used SendMail for SMTP and Qpopper for POP3. Download and install the sendmail package if you don't have it rpm -qa | grep -i sendmail...Read more »
For instance this example checks for netfilter support zgrep -i netfilter /proc/config.gz CONFIG_NETFILTER=yRead more »
A step by step tutirial for people getting the most out of their PC with Xen virtualization Getting the latest version of Xen mkdir /home/xe...Read more »
Want to try out a Linux Distribution on your Windows PC without nuking your Windows MBR? Here is how you go about it. Assuming you partition...Read more »
Today I moved to the new version of gcc 4.1.2. When trying to compile Xen, it kept giving me a 'stack_chk_fail' symbol not found err...Read more »
Installing Ubuntu 6.10. Open up a terminal and set your root password first using sudo passwd rootRead more »
Try using the find command find . -maxdepth 4 rather than the overused lsRead more »
./a.out | tee trace.txtRead more »
If you have to connect to an SSH server frequently or you want to make a shell script using ssh, you might want to consider connecting to i...Read more »
I wanted some one-line loop to read a log file containing serial numbers line-by-line, search for a serial using some regular expression, re...Read more »
Need a quick and dirty tutorial on enabling loggers in your scripts? Here you go. Download and Install Log-Log4perl-1.06 from CPAN (May pro...Read more »
2 days ago, I helped my friend setting up internet connection for his office's LAN. As he showed me the network diagram, I realised that...Read more »
This assumes that you have an account zanwar (set by your cvs admin) and cvs repository Project/Development on the CVS host cvs.cs.uiuc >...Read more »
Personally I think Red Hat's network configuration utilities in no where compare to Knoppix or Ubunto for instance. Setting up networkin...Read more »
I have a linux box in a LAN with almost other boxen are MS Windows ME/XP. This Linux box acts as a WINS server serving request from LAN for...Read more »
Compile cpp file with debug options g++ -ggdb -fprofile-arcs -ftest-coverage -o hello Hello.cpp Try Running it ./hello Run Code Coverage to...Read more »
I'm done setting up samba server as instructed by my boss 2 weeks ago. The mystery of SAMBA have been revealed :). I never done this be...Read more »
Ketika melintasi jalan menuju kantor, gw baru sadar akan sebuah tulisan di sebuah spanduk warnet yang gw lewati. Warnet itu menuliskan fasil...Read more »
Some Linux API require the use of updated libraries. A common example is gethostbename command that is not thread safe. Attempting to run t...Read more »
Tired of remembering and repeating that long copy command again and again. Use history | grep "scp" and you will get a list of ol...Read more »
Open a root shell. The following commands create a temporary directory and copy the files required for the booting of the Linux system (the ...Read more »
When I was checking my INBOX, I usually ignored emails from unknown sender (including emails from mailing lists) for the first time if and o...Read more »
vi /etc/samba/smb.conf [encrypted] browseable = yes comment = Encrypted FS on USB writable = yes locking = no path = /encrypt...Read more »
Download and install uuid-dev, e2fsck and cryptsetup. dd if=/dev/zero of=myencryptedfile.enc bs=1M count=20 losetup /dev/loop2 myencryptedfi...Read more »
Hello there!. We meet again. :) I am in the process of tranferring my old server files and data to our new server. It is an IBM e-series (2 ...Read more »
# Login as root # mkdir myinitrd # cd myinitrd # gzip -dc # edit init do what you want at the top of the script. Usually custom scripts adde...Read more »
Use the tee command. Here is an example where I use pipes and the linux cut/paste command to implement a windows like "scanning wireles...Read more »
What Linux distro is the best for iMac? For a week, by searching with google, I found out that YellowDog is the best. I have to verify it m...Read more »
Recently, I attended a seminar on Grid Computing and HPC. The organizer invited an Indian speaker, a sales director of SUN India, Mr Mohan....Read more »
If you want to startup a certain service e.g. vmware in runlevel 4 during system bootup. cd /etc/rc4.d ln -s ../init.d/vmware S90vmware The ...Read more »
Make sure you ssh/scp deamon is running. /etc/init.d/ssh start Regenerate host keys for ssh if necessary ssh-keygen -t dsa -f /etc/ssh/ssh_h...Read more »
If you have multiple network interfaces on your machine e.g. a wireless (check using iwconfig) and wired. i.e. eth0 and eth1. Linux will end...Read more »
A Knoppix installation on you hard drive will use unionfs by default. You can check to see which folders are part of the unionfs tree by usi...Read more »
losetup -e AES128 -T /dev/loop7 /dev/sda7 format mke2fs -j /dev/loop7Read more »
I prefer using cfdisk over fdisk because it is menu driven. Usually creating a partition table will involve a hda1 primary boot partition fo...Read more »
The server is up and running. It is a 64-bit Xeon with two processors. [root@flowerhorn ~]# cat /proc/cpuinfo processor : 0 vendor_id ...Read more »
df -h and du -hsc Read more »
Needed when mounting a compressed KNOPPIX file found in the linux boot partition. For instance you need to recover some USB modules to place...Read more »
In the example below, the bond0 interface is the master (MASTER) while eth0 and eth1 are slaves (SLAVE). Notice all slaves of bond0 have the...Read more »
One of best combinations for internet connected LAN is squid , a proxy server and iptables , a packet filtering ruleset. To make it useful,...Read more »
People tell me I bash Microsoft too much; that Microsoft's products really are great. OK, so I won't bash Microsoft this time around...Read more »
Patch fixes bug that prevented a virus from running on some systems. Robert McMillan, IDG News Service Wednesday, April 19, 2006 SAN FRANCIS...Read more »
Red Hat Inc. announced on April 4th that the Fedora Project is going to stay under Red Hat's control, instead of going to the Fedora F...Read more »
PEOPLE often complain about ATI Linux support. Nvidia rocks with driver support for the OS, and we know that Nvidia has just released a driv...Read more »
...but a lawsuit by SCO, which claims to own parts of the code, could wreck the party. old news but nice to read. By Roger Parloff May 17, ...Read more »