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
Category: Linux
Linux is a family of open-source Unix-like operating systems based on the Linux kernel.
The Linux kernel is an operating system kernel first released on September 17, 1991, by Linus Torvalds.
Linux is typically packaged in a Linux distribution. Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Popular Linux distributions include Debian, Fedora, and Ubuntu. Commercial distributions include Red Hat Enterprise Linux and SUSE Linux Enterprise Server. Desktop Linux distributions include a windowing system such as X11 or Wayland, and a desktop environment such as GNOME or KDE Plasma. Distributions intended for servers may omit graphics altogether, or include a solution stack such as LAMP. Because Linux is freely redistributable, anyone may create a distribution for any purpose.
Query Installed Files from Package and Package for Installed File in Fedora
Posted onHow to query installed files from a package and query which package one installed file is in will be introduced. Query installed files from a package $ rpm -ql package_name Query which package a installed file is in $ rpm -qf /full/path/to/installed/file
How to Backup Linux Home Directories Using rsync
Posted onI 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 onFirefox 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
How to Capture Desktop Video on Linux using ffmpeg
Posted onffmpeg 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 onAutomatic 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
Mounting Remote Folder Through SSH
Posted onSSH 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
Installing akmod NVIDIA Driver on Fedora
Posted onInstalling akmod NVIDIA driver from rpmfusion on Fedora 12. First make sure your nvidia card is in “Supported NVIDIA GPU Products List”: Click here for the list 1. Add rpmfusion repository: Enable RPM Fusion repositories 2. Install akmod nvidia driver akmod builds the required kmod on bootup # yum install akmod-nvidia xorg-x11-drv-nvidia-libs.i686 3. Add nouveau
Read more
How to Install MPlayer and MEncoder on Fedora
Posted onFedora does not include MPlayer or MEncoder for some reasons in its official repositories. But RPMfusion does it for us. Let’s install mplayer and mencoder and learn some tricks to play rmvb files. 1. Add RPMfusion repository: Enable RPM Fusion repositories 2. Install MPlayer and MEncoder # dnf install mplayer mencoder 3. Get codecs Most
Read more
Sending Email Using mailx/s-nail in Linux Through Gmail SMTP
Posted onThe 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 onSharing 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 onFor 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
Guake: An Excellent Quake Like Drop-down Terminal for Gnome
Posted onGuake is very fast and stable enough for use. It’s an excellent quqke like drop-down terminal for gnome. I used yakuake on KDE. It’s professional but a bit slow. I used tilda also on gnome. But unfortunately, there are too many bugs. Then after I find Guake, I am happy. Guake is invoked with a
Read more
How to Set Up Socks Proxy Using SSH Tunnel
Posted onWe 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
Start a Job and Return to the Shell : Run a Backgroud Job
Posted onUnder some situation, we want to start some long jobs and then return to the shell to continue our work. We can do this by starting a job in the background. The shell such as bash will keep a list of background jobs and their status. But only one foreground job is allowed. Job control
Read more
MPlayer Startup Volume and Postion
Posted onI like to set the volume of mplayer to 28% of the volume instead of the 100% which is too large for me. And I also want mplayer to put to video window on the left top of the screen. This is the method: Add these lines to the ~/.mplayer/config file: For setting the startup
Read more
lftp Disable SSL
Posted onlftp some times stalls with message “Making data connection” when “ls” the directory after logged in the ftp site. The message may appear like this: < — 227 Entering Passive Mode (xx,xx,xx,xx,xx,xx) —- Connecting data socket to (yy,yy,yy,yy) port zz `ls’ at 0 [Making data connection…] But some client such as filezilla may works on
Read more
How to Remote Control Linux Server Using VNC through SSH Tunnel
Posted onSometimes 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
Mostly Used MPlayer Keyboard Control Shortcuts
Posted onMPlayer has a fully configurable, command-driven control layer which allows you to control MPlayer using keyboard. But which are these shortcuts are not immediately know to users of MPlayer. Below is a list of mostly used MPlayer keyboard control shortcuts. They come from the [[man:1|mplayer|mplayer manual]] where you can find a full list of all
Read more
How to Flush DNS Cache of Linux and Windows Client
Posted onWe 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