Wednesday, June 10, 2009

Purpose of Libraries in Linux

/bin
Binaries or executable files which are common Linux user commands.

/boot
Here you find potable files, boot loader and a compressed copy of the Linux Kernel.

/dev
This contains device drivers.

/etc
This contains administrative and system configuration files.

/home
This contains the home folder of normal Linux Users.

/initrd
The initial RPM drive location. Do not any data or delete this.

/lib
This contains all libraries, applications, extensions needed to run Linux executable.

/media
This contains mount points to access removable storage devices.

/opt
This contains optional S/W s. The location to install platform independent S/W s.

/proc

Running Linux Processors and current system information. When the system is shut down it automatically gets erased.

/root
The Privileged user's home folder
  • root - Super User
  • / - Top of the File System
  • /root - Super Users Home Folder
/sbin
This contains administrative commands and files related to services.

/usr
This contains platform dependent applications

/var
This contains dynamic data related to Linux applications. Automatic updates, without the knowledge of the user.

Set up RedHat Version 4 From Scratch


Partitioning The Hard Drive

To install Linux you should have a minimum of 2 partitions. But as an optional you could also have 3 or more partitions.
  • swap - Essential Partition This is like the Virtual Memory on Windows.
  • root ('/') - Essential Partition This is where all the other partitions will list. This the most top of the USER file system(Linux has an Universal File System, not like Windows).
  • boot ('/boot') - Optional Partition This will store the files which are needed for the OS to boot up in a separate partition.
Linux has an Universal Directory hierarchy and Windows has a Tree Directory hierarchy.