In one of the previous articles, I have explained how to harden SSL configuration in Apache and how to add Let’s Encrypt Everything SSL certificate to Kerio Mail server. Now I will explain how to install a client that will help you to automatically renew your SSL certificate(s). Continue reading “How to install Let’s Encrypt with Apache on Ubuntu”
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”
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”
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”
Per default, cron logging in Ubuntu 14.04 LTS is rather limited. Standard logging in syslog does not offer any details if root owned cron jobs are actually running and if not, why. Here you will see how to enable cron logging which will help you in further troubleshooting. Continue reading “How to enable cron loggin in Ubuntu 14.04 LTS”
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”
Regardless of user access, many times you have probably wanted to know when someone logs-in into your server. And it is pretty easy to setup your Linux server to send mail notification on user login event. Note that, if you have a system with many users who login few times a day, then you should expect a lot of mail traffic. To configure your Linux server to send mail on user logon event open your /root/.bashrc file and add the following line: Continue reading “How to send mail notification on user logn event”
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.
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.
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”
In order to add Google Drive (grive) to your linux server, firstly you should install “add-apt-repository” command using the following command:
apt-get install python-software-properties apt-get install software-properties-common
Once installed, run the following commands:
Continue reading “How to add Google Drive to Ubuntu server 12.04”