This post compiles a list of tutorials on the Internet for Linux beginners. Linux beginners usually get headache from the “seemed” complexity of the Linux operation system. But once they get into the gate and get familiar with Linux, they will love it. UNIX Tutorial for Beginners “A beginners guide to the Unix and Linux
Read more
Tag: Tutorial
How to Change Hostname of Fedora Linux
Posted onDifferent Linux distros have different method to set the hostname. On Fedora Linux, it is quite simple. On newer Fedora releases At least from Fedora 19 (sorry, no sure the exact earliest version): You need to edit the file /etc/hostname which just contains the hostname. On older Fedora releases Sorry, I do not know the
Read more
How to Convert JPG Images to EPS
Posted onI write a lot latex documents and most of the documents have images in it. Latex deals EPS very well, while sometimes we need to add JPG / PNG images to it. I find converting the JPG images to EPS ones is the most convenient way to embed JPG images to latex documents. On Linux,
Read more
How to SSH to Linux Hosts for Beginners
Posted onThis is a simple tutorial for beginners to SSH to a Linux host. This is quite easy with the easy-to-use software freely available but the beginners need a tutorials to start with. Hence, I write this tutorial about how to ssh to a Linux host. This tutorial is for users on Windows. 1. Download a
Read more
Extending a LVM Volume Group
Posted onWe introduced how to create a LVM group with two hard disk partitions, which the LVM group can be used for [[setting-up-lvm-backed-xen-domu|installing LVM backed Xen DomUs]]. The LVM volume can have large capacity from several hard disks. However, we may use all the disk space after some time and we may need to extend the
Read more
Additional Repositories for Fedora Linux
Posted onFedora’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 repository provides these software. And they may also package propriety software, such as ATI fglrx dive, NVIDIA driver, into rpm packages. In this post, we
Read more
How to Set Up and Configure NFS Server and Clients
Posted onNFS is widely deployed and used even after more than twenty year. NFS is easy to set up and easy to use. This introduces how to set up the NFS server and clients. We use the Fedora system as the example. The tutorial here is for RHEL/CentOS/Fedora and derived Linux OSes. Set up an NFS
Read more
How to Upgrade Fedora to Newer Version with Yum
Posted onThe latest tools for upgrading Fedora is FedUp, please check How to upgrade Fedora 19 to Fedora 20 through the network. Please consider PreUpgrade for upgrading Fedora. This is the recommended method. This post makes a list of actions should be done to upgrade Fedora using yum. Please note that this is for experienced users
Read more
A Tutorial on Ns-2
Posted onThis is a tutorial on ns-2 which gives a overview of ns-2 and introduces how to define a simple topology and the network flow. This tutorial is based on the slides for Lab session of COMP 4622 at HKUST in the fall semester of 2011. The slides of tutorial on ns-2 can be download from
Read more
Git 101 for New Git Users
Posted onThis post is a tutorial for new users to set up git and clone and use the first repository. This post introduces how to start using git for new users. This post does not introduce details of how to use git commands. Please refer to the git manual or other tutorials for how to commit,
Read more
Vim as Thunderbird’s External Editor in Linux
Posted onVim is an excellent editor which I use every day. Thunderbird is a nice email application. However, Thunderbird’s integrated editor is not efficient enough to a Vim user. Why not use Vim as Thunderbird’s editor? In this tutorial, we will introduce how to integrate Vim with Thunderbird together in Linux. Install the “External Editor” Thunderbird
Read more
How to disable IPv6 on Linux (Old Version Kernels)
Posted onUpdate: this only works on older Linux kernels (e.g. Fedora 12). For newer kernels, please see How to disabling IPv6 on Linux IPv6 is enabled by default on most Linux distros. However, IPv4 is still the mostly used network and IPv6 is not used in many environment. This post introduces how to disable IPv6 support on
Read more
Installing the Flash Plugin for 64-bit Firefox in Linux x86-64
Posted onThis 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 on Linux First, download Flash Player Release for 64-bit Linux from Adobe Labs. Then, unpack the package: $ tar xf flashplayer.tar.gz Check whether all
Read more
Installing and Configuring 32-bit Firefox on 64-bit Linux (Fedora)
Posted onOn 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 needed ones, this post introduces how to install 32 bit Firefox on 64 bit Linux (Fedora as the example). Install 32-bit firefox First, install firfox.i686
Read more
How to Take Screenshots in MPlayer
Posted onTaking 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” option: $ mplayer -vf screenshot video.file If we want to enable the screenshot filter by default, we may put the option by adding
Read more
How to Revert Changes in Git
Posted onWe 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 entire working tree to the last committed state if we mess up the working tree: $ git reset –hard HEAD Revert changes to
Read more
How to Get System Uptime on Linux and Windows OSes
Posted onHow to find out Linux and Windows uptime is introduced in this post. Linux uptime Linux uptime can be easily found out by the uptime command: $ uptime 22:19:29 up 10 days, 22:26, 5 users, load average: 0.00, 0.00, 0.00 The system is up for 10 days, 22 hours and 26 minutes. uptime gives a
Read more
Setting Up VPN-like Network Between Several Clusters Using iptables
Posted onIt is common to connect servers with only internal IPs from several clusters. VPN is a common technique for this. With iptables, we can implement many functions of VPN with possibly higher performance. The slides here give a brief introduction to how to set up a VPN-like network between 2 clusters which connect to each
Read more
Improving Font Rendering for Fedora Using Bytecode Interpreter
Posted onFedora’s font rendering isn’t very nice. At least on my laptop with Fedora 12. Bytecode Interpreter (BCI for short) is disabled by default because of patent issues. As the TrueType bytecode patents have expired. We may enable BCI in Fedora now. TrueType announced that BCI is enabled by default from 2.4. Fedora 12’s TrueType version
Read more
Creating LVM Volume Group
Posted onHow 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 now is to create one LVM volume group vg_xen for installing LVM backed Xen DomUs from these two disks. We will do this by
Read more