Setup and configure dnsmasq ubuntu as dns server

Setup apt-get install dnsmasq -y Configure dnsmasq

Configure zone

address=/test1.com/test2.com/127.0.0.1

Profit!!! […]

Читать далее…

GIT — FAQ

Git: Delete a branch (local or remote) To delete a local branch

To remove a remote branch (if you know what you are doing!)

Sync

The git manual says -p, —prune After fetching, remove any remote-tracking branches which no longer exist on the remote. Git merge branch to master Unsafe way

[…]

Читать далее…

Setup soft raid 0 on live ubuntu 16.0.4/ debian -8/9 system without downtime

This guide explains how to set up software RAID1 on an already running debina9 system. The GRUB2 bootloader will be configured in such a way that the system will still be able to boot if one of the hard drives fails (no matter which one). Preliminary Note In this tutorial I am using an debian […]

Читать далее…

Ansible — FAQ

Ansible — FAQ Запуск playbook с хостом как аргументом Play Book файл

inventory.hosts файл

Запуск playbook

[…]

Читать далее…