If you are the root user and some file (files or directories) cannot be deleted, removed, renamed or changed you probably deal with the immutable…
Linux
Linux rules the world, right?
emerge – cannot sync with gpg: keyserver refresh failed: General error because of wrong date
Trying to sync one of our virtual servers we got a sync error not able to refresh the OpenPGP keys. The virtual server was just…
openntpd – immediately sync the clock on startup
Here is our simple tip for your healthy server’s date and time: Immediately synchronize the clock of your computer when using the openntpd (a lightweight…
Install Nginx virtual host traffic status module – traffic information in nginx and more per server block and upstreams
This article is going to show how to compile and install the Nginx module – ngx_http_vhost_traffic_status. The module gathers traffic information per the server blocks…
grep – find files, which have no match in their entire content
Here is a quick tip for a very useful option, which is not widely known! If you want to search for a matching string in…
List Openstack container’s options with the swift command-line client – capabilities command
First, you need to install swift command-line utility and second, install the command-line tool to manage your account: Install OpenStack swift client only With the…
ansible – using ansible vault with copy module to decrypt on-the-fly files
Here is an interesting tip for all who what to protect the sensitive information with ansible. Our example is simple enough – we want to…
ansible – restart a (nginx) service only if it is running and the configuration is ok
Another ansible quick tip showing how to restart a program properly. We want to restart the program or the service only if it is running…
ansible – insert after only if the pattern exists and the new insert is not there
Here is a quick ansible tip for system administrators for the ansible lineinfile. Imagine you want to insert a line after a word (or a…
First ansible use – install and execute a single command or multiple tasks in a playbook
This article is to show you how easy is to use automation tools for managing your servers. If you are new to ansible this article…