Home » Popular Posts

Popular Posts

[Feb 7, 2012 | Views: 36,551]
Git server throught SSH is easy and fast to set up, although every user will have accesses to all repositories in the git server and every user is administrator. This ... read more »
[Nov 11, 2011 | Views: 18,077]
mailx or mail command in Linux is still providing service for guys like me, especially when we need to send email automatically by script. gmail is great. Now, how to ... read more »
[Oct 13, 2011 | Views: 13,264]
Gitosis is a software for hosting git repositories witten by Tommi Virtanen. It manages multiple repositories under the same user account. It uses SSH public keys to identify users. Users ... read more »
[Jun 15, 2011 | Views: 11,422]
Port forwarding is simple to do with iptables in a Linux box which may probably already being used as the firewall or part of the gateway operatioin. In Linux kernels, ... read more »
[Nov 1, 2011 | Views: 9,368]
A method to send email notification to a list email addresses by the remote git server after every push from the client will be introduced. After the client pushing to the ... read more »
[Jul 26, 2010 | Views: 7,627]
The performance of Xen’s Dom0 is important for the overall system. The disk and network drivers are running on Dom0. I/O intensive guests’ workloads may consume lots Dom0′s CPU cycles. ... read more »
[Apr 1, 2011 | Views: 6,444]
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 »
[Nov 29, 2011 | Views: 5,548]
Update on Nov. 29, 2011: ATI fglrx driver work on Fedora 16 with GNOME 3 Shell with Catalyst driver 11.11 (xorg-x11-drv-catalyst-11.11). Update on Oct. 9, 2011: GNOME 3 shell works now ... read more »
[Nov 22, 2011 | Views: 5,053]
How to manage users and repositories and how to use these repositories will be introduced in this post. Please refer to Setting Up Git Server Using Gitosis for how to ... read more »
[Nov 22, 2011 | Views: 5,047]
The design of Mac OSX’s theme is very nice. I am always looking for a good theme for my Linux desktop. There are designs influenced by Mac’s style which looks ... read more »
[Jan 7, 2011 | Views: 4,306]
Compress/uncompress files are frequent operations. The normal tools for compressing/uncompressing in Linux is gzip, bzip2, 7z, rar and zip. This post introduces how to compress and uncompress file in Linux ... read more »
[Aug 13, 2011 | Views: 3,915]
Creating file-backed virtual block device (VBD) for Xen virtual machines and installing Fedora 12 in Xen DomU via internet will be introduced. The Dom0 platform on top of which this DomU ... read more »
[Feb 20, 2010 | Views: 3,635]
cron can only run the job for every one week/month/day/…. But we may want to run some jobs for every two weeks/months/days… under some situation such as bakup for every ... read more »
[Nov 29, 2011 | Views: 3,633]
VMware Player and VirtualBox are two cool and free full virtualization solutions and both can run on top of a Linux host. In this post, we introduces how to install, ... read more »
[Aug 16, 2011 | Views: 3,563]
Please refer to Xen solution for the latest stable Xen Dom0 solution. How to set up Xen Dom0 with paravirt_ops technology in Fedora 12 will be introduced in this post. The Fedora 12 ... read more »
[Dec 5, 2011 | Views: 3,438]
In this post, how to unified Linux login and home directory using OpenLDAP and NFS/automount will be introduced. 0. System environment This solution is tested on Fedora 12 systems. This method should ... read more »
[Mar 3, 2011 | Views: 3,374]
Port forwarding (or tunnelling) is a method to forward one network traffic to another. We will introduce how to forward ports using SSH tunnel in this post. A simple example Let’s start ... read more »
[Apr 3, 2011 | Views: 3,085]
The Linux kernel has a generic driver for a graphic framebuffer named vesafb on intel boxes. It provides a nice large console for most of modern displays. Switching VESA modes of ... read more »
[Aug 27, 2010 | Views: 3,061]
Please refer to Xen solution for the more latest stable Xen Dom0 solution. How to set up Xen Dom0 with Xenified Linux kernel in Fedora 12 will be introduced in this post. We ... read more »
[May 22, 2010 | Views: 2,698]
The ports used by NFS server can be dynamically assigned by rpbind to any higher number. We need to fix the ports used by NFS server to configure firewall or ... read more »
[Mar 30, 2011 | Views: 2,680]
Setting up Ubuntu 10.10 DomU on top of Fedora Xen Dom0 is introduced in this post. The process of setting up Ubuntu 10.10 DomU is the same as Setting Up ... read more »
[May 6, 2011 | Views: 2,629]
Please refer to Xen solution for the more latest stable Xen Dom0 solution. How to set up Xen Dom0 with Xenified Linux kernel in Fedora 12 will be introduced in this post. We ... read more »
[Aug 11, 2011 | Views: 2,367]
The Xen solutions including installing and configuring Dom0 and DomU are summarized here. This post will be updated when our solution changes. Only the latest tested stable solutions are listed ... read more »
[Oct 10, 2010 | Views: 2,313]
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 »
[Jan 13, 2010 | Views: 2,252]
Assumption: There are VBD based Xen DomU virtual machines stored under /lhome/xen/vm-f11-sample/. There are two files under vm-f11-sample: vm0-f11.run (The configuration file) and vmdisk0 (The virtual disk). Now we want to duplicate ... read more »
[Oct 30, 2011 | Views: 2,175]
We make mistakes when developing before or after committing in git. We may revert changes and fix our mistake by using git. Revert entire working tree before committing We can return the ... read more »
[Jan 14, 2010 | Views: 2,134]
Please refer to here for the platform of this test. I have done some simple performance test on DomU and Dom0 and compare with the performance on physical machines. These test ... read more »
[Mar 10, 2009 | Views: 2,085]
read more »
[Jun 23, 2011 | Views: 1,979]
Sharing the networking is important. Setting up a gateway is a good solution to it. Building up the gateway on a Linux box is easy and cost efficient, but reliable. ... read more »
[Sep 13, 2010 | Views: 1,972]
The firmware version can be easily checked out in Linux by dmidecode, a tool to locate the computer’s Desktop Management Interface (DMI) table and dump the content to human-readable content. ... read more »
[Jun 22, 2010 | Views: 1,941]
How to set date, time and timezone on Linux/Unix box will be introduced in this post. Unix time, or POSIX time which is a system for describing points in time is ... read more »
[Aug 12, 2011 | Views: 1,867]
This is the latest stable and recommended stable Xen Dom0 solution on Fedora 12. No serious bug found till now and we will fix the bugs by ourselves if some ... read more »
[Dec 4, 2011 | Views: 1,752]
We can set up a socks proxy on top of a SSH tunnel. Besides the common proxy functions, such as web browsing, the proxy on top of SSH tunnel also ... read more »
[Mar 17, 2011 | Views: 1,711]
Here is a list of problem that may occur during installing and configuring Xen Dom0 in Fedora. It is found originally in Fedora systems, but the tips in this post ... read more »
[May 11, 2010 | Views: 1,619]
tmpfs has blazing speed. Why not set up a high speed NFS server on top of tmpfs? A little trick is required for setting NFS server on top of /dev/shm. If ... read more »
[Sep 14, 2010 | Views: 1,550]
If /etc/fstab file is created with errors or the hardware configuration changes such as adding hard disks, Linux will boot into failure state. We can bypass the fstab failure by ... read more »
[Jan 20, 2011 | Views: 1,374]
Taking screenshots in mplayer is simple. mplayer can also take continuous snapshots. Enable screenshot filter When we want to take screenshots when playing video, first we need to set the “-vf screenshot” ... read more »
[Jul 16, 2011 | Views: 1,329]
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 »
[Aug 11, 2010 | Views: 1,315]
We may need to install some old packages such as the kernel in our Linux box. Let’s use installing a older version of Linux kernel in Fedora as the example ... read more »
[Sep 17, 2010 | Views: 1,277]
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 »
[Nov 21, 2011 | Views: 1,263]
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 »
[May 23, 2010 | Views: 1,261]
mplayer/mencoder are powerful tools. This is a list of useful mplayer/mencoder commands. Extract the audio, convert it to PCM and write the resulting wave file to audio.wav: mplayer -vo null -hardframedrop -ao ... read more »
[Jan 14, 2012 | Views: 1,242]
ssh, scp, sftp and vnc are frequently used tools (both servers and clients) on Linux. We may want to remote control a Linux box from Windows such as when we make ... read more »
[Sep 23, 2009 | Views: 1,228]
Please refer to Xen solution for the latest stable Xen Dom0 solution. In this post, the detailed tutorial of seting up Xen 3.4.1 dom0 on top of Fedora 11 with kernel 2.6.29 will ... read more »
[Jul 10, 2010 | Views: 1,185]
I don’t use xdm, gdm or kdm… I prefer my Linux booting to init 3. I like logging in to the command-prompt and starting X manually with startx. In my ... read more »
[Sep 29, 2010 | Views: 1,170]
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 »
[Jan 14, 2010 | Views: 1,098]
Sometimes we need to have the GUI of some application on the remote server. ssh’s X11 forwarding with “-X” parameter is a good and fast method. But if we want ... read more »
[Nov 18, 2011 | Views: 1,085]
Fedora’s font rendering isn’t very nice. At least on my laptop with Fedora 12. Bytecode Interpreter (BCI for shot) is disabled by default because of patent issues. As the TrueType ... read more »
[Jan 7, 2012 | Views: 1,068]
Update on Jan. 7, 2012: The package for the gtk application style setting on KDE 4.7 is kcm-gtk. The command to install this package is: “# yum install kcm-gtk”. One annoying ... read more »
Author: Zhiqiang Ma Last updated on: Jan 7, 2012 Posted on: Jul 13, 2010 Views: 1,068
Tags: , , , , , , , ,

Update history: Jan. 7, 2012. Update the package name to kcm-gtk.