How to Set Up eCryptFS on Linux – The Manual Way

Posted on

How to set up eCryptFS in Linux will be introduced in this post. We can store encrypted files in one eCryptFS directory, the manual way. The content can be seen only after it is mounted as eCryptFS file system. Otherwise, the users can only see garbled characters in the files. Note that this tutorial will
Read more

Gnome2 Style: Shiki Colors+Gnome Colors

Posted on

The Linux Gnome style that I like is Shiki-color + Gnome colors icon theme. It looks pretty and professional and it is fast. How to install them: Gtk engine: # yum install gtk-murrine-engine Icon theme: # yum install gnome-colors-icon-theme Theme: Dowload from here: http://gnome-look.org/content/show.php/Shiki-Colors?content=86717 Install it by Appearance Preference -> Install. Configuration: Appearance Preference ->
Read more

Setting Up Xen Dom0 on Fedora : Xen 3.4.1 with Linux Kernel 2.6.29 on Fedora 12

Posted on

Please refer to for the latest stable Xen Dom0 solution. In this post, the detailed tutorial for setting up Xen 3.4.1 dom0 on top of Fedora 12 with kernel 2.6.29 will be introduced. Hardware: Dom0 hardware platform: Motherboard: INTEL S5500BC S5500 Quad Core Xeon Server Board CPU: 2 x Intel Quad Core Xeon E5520 2.26G
Read more

How to Backup Linux Home Directories Using rsync

Posted on

I need to backup my Linux home directory to one of my portable hard disk. I tried to use git, but failed since git doesn’t support large file (I failed after many tries, I have file larger than 5G). I find rsync, the fast, versatile, remote (and local) file-copying tool and I am happy with
Read more

Speeding Up Firefox in Linux

Posted on

Firefox can be much faster on Linux! Let’s speed up Firefox on Linux system. Part 1 and 2 only config firefox, so it can also be used on other platform such as Windows. 1. Pipe-lining network connection Most of us use a broad band width network, then why not pip line the connection from Firefox?
Read more

Mounting Remote Folder Through SSH

Posted on

SSH is a very convenient tool on Linux that can be used to [[port-forwarding-using-ssh-tunnel]], [[proxy-using-ssh-tunnel]] and others besides its basic functions (remote shell). We can also use SSH to mount a remote folder to a local directory. We can use `sshfs` to mount remote folder through SSH tunnel securely over network. Install sshfs Install `sshfs`
Read more

How to Capture Desktop Video on Linux using ffmpeg

Posted on

ffmpeg is a powerful tool and it can do the work of capturing Linux desktop video very well. ffmpeg is a very fast video and audio converter that can also grab from a live audio/video source. ffmpeg can grab X11 input and create a video file such as mp4 at specific fps with the specific
Read more

How to Set Up Password-less SSH Login on Linux

Posted on

Automatic passwrod-less ssh login can make our life easier. To enable this, we have 2 options: using key-based authentication by copying our SSH public keys to the remote machines for automatic password-less login or using password-based authentication. I will introduce the 2 options in the post. Before you start, please note that key-based authentication is
Read more

Sending Email Using mailx/s-nail in Linux Through Gmail SMTP

Posted on

The heirloom mailx (or s-nail if you are using Ubuntu 18 or later or similar releases) 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
Read more

Setting Up Linux Network Gateway Using iptables and route

Posted on

Sharing the networking is important and setting up a gateway is a good solution to it. Building up the gateway on a Linux box is easy, cost efficient and reliable. With a Linux box, you can share the internet connection or the only cable connected to the network. The Linux box network configuration The Linux
Read more

How to Control or Disable SELinux in Fedora and CentOS Linux

Posted on

For most of cases, you should not disable SELinux. However, for some users, SELinux may cause problems or is not needed. We may just make it not block operations or totally disable it. Making SELinux log warnings instead of blocking For many cases, people find SELinux blocks operations. For tests or some other situations, you
Read more

How to Set Up Socks Proxy Using SSH Tunnel

Posted on

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 ensures the security between the browser and the proxy server (the SSH server). In this post, we introduce and explain how to set up a
Read more

An I/O Performance Comparison Between loopback Backed and blktap Backed Xen File-backed VBD

Posted on

I have done some I/O performance benchmark test of Xen DomU. For easier management, some of our DomU VMs are using file-backed VBDs. Previously, our VMs are using Loopback-mounted file-backed VBDs. But blktap-based support are recommended by Xen community. Before considering changing from loopback based VBD to blktap based VBD, I have done this performance
Read more

How to Remote Control Linux Server Using VNC through SSH Tunnel

Posted on

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 to have a whole desktop environment, vnc is a good choice. In this post, the method of how to control remote server using vnc through
Read more

How to Flush DNS Cache of Linux and Windows Client

Posted on

We may need to flush DNS cache of our client when the site’s DNS has been changed. Flush DNS cache of Linux with NetworkManager/dnsmasq You may simply restart NetworkManager by sudo systemctl restart NetworkManager Flush DNS Cache on (Old) Linux with nscd 1) Use su – to get root privilege or sudo with the following
Read more

A Simple CPU and Memory Performance Test of Xen Dom0 and DomU

Posted on

Please refer to Setting Up Xen Dom0 on Fedora : Xen 3.4.1 with Linux Kernel 2.6.29 on Fedora 12 for the platform of this test (this test runs on Fedora 11, however). I have done some simple performance test on DomU and Dom0 and compare with the performance on physical machines. These test are simple,
Read more

The WordPress Desktop Client – lekhonee

Posted on

I find a desktop client for publishing to WordPress blogs – lekhonee[1]. I find it interesting and easy to use. This is the first post using it. The interface is simple, but it can provides most of the functions: * Writing post. * Select categories. * Add tags. * Load and Edit the old post.
Read more

Minimizes Thunderbird Windows into the System Tray

Posted on

I usually keep Thunderbird open when my computer is open. But Thunderbird is minimized to the taskbar. It will be more convenient if it is minimized or closed to the system tray as an icon.It will be better if it can display the number of unread messages. Mozilla’s software’s addon system give the method to
Read more

Fedora 中文字体设置

Posted on

Fedora 一直有中文字体难看的问题, 尤其是在英文环境中. 使用本文中的配置方法可以得到令人满意的中文效果. 此方案中使用字体都为开源且在Fedora源中自带. 此方案对 Fedora 9 – 20 有效. 对于后续版本支持我会确认并更新此文章. 此方案对Gnome, KDE都有效. Firefox 中也有中文难看的问题, 后面会提到. 快速配置方法 如果你想马上配置好,请使用如下命令。此方法测试使用效果良好。 # yum install cjkuni-ukai-fonts cjkuni-uming-fonts # wget https://raw.githubusercontent.com/zma/config_files/master/others/local.conf \ -O /etc/fonts/local.conf 相关英文字体配置可以参考:Improving Fedora Font Rendering with Open Software and Fonts Only. Fedora 系统中文字体的配置方案 使用uming和ukai字体,即AR PL UMing CN等. 中文字体和等宽字体效果如图所示(点击看大图, Firefox 中文字体设置在后面会提到). 方法如下: 安装字体 首先安装这两个字体: cjkuni-ukai-fonts cjkuni-uming-fonts (在Fedora
Read more

How to Create ISO Image from DVD Disk on Linux

Posted on

DVD disks are still commonly used in some areas while the disks are not fast and convenient enough for frequent usage. For frequent usage or archiving, an image of the DVD on hard drives will be better. ISO images do not use a particular container format. They are just a sector-by-sector copy of the data
Read more