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 new ShoutMix ShoutBox v2
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 »
What Linux Drivers are being used?
While recompiling a custom kernel depmod -a creates a "Makefile"-like dependency file, based on the symbols it finds in the set ...Read more »
Setting up your own SMTP and POP3 Mail Server
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 »
Checking running Kernel support for a module
For instance this example checks for netfilter support zgrep -i netfilter /proc/config.gz CONFIG_NETFILTER=yRead more »
Installing Xen 3.0.3 from source on Ubuntu Edgy
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 »
Linux Windows Dual Boot without nuking existing MBR
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 »
Resolving stack_chk_fail Error
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 »
Root Permissions for Linux Live CD
Installing Ubuntu 6.10. Open up a terminal and set your root password first using sudo passwd rootRead more »
Detailed Recursive Directory Listing
Try using the find command find . -maxdepth 4 rather than the overused lsRead more »
Redirect stdout to file and screen simultaneously
./a.out | tee trace.txtRead more »
connecting to SSH server passwordless
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 »
Search, Process, Replace strings in a File using Perl
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 »
Easy Error Logging in Perl via Log4Perl
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 »
An encounter with VLAN
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 »
Setting up CVS client in Linux
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 »
Red Hat Network Setup
Personally I think Red Hat's network configuration utilities in no where compare to Knoppix or Ubunto for instance. Setting up networkin...Read more »
ping using netbios name from Linux box
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 »
Linux Code Coverage profiling Tool
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 »
Samba explained
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 »
Laptop Supported
Ketika melintasi jalan menuju kantor, gw baru sadar akan sebuah tulisan di sebuah spanduk warnet yang gw lewati. Warnet itu menuliskan fasil...Read more »
Loading Dynamic Libraries
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 »
Getting Linux Command History
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 »
Creating a isoLinux Bootable CD
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 »
The latest Google Talk
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 »
Samba mounting Encrypted Linux file from Windows host in Vmware
vi /etc/samba/smb.conf [encrypted] browseable = yes comment = Encrypted FS on USB writable = yes locking = no path = /encrypt...Read more »
Creating a encrypted patition visible from both windows and linux
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 »
Apache virtual server on SuSe 9.2
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 »
Modifying the kernel's make install initrd image
# Login as root # mkdir myinitrd # cd myinitrd # gzip -dc < /boot/initrd-your-version-here.img | cpio -i # edit init do what you want at ...Read more »
Single Writer Multiple Readers using Anonymous Pipes
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 »
Installing Linux on an iMac
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 »
AMD Opteron vs Intel Itanium
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 »
Creating symbolic links for bootup scripts
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 »
Coping folders between Machines
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 »
Linux Managing multiple Network interfaces
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 »
Setting up Knoppix file system on a hard drive
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 »
Setting up and Formatting encrypted Partitions
losetup -e AES128 -T /dev/loop7 /dev/sda7 format mke2fs -j /dev/loop7Read more »
changing & formatting partitions
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 »
64 bit is the way to go...
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 »
Disk Space Remaining
df -h and du -hsc Read more »
Mounting a compressed image
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 »
bond0 interface
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 »
squid and iptables - revisited
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 »
When Microsoft lovers bash Microsoft
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 »
Torvalds Patches Linux Kernel, Fixes Broken Virus
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 keeps its grip on Fedora
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 »
ATI releases Linux driver and update
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 »
Gunning for Linux The free operating system--backed by IBM, HP, and others-- is breaking Microsoft's monopoly.
...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 »