Skip to main content

Posts

Showing posts from May 30, 2021

Do You Know How to Install Ansible on 64-bit Ubuntu 14.04 server

You just need to follow below steps: Step 1: Install the software-properties-common package $ sudo apt-get update && sudo apt-get install software-properties-common   Step 2: Add the Ansible repository to your system $ sudo apt-add-repository ppa:ansible/ansible Step 3: Install Ansible $ sudo apt-get update && sudo apt-get install ansible Configuring Ansible Hosts Ansible keeps track of all of the servers that it knows about through a “hosts” file. We need to set up this file first before we can begin to communicate with our other computers. Open the file with root privileges like this: sudo nano /etc/ansible/hosts   Copy You will see a file that has a lot of example configurations, none of which will actually work for us since these hosts are made up. So to start, let’s comment out all of the lines in this file by adding a “#” before each line. We will keep these examples in the file to help us with configuration if we want to implement more complex scenario...

What is Load average? and what's good load average for Linux servers?

If you're employing a Linux server, you're probably at home with the term load average/system load. By time to time measuring of the load average is helpful to understanding how your servers are performing; if overloaded, Whenever you would like to kill or optimize the processes which consumes higher amount of resource, or provide more and more resources to balance the workload. But how does one determine if your server has sufficient load capacity, and when do you have to be worried? Let's dive in and see. What is a load average? The load average is that the average system load on a Linux server for an outlined period of your time. In other words, it's the CPU demand of a server that features sum of the running and therefore the waiting threads. Typically, the highest or the uptime command will provide the load average of your server with output that appears like: These numbers are the averages of the system load over a period of 1, five, and quarter-hour. Before step...