System Admin Frequently Used Commands

I usually use these commands and cant remember so I search on google every time I need it so I decided to put these commands on my blog so I can find easily and if needed by someone else could take advantage of it. I ill make this list longer when I find more commands in my daily work. Read more »

Linux kernel 3.2 Compilation Steps and Grub Changes to Load New Kernel

Kernel compilation was required after patching the kernel. After installation of the new kernel ubuntu grub does not show the menu to load the new kernel so I have steped out that as well how to show the menu to select kernel. Read more »

How to Enable TPM in Linux and check PCR values

I am having lenovo x200 thinkpad with iTPM enabled so I wanted to check whether TPM is working with ubuntu 12.04 or not.

First of all I went to BIOS and enable the TPM from the security section. Then checked linux kernel has support for the TPM by the following command. Read more »

Nagios Installation On Amazon EC2 CentOS Instance

In this post I am installing Nagios server and NRPE plugin to monitor the whole infrastructure from one system. Here I have created an Amazon Centos Fresh instance Installing the packages required by Nagios.
Read more »

Bash Script to copy code from Dev to Test

I have an assigned task to move code from one server to the other, that is what we called promotion from Dev environment to Test environment. The process is like developers send me the relative paths of the files to move from dev to test via email so that is difficult for me to add prefix with each line manually and copy to the specific location and combine and send them to test.
Read more »

Trustwave ssl certificate for zimbra server.

We got a wildcard certificate from trustwave *.test.com domain. Trust wave provided the documentation for the httpd installation of the certificate and csr generation step-by-step but did not provided for the zimbra server so this document provide the steps for zimbra. Read more »

Securing Asterisk (All in One)

I was wondering to secure my Asterisk system so I found many tutorials on the net but all have covered some of the aspects. I tried to combine all the suggestions and tools in one tutorial for a reader who is looking to secure there systems from unauthorized access. Read more »

Amazon EC2 Volume’s Snapshots and Remove 7 Days Old Script

This tutorial will help write a bash script which takes daily snapshots of the Amazon AMI volumes and delete 7 days old. I started Tutorial from scratch
how to setup the AMI tools and amazon certificates and keys.

Firstly I downloaded JRE on the linux centos distribution with the following commands, I downloaded bin package from the oracle java website Read more »

Remote Attestation on Program Execution

Regarding paper Title “Remote attestation on Program execution” by Liang Gu et al.

They presented that to measure the program and its dependent objects and verify the correctness of the program output after its execution at the remote end. They consider program as deterministic Turing machine, as its output can be produced by the input and its binary code. They also verify the program dependency. So they measure program code Read more »

A2billing installation and configuration

After my previous article on Asterisk and FreePBX installation on cloud, now i am writing article on a2billing. I installed and configure a2billing many times but every time i got different errors during installation, i will try to mention all the possible errors during installation.

In this installation i assume you already installed Asterisk and FreePBX Read more »