We will look at some Linux commands which will help us monitor system performance, gather statistics and view historical resource usage. Monitoring connections with ss command ss should be preinstalled for most modern Linux distributions Show established TCP connection ss -t Show established UDP connections ss -u Show ports listening for TCP connections ss -ltn
We are setting up replication of snapshots for backup purposes on FreeNAS. We setup Ubuntu server and install ZFS on it. We will use this system to receive snapshot for backup purposes. We manually generated ssh key on FreeNAS. This was done by connecting to CLI and running commands below. ssh-keygen -q -t rsa scp
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
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.
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.
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
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.
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.
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.