Install SNMP on Centos/RHEL

redhatThe following easy steps will install snmp daemon on your CentOS/RHEL server :

yum install net-snmp net-snmp-utils

Read more

Reviewing boot logs on Debian

Recently, I installed a debian system as a server from the netinst CD. From the debian website:

A network install or netinst CD is a single CD which enables you to install the entire operating system. This single CD contains just the minimal amount of software to start the installation and fetch the remaining packages over the Internet.

The install was straight forward and i only opted to install standard utilities and nothing else. Everything installed successfully and the system booted without a single problem.
Read more

How I backup my server configs with lsyncd

In the event that something happens to my server, or one of the services running on my machine, I like to have a backup of my config for that particular service. Ain’t nothing worse than taking hours or even days to properly configure a service to have a hard drive crash, operating system got corrupted, an update replaced your config file with the default or maybe you accidentally deleted the config or made some mistakes modifying it. This post shows how i use lsyncd and logrotate to automatically sync my /etc directory on my server with a remote machine and use logrotate to create and rotate 2 backup copies of the /etc directory.

The machines involved are main_server and backup_server. Read more

Using EncFS for safefly storing data

Just wanted to share what i think is a nice solution to encrypting your data. If you have confidential data that you would like to store securely, then have a look at EncFS. According to the man page, EncFS creates a virtual file system which stores encrypted data in one directory (they call this directory the rootdir) and makes it available unencrypted in another directory (mountPoint). The user must supply a password that would be used to encrypt the user’s files and file names. EncFs relies on the underlying file system. Therefore if there are any limitations on the underlying file system, they will be inherited by EncFS.

One of the blogs that i follow ( a nice write-up on using EncFS that I encourage you to check out. Below, I will provide a summary of the key commands that you will need to get up and running. Read more

Installing Kernel-based Virtual Machine (KVM) on Debian 7

debianBefore you even install KVM on your freshly installed Debian machine, you need to make sure that your machine can even run the KVM virtualization. Most computers will have to enable virtualization through the BIOS as it is mostly disabled by default.
And you will get an error when you try and install KVM. There are even some computers that can not run it all together.

The most common way to enable virtualization is by pressing either F8 or F12 as your machine starts up, to enter the BIOS. Look for System Configuration and Enable Virtualization Software.
Keep in mind that this is different from machine to machine and could be something entirely different, and the steps might be a bit more convoluted, so you might have to do a little search on the internet to work out how to do exactly it on your computer.

When that is done save and reboot the pc, and let it load up your Debian. Go to the top left corner click on Applications -> Accessories -> Root Terminal and type the password for the Root user.
Read more

1 2 3