Manage Time service on RH and CentOS 7

When Linux system first boots the hardware clock is read first. The time on the hardware clock read from local hardware clock in UTC – Universal Time. Local time is the actual time in the current time zone. System time, unlike Hardware clock maintained by operating system. System clock is completely independent of the hardware…

Expand KVM based image with lvm partition

Lets take a quick look at how to expand kvm raw image with lvm partition running CentOS7 guest. We will need to download gparted for this to re-size image. It cam be downloaded from here. We will be expanding our image by 10G.

Manually migrate LVM based vm from one KVM hosts to another

We have a KVM based VM on LVM volume that we need to migrate to different host. This is not hot-live migration and will be done offline. Lets looks at steps required to get it done. There may be many different ways to do it and this is just one of them.

How to find php script that sends mail from your linux system

We run into a problem where customers Linux vm was sending a lot of unwanted messages. In order to troubleshoot this problem we did 2 things. Instructions below are for CentOS 6 and 7 but will also work on other distributions with minor configuration changes. Option 1

Create and Mount LVM Volume

In this article we will look into creating LVM volume on remaining not partitioned space and formatting logical volume with ext4 file system . We also will look into mounting it via fstab. In our LAB we will use CentOS7 vm to demonstrate our steps.

Deploy https LAMP website with self signed certificate on CentOS 7

In this article we will look into setting up very basic LAMP website. We will setup self signed ssl certificate and configure virtual host to run https. SSL is not bullet proof technology but it helps to make your website more secure by creating encrypted link between browser and web server.

Absolute and Relative Pathnames

Path or location in current directory tree is ether refereed to as Absolute or Relative. Lets take a look at what they are. Absolute Path: Absolute path also known as full or fully qualified path points to a file or directory in relation to / . When we execute pwd command we get absolute path.