Home » Server Managment

Server Managment

Display Hard Disk Specs and Details on Linux

Linux comes with various commands to find out information about your hard drive. I recommend hdparm command which provides a command line interface to various hard disk ioctls supported by the stock Linux ATA/IDE device driver subsystem. This command read / request identification information such as disk size, description and much more directly from the drive, which is displayed in …

Read More »

11 useful commands for Linux/Unix administrators

Command line is more powerful because you can do  lot with them,  you can tell your computer exactly what you want and get the appropriate answer, while GUI application can only tell your computer what the GUI programmer has defined.  Recently, CLI is mostly used by Linux/Unix administrators since most popular linux distros come with a complete set of GUI applications that …

Read More »

How to install cron (crond, crontab) in CentOS

Cron is a daemon that can be used to schedule the execution of recurring tasks according to a combination of the time, day of the month, month, day of the week, and week. This is how I install crond onto my CentOS server edition as it doesn’t seem to come preinstalled, this might not be true for other distributions and …

Read More »

How to install Nagios on CentOS 5 or 6

Introduction This guide is intended to provide you with simple instructions on how to install Nagios from source (code) on CentOS and have it monitoring your local machine inside of 20 minutes. No advanced installation options are discussed here – just the basics that will work for 95% of users who want to get started. These instructions were written based …

Read More »

Enabling SNMP On CentOS / RHEL

Setting up SNMP (Simple Network Management Protocol) on a CentOS machine is a very quick and easy process. First we will install SNMP itself by running the following command: yum install net-snmp Once you have SNMP installed we will want to install the configuration utility for SNMP. The configuration utility allows you to easily configure SNMP for both the community …

Read More »

How To: Add swap to a KVM VPS or Dedicated Server CentOS 6

Swap is beneficial, because it allows inactive memory blocks to be written to disk, freeing up real memory for stuff like file system caching. Swap also (to some extent) protects you against short bursts of memory demand. Linux (by default) over commits real memory, relying on the fact that most applications ask for more than they need, but if they …

Read More »

HowTo: Linux List Disk Partitions Command

How do I list all hard disk partitions under Linux operating systems? Usually, your hard disk drive divided into one or more logical disks called partitions. This division is described in the partition table found in sector 0 of the hard disk. The device is usually /dev/sda, /dev/sdb or so. A device name refers to the entire disk and the …

Read More »