Short tutorial showing how to disable Transparent Huge Pages (THP) on CentOS 7. Manual and automatic method included.
Short tutorial about installing latest version of GIT on CentOS. How to compile software from soft + advantages and disadvantages of such approach.
This will be pretty short tutorial about NTP. I will show you how to install and configure NTP on your server. What is NTP? NTP stands for Network Time Protocol and it keeps the server synchronised with correct time. Moreover you can synchronise all servers to one of your server to make sure that all […]
Yum is a package manager on CentOS. You will probably use it pretty often to install some software. In this article I will show you how to configure it, how to speed up packages installation and how to use something more than just yum install package-name. Create list of installed packages One of the first […]
In this part we will focus on Ansible variables. How to use them in playbooks, tasks and templates. What is the purpose of variables in Ansible? Imagine the situation where you have two servers. On each of them you need to install nginx. But each server requires a bit different configuration. Let’s take simplest case – […]
In this part we will use templates and handlers in Ansible. Ansible templates Templates are simple text files that we can use in Ansible. Most of the time you will use them to replace configuration files or place some documents on the server. Start from creating new directory inside our nginx role and name it […]
This is part 2 of Ansible tutorial. In this part you will learn how to create playbooks, what are roles and tasks and how to use privileges escalation in Ansible. Playbooks Playbooks are essential feature of Ansible. In Playbooks we specify what and how our server will be configured and provisioned. Go to our directory that […]
What you will learn in part 1 of this tutorial? What is Ansible? How to install Ansible on Windows/Linux/MacOS? How to prepare test environment for Ansible? Intro to Inventory files. First connection to the server. First thing first – what is Ansible? Ansible is a simple yet powerful tool for configuration management and orchestration of your […]
In this episode we will make our websites fly with Varnish on CentOS. What exactly is Varnish? Varnish is an HTTP accelerator designed for websites with high traffic. It can speed up you website significantly, especially when you have more reads than writes. It’s designed to handle heavily loaded websites as well as APIs. It’s […]
Hello everyone! In this tutorial I will show you how to increase server security by tuning up configuration of SSH. Before you begin There are basically two requirements for this tutorial: You need to have working SSH keys. You need to be able to login to your server by using them. After completing this tutorial, SSH […]