Pick a Free OS

Articles - Howtos

Quaking on Linux

We’ll start off with Quake 1. One prerequisite to getting Quake 1 (and Quake 2) running on your system is `svgalib’. Svgalib is a general graphics library used by non-X applications. It’s also used to process the mouse and keyboard input.

Fdisk for partitioning

As you, by now, have realized that partitioning the hard drive is essential part of Linux usage. Partitioning data provides us with logical blocks for effective separation of data. Also, it's quite common to see multi-os machines these days, which require you to partition your hard drive. Fdisk is the tool you use for this purpose. Here we bring you a howto on fdisk for Linux, which mind you, is separate from the fdisk for Windows that most of us are familiar with. This is a matter of confusion for most rookies. For apart from sharing a name, there’s a world of difference between the two.

Racing to ReiserFS on Red Hat

Of all the journal filesystems available today, ReiserFS, is the most developed under Linux. While IBM's JFS and SGI's XFS have been around a lot longer, they are still in an prenatal stage as far as the Linux OS is concerned. Ext3 has also quite a way to go. So, for now, our choice of a journal filesystem is ReiserFS. Of course, this isn't to say that we're settling for ReiserFS for lack of a better option. ReiserFS is a good choice regardless of the number of options in the market or the quality of those options.

Why Journaling?

LVM: The logical way to manage space

There are tools available that can resize your partition, but what do you do if there is no free space left on your hard drive? One option is that you delete and re-create your partitions. Add another hard drive, create a bigger partition there and move our data there. Although possible, such methods are temporary and in all probability, you will run out of space again. The need of the hour therefore, is not a static and temporary solution, but a more dynamic one that’s also easy to administer and maintain. And LVM fulfills that need.

Linux demystified

But Linux is not all cakewalk. Watch your step, for it is no merry stroll we take. It is more of journey, which will lead you right into the innards of your O/S. So lets start at the beginning--the history of Linux.

History

MP3 streaming server

Icecast has a much better administration, both through telnet as well as a Web interface and is known to be less of a drain on server resources. In addition to this, it has an excellent support for directory servers. The latest version is 1.3.10 (you can get the source as well as binary RPMs from http://www.icecast.org/download.html).

Installation

Installation from source is a simple three-step process

./configure

make

make install

Copy the default configuration file to the conf directory under the base icecast directory.

Emacs: The programmer's editor

Emacs is one of the most preferred editors under Linux. This full-featured screen-based editor has gained enormous popularity due to its ease of use and extensibility. One can be sure that while using emacs, one won't end up in a nightmare situation, as is usually the case with an editor like 'vi'. Although used more often on a Unix-based system, emacs has been ported on a wide variety of Unices as well as DOS and Windows. On the GNU-Linux-based system, it is available in text mode and as an X application.

You can invoke emacs from the command prompt by the following command:

Virtual File System - Part 2

The Inode

An inode contains the management information for a particular file. The information contained includes owner id, size of file, access time, access rights, and the allocation of data to blocks on the physical media. The inode already contains a few block numbers to ensure efficient access to small files. Access to larger files is provided via indirect blocks that contain block numbers. The indirect blocks come in three flavors:

*Indirect reference

*Double indirect reference

*Triple indirect reference

The definition of the inode structure is as follows:

Samba NT Domain Controller

The domain concept is much better than the traditional workgroup concept. One of the primary benefits is having a centralized password database on the Primary Domain Controller. Once authenticated, you can access any of the shares in the domain, without having to re-authenticate yourself.

If you're unfamiliar with Samba, then we've got a couple of good howto's that you can refer to. Look for links to them at the bottom of the article.

Samba as a NT Domain Member

Virtual file system Part 1

Virtual File System is an interface providing a clearly defined link between the operating system kernel and the different File Systems. The VFS supplies the applications with the system calls for file management (like “open”, “read”, “write” etc.), maintains internal data structures (the administrative data for maintaining the integrity of the File System), and passes tasks onto the appropriate actual File System. Another important job of the VFS is, performing standard actions.