Linux Init and System Initialization

Init and Runlevels The init process reads the file "/etc/inittab" and uses this file to determine how to create processes. Read the init man page for more information. Also note that init is always running and can dynamically do things and run processes based upon various signals. The administrator can also cause it to dynamically change system processes and runlevels by using...
Continue reading Linux Init and System Initialization

Linux Boot Sequence

1) BIOS 2) Master Boot Record (MBR) 3) LILO or GRUB 4) Kernel 5) init 6) Run Levels 1) BIOS Load boot sector from one of: Floppy CDROM Hard drive The boot order can be changed from within the BIOS. BIOS setup can be entered by pressing a key during boot up. The exact key depends varies, but ...
Continue reading Linux Boot Sequence

Linux: Monitor hard disks temperature with hddtemp

There is a nice utility to monitor hard drive temperature. Most modern x86 computer hard disk comes with S.M.A.R.T (Self-Monitoring, Analysis, and Reporting Technology). It is a monitoring system for computer hard disks to detect and report on various indicators of reliability, in the hope of anticipating failures. hddtemp utility will give you the temperature of your hard drive by reading data...
Continue reading Linux: Monitor hard disks temperature with hddtemp

Howto: Squid proxy authentication

For fine control you may need to use Squid proxy server authentication. This will only allow authorized users to use proxy server. You need to use proxy_auth ACLs to configure ncsa_auth module. Browsers send the user's authentication in the Authorization request header. If Squid gets a request and the http_access rule list gets to a proxy_auth ACL, Squid looks...
Continue reading Howto: Squid proxy authentication

Linux MRTG Configuration with SNMP

Step:1 To check snmp rpm package is installed or not which is required to MRTG. # rpm –qa | grep snmp Step:2 If not installed please install it by using rpm package or by yum # yum install net-snmp-utils net-snmp Step:3 Run snmpwalk utility to request for tree of information about network entity. In simple words query snmp server for your IP address # snmpwalk -v 1 -c public...
Continue reading Linux MRTG Configuration with SNMP