There are few necessary steps to take on a new Ubuntu 16.04 server to cover the basics and secure your server. This tutorial will take you through the Ubuntu 16.04 server setup process and will give you a solid start.
Enable Gzip Compression on Nginx Server
Enabling Gzip compression lets your page load faster and saves bandwidth usage. This easy to follow, step-by-step tutorial is show you how to enable Gzip compression on a Nginx server running on Ubuntu 14.04 and test if it working. Earlier this week I have written a post “Optimize Compress JPEG, PNG Images on Ubuntu Server“. And, this post also falls in that same category as optimizing and performance improvement of a server. You also need this for your site’s SEO and it is very easy to enable this option on your Nginx server.
How to completely remove Nginx and re-activate Apache2?
I was having some problem with one of my VPS recently running Ubuntu 14.04 to host BitcoinDark block chain explorer. Every time server restarts it starts using Nginx server instead of the Apache2. When I wanted to uninstall it using sudo apt-get remove nginx
nothing happened as the terminal is replying that this package is not installed. However, I’m able to stop the service and restart Apache2. Once it restarts it goes back again. Today I started looking into it and found that somehow I’ve got nginx-core
package installed, that is the reason earlier nginx removing command didn’t work. In this article I will explain the steps I have taken to completely remove Nginx from my system and re-activate Apache2 server on Ubuntu 14.04 server. This is a little note to myself as well, if I mess it up again in the future. [Read more…]