Home » Linux Tutorials » Popular Posts

Popular Posts

[Feb 14, 2013 | Views: 98,335]
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 »
[Feb 6, 2013 | Views: 52,571]
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 »
[Feb 8, 2013 | Views: 36,586]
The 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 ... read more »
[Dec 25, 2012 | Views: 22,297]
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 »
[Feb 28, 2013 | Views: 19,663]
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 »
[Feb 14, 2013 | Views: 18,537]
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 »
[Feb 6, 2013 | Views: 17,860]
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 »
[Feb 26, 2013 | Views: 16,789]
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 »
[Feb 6, 2013 | Views: 15,135]
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 »
[Nov 28, 2012 | Views: 10,656]
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 »
[Dec 26, 2012 | Views: 8,772]
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. Setting VESA modes for ... read more »
[Mar 25, 2013 | Views: 7,829]
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 »
[Nov 27, 2012 | Views: 7,189]
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 »
[Dec 26, 2012 | Views: 7,064]
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 »
[Nov 27, 2012 | Views: 6,831]
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 »
[Nov 27, 2012 | Views: 6,560]
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 »
[Nov 27, 2012 | Views: 6,035]
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 »
[Nov 27, 2012 | Views: 5,349]
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 »
[Nov 29, 2012 | Views: 5,292]
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 »
[Jan 14, 2013 | Views: 5,163]
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 »
[Nov 27, 2012 | Views: 5,021]
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 »
[Nov 29, 2012 | Views: 5,020]
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 16, 2013 | Views: 4,906]
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 »
[Dec 12, 2012 | Views: 4,710]
As a Linux user, I must keep a copy of Windows. One reason is that I should edit MS Office files, such as .doc, .ppt, .xls and .xml (office 2003 ... read more »
[Nov 27, 2012 | Views: 4,649]
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 »
[Nov 27, 2012 | Views: 4,545]
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 »
[Nov 27, 2012 | Views: 4,403]
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 »
[Dec 7, 2012 | Views: 4,149]
read more »
[Mar 12, 2013 | Views: 4,131]
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 »
[Nov 27, 2012 | Views: 3,838]
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 »
[Nov 27, 2012 | Views: 3,728]
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 »
[Feb 9, 2013 | Views: 3,594]
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 »
[Nov 27, 2012 | Views: 3,359]
On a x86-64 64 bit Linux system, sometimes we may want to use the 32 bit Firefox, although the support to 64 bit Firefox is getting much better. Just for ... read more »
[Feb 19, 2013 | Views: 3,294]
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 »
[Nov 29, 2012 | Views: 3,275]
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 »
[Apr 19, 2013 | Views: 3,146]
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 ... read more »
[Nov 27, 2012 | Views: 3,118]
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 »
[Nov 27, 2012 | Views: 3,084]
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 »
[Nov 27, 2012 | Views: 2,899]
This post introduces how to install flash plugin to 64-bit firefox on a x86-64 Linux (Fedora as the example). Both 64-bit and 32-bit plugin are available. 64-bit flash plugin for Firefox ... read more »
[Feb 25, 2013 | Views: 2,867]
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 »
[Feb 7, 2013 | Views: 2,855]
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 »
[Nov 27, 2012 | Views: 2,556]
We usually have video files in .wmv .mpg .rmvb or .mkv formats. The iPod, iPhone or iPad only accept a limited number of video file types, such as .mov and ... read more »
[Dec 9, 2012 | Views: 2,517]
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 27, 2012 | Views: 2,508]
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 »
[Mar 22, 2013 | Views: 2,396]
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 »
[Nov 27, 2012 | Views: 2,333]
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 »
[Nov 27, 2012 | Views: 2,305]
ns is a discrete-event network simulator targeted primarily for research and educational use. There are two version of ns, ns-2 and ns-3, which are quite different with each other in ... read more »
[Nov 27, 2012 | Views: 2,230]
Automatic passwrod-less ssh login can make our life easier. To enable this, we need to copy our SSH public keys to the remote machines for automatic password-less login. We introduce ... read more »
[Apr 19, 2013 | Views: 2,130]
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 »
[Mar 12, 2013 | Views: 1,950]
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 »
By: Zhiqiang Ma Last updated: Mar 12, 2013 Views: 1,950