[Feb 14, 2013 | Views: 98,814]
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 easy and fast to set up, although every user will have access to all repositories in the git server over ...
read more »
[May 20, 2013 | Views: 53,201]
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, port forwarding is achieved by packet filter rules in iptables.
Port forwarding
Port forwarding also called “port mapping” commonly refers to the ...
read more »
[Feb 8, 2013 | Views: 36,661]
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 to use gmail’s smtp in mailx/mail? gmail is a little special since gmail’s smtp server requires tls authorization. The good ...
read more »
[Dec 25, 2012 | Views: 22,364]
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 git server, several actions are triggered. These actions are done by hooks. Hooks are scripts placed in the GITDIR/hooks directory. ...
read more »
[Feb 28, 2013 | Views: 19,681]
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 a piece of software witen by Tommi Virtanen for hosting git repositories. It manages multiple repositories under the same user ...
read more »
[Feb 14, 2013 | Views: 18,587]
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: ATI fglrx driver works on Fedora 16 with GNOME 3 Shell with Catalyst driver 11.11 (xorg-x11-drv-catalyst-11.11).
Update on Oct. 9, 2011: ...
read more »
[Feb 6, 2013 | Views: 17,995]
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. The Linux kernel calculates various network related parameters based on the amount of memory at boot time. The kernel also ...
read more »
[Feb 26, 2013 | Views: 16,822]
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 line. The problem is to change the password. In Linux, we use passwd to change password, but passwd requires input ...
read more »
[Feb 6, 2013 | Views: 15,169]
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, run, and uninstall VMware Player and VirtualBox on Fedora Linux.
VMware Player
Install VMware Player
Download the installation bundle from VMware’s website. For ...
read more »
[Nov 28, 2012 | Views: 10,695]
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 using these tools. We use best compressing rate with all these tools and mark the options for “best rate” in ...
read more »
[May 21, 2013 | Views: 0]
How to install Scala on Fedora Linux
How to install Scala on Fedora Linux
:
This tutorial introduces how to install Scala 2.9.2 on 64-bit Fedora Linux 17. There are some changes needed ...
read more »
[May 21, 2013 | Views: 0]
How to exclude certain repositories in yum?
:
This tutorial introduces how to exclude certain repositories in yum. Excluding certain repositories is needed usually. One example may be when you have several ...
read more »
[May 20, 2013 | Views: 53,201]
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 »
[May 20, 2013 | Views: 4,692]
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 »
[Apr 23, 2013 | Views: 204]
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 »
[Apr 23, 2013 | Views: 346]
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 »
[Apr 19, 2013 | Views: 2,136]
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 »
[Apr 19, 2013 | Views: 3,147]
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 »
[Apr 19, 2013 | Views: 982]
Previously, we create a configuration file for each DomU virtual machines in our cluster. Most of the content in these configuration files is the same. The differences are only the ...
read more »
[Mar 30, 2013 | Views: 241]
With Emacs, I feel happy. I love the rich functions of Emacs, such as compiling, quickly jumping to the lines with compilation error and debugging with gdb, and more. I ...
read more »
[Mar 25, 2013 | Views: 7,865]
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 »
[Mar 22, 2013 | Views: 2,406]
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 »
[Mar 12, 2013 | Views: 4,138]
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 »
[Mar 12, 2013 | Views: 1,400]
A script for backing up file-backed Xen DomU is introduced in this post. This script can be changed to similar platform.
In our cluster, virtual machines are stored under /lhome/xen/. Virtual ...
read more »
[Mar 12, 2013 | Views: 1,956]
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 »
[Mar 11, 2013 | Views: 637]
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 »
[Mar 8, 2013 | Views: 286]
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 »
[Feb 28, 2013 | Views: 19,681]
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 26, 2013 | Views: 16,822]
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 »