Category Archives: Ubuntu

How to Upgrade Nginx on ubuntu server

Introduction: Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or a reverse proxy. Remember the best way to learn… Read More »

An error occurred.

I encountered the following error on my VPS? Sorry, the page you are looking for is currently unavailable. Please try again later. If you are the system administrator of this resource then you should check the error log for details. Faithfully yours, nginx. NB: I noticed the above error message immediately after running the following… Read More »

update failed! see the log below for more information. your site is still in maintenance mode.

Drupal 7 module update failed: I was encountering the following warning when trying to perform an upgrade of Drupal 7 google_analytics module to the latest version. google_analytics •Error installing / updating •File Transfer failed, reason: Cannot create directory /public_html/sites/all/modules/google_analytics My immediately highly secure approach was to make the www-data user and group the owner, make… Read More »

warning: fileowner(): stat failed for temporary://update_zgp3da in update_manager_local_transfers

I dumped into this issue after moving a client Drupal 7 website from their Hosting Provider to my Superfast Web Servers powered by NGINX and Varnish Caching. warning: fileowner(): stat failed for temporary://update_zgp3da in update_manager_local_transfers Workaround: 1.  Login to admin backend 2.  Go to Configuration > Media > File System 3.  Check the values entered… Read More »

How do I change timezone on Ubuntu Server

I recently moved some of my Ubuntu Dedicated Web Hosting Servers from offshore data centres to my Johannesburg Data Centre,  and I needed  to change the time zone to be in sync with South Africa Standard Time of Greenwich Mean Time (GMT+2). Howto? To accomplish this task, simply execute ‘dpkg-reconfigure tzdata’ to change time zone on… Read More »

How to protect a VPS from DDOS attacks

What is DDoS attacks (DDoS attack) In computing, a denial-of-service attack or distributed denial-of-service attack is an attempt to make a machine or network resource unavailable to its intended users. How to protect yourself from DDoS: There are many Operating System level solutions to protect against application and transport-layer DDoS attacks, like SYN cookies, Hardware… Read More »

How to install webmin on ubuntu server

About Webmin: Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. Preparing your system… Read More »

How to setup Varnish Cache Server on Ubuntu

What is Varnish Cache Server? Varnish Cache is a web accelerator, sometimes referred to as a HTTP accelerator or a reverse HTTP proxy, that will significantly enhance your web performance and web content delivery. Varnish Cache speeds up a website by storing a copy of the page served by the web server the first time… Read More »