Linux
Tutorials and tips on Linux system configuration and administration, and software for Linux systems.
Linux has many tools for mounting, creating and burning iso image files. In this posts, we introduce how to use the iso files on Linux.
1. Mount an iso file
Mouting a ... read more »
Linux booting is usually controlled by Grub or the new Grub2. Setting the default booting entry is a frequent operations. Here, we introduce how to set the default entry in ... read more »
LVM volumes as backing for DomU’s file system is an appealing solution to Xen VBD. LVM volumes can dynamically grow/shrink and snapshot. These features make it simple and fast to ... read more »
Update: crontab provides some extensions to support this directly–’Ranges can include “steps”, so “1-9/2″ is the same as “1,3,5,7,9″‘. Check the crontab man page for more details. This post provides ... read more »
Compiling a latex documents may take several steps when bibtex is used with latex. However, this latex compilation process is the same for most documents. We can make it a ... read more »
LVM’s snapshot feature enables us to duplicate an LVM backed Xen DomU in seconds inside of the same volume group. When we want to duplicate LVM backed Xen DomU from ... read more »
LVM’s snapshot feature enables us to duplicate an LVM backed Xen DomU in seconds rather than minutes. We no longer need to copy the entire file system image like backing ... read more »
These slides give a brief introduction to how to set up the VPN-like network between several clusters which connect to each other through Internet:
vpn_iptables_v2.pdf
Animation is enabled which may help to ... read more »
Setting taping the touchpad as left button click in KDE is introduced in this post.
The software package needed:
# yum install kcm_touchpad
A picture that is worth a thousand words:
(In the “Input ... read more »
Update: Since gitosis is not maintained and supported, please check out gitolite for setting up a new git server. (see the comment from Sitaram Chamarty, the author of gitolite.)
Gitosis is ... read more »
I frequently create new user accounts and change or set password for these accounts on a batch of Linux boxes. The create new user can be done by one command ... read more »
How to create a LVM group from two hard disk partitions is introduced in this post.
Assume we have installed two hard disks /dev/sdb and /dev/sdc to the server, our task ... read more »
My .vimrc .emacc files can be downloaded from here:
http://github.com/zma/config_files
My text editors are especially configured for source code such as C/C++/shell editing. I prefer to use spaces instead of tab. And ... read more »
This posts list benchmark (using bonnie++) result of I/O performance of Xen LVM and loopback backed VBDs.
The configuration of machines
Dom0
VCPU: 2 (Intel(R) Xeon(R) CPU E5520 @ 2.27GHz)
Memory: 2GB
Xen and Linux ... read more »
IPv6 is enabled by default on most Linux distros. However, IPv6 is not used most of time (at least in my case). This post introduces how to disable IPv6 support ... read more »
Fedora’s repositories provide most of the software packages needed when using Linux. However, for various consideration, they do not provide some packages, such as MPlayer, ffmpeg. Fortunately, some community maintained ... read more »
1. Close IPV6 support
# echo "alias net-pf-10 off" >> /etc/modprobe.conf
# echo "alias ipv6 off" >> /etc/modprobe.conf
Type “about:config” into the address line and enter.
Set “network.dns.disableIPv6″ to “true”
2. Some other tweaks
Type “about:config” ... read more »
Git and SSH are both powerful tools, and git/ssh work well together. We introduce how to set up git server via ssh in this post. Git server through SSH is ... read more »
Update on Nov. 18, 2012: ATI fglrx driver works well on Fedora 17 with GNOME 3 Shell. Should work well with later releases. Great driver, ATI!
Update on Nov. 29, 2011: ... read more »