How to block ads with local DNS server

Before you proceed with this tutorial, there are few prerequisites you need to fulfil. First, you either local server or server on the Internet that you (can) use as your own DNS server, second, you need skills to install and configure Linux based DNS server – Bind, third, you need a second IP address if you already have web server running on your primary IP address. I will focus on Raspberry Pi running Ubuntu 16.04 LTS (Snappy Ubuntu Core). Continue reading “How to block ads with local DNS server”

How to reset root password on Linux server

First we need to boot into recovery mode. To do so, restart server and hold Shift down to call up the boot menu. Then select (recovery mode) for the image you are using. Once you get Recovery menu, select root and press Enter. You will be redirected to recovery console.

 root@server1:~#

At this point we need to mount file system, since it is in RO (read-only) mode. To do so, type the following:
Continue reading “How to reset root password on Linux server”