How to harden your SSL configuration on Apache server

I’ve run into an excellent online tool for testing SSL configuration of a web server, Qualy SSL Labs. To begin with, my overall score was D, which means that web server was either misconfigured or that configuration was weak. Reading about all the things they’ve mentioned on their site, one should think that it is safer to run a web server without an SSL certificate than with one. Continue reading “How to harden your SSL configuration on Apache server”

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 automate backup of your files to your Google drive from Ubuntu 14.04 LTS

None of the¬†available Google drive clients (CLI) offers automated sync of your files to your Google drive. In our previous article, we have shown you how to install and configure your Google drive client, gdrive. Now we will take you one step further, and show you how to make a simple shell script to sync your files to your Google drive. Continue reading “How to automate backup of your files to your Google drive from Ubuntu 14.04 LTS”

How to install CLI Google Drive client on Ubuntu 14.04

All new GDrive clients require new version of Google programming language (golang) installed on Ubuntu 14.04. I’ve found that version that is available on Ubuntu repository (1.2.1) is simply not high enough, and therefore I recommend installing golang from the source, Google. To install golang, first we need to install some additional software: Continue reading “How to install CLI Google Drive client on Ubuntu 14.04”

Ubuntu Server 12.04 LTS – The perfect server setup

In this how-to I will show you how to install and configure Ubuntu Server 12.04 LTS, Apache web server, PHP and MySQL database server and backup to Google Drive (grive). Ubuntu is one of the most common version of the linux server OS on the web today, with almost 35% market share. It is light and easy to manage, even for the novice. After all, you need to know about 10-15 commands to get you started with Linux OS. The rest of the knowledge will be picked up on the way. The best way of learning is learning by doing.

Continue reading “Ubuntu Server 12.04 LTS – The perfect server setup”

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”