Servers

<p>In this section I keep notes and write&nbsp;extended tutorials on things like configuring Nginx servers, serving Drupal. Upgrading&nbsp;Ubuntu, PHP-FPM, e.t.c.&nbsp;Apache, Jboss, Tomcat and other might pop in this section as well. Basically routine tasks and solved problems I'm facing everyday.&nbsp;</p>

How To Update to PHP 7.4 Ubuntu 16.04 Drupal 7 Nginx

| 128 views

I was facing problems with some Drupal modules not being supported, before upgrading to PHP 7.4 version.   As I had running Ubuntu 16.04 server with Nginx and PHP 7.0 FPM on in I felt a bit afraid performing a live update and decided to make a new backup for all settings.  Here I found some good advice: How To Install PHP 7.4 on Ubuntu 20.04/18.04/16.04 and also for Drupal specific things took my own advice from here: How to Install Drupal with Nginx, PHP-FPM 7.4, MySQL, phpMyAdmin on Ubuntu…


How to Install Drupal with Nginx, PHP-FPM 7.4, MySQL, phpMyAdmin on Ubuntu 20.04 - Linode Guide

| 36 views

In this article, you will learn how to setup webserver for serving  Drupal  websites running with Nginx, PHP-FPM 7.4, MySQL and phpMyAdmin on Ubuntu 20.04 For the following tutorial, I used very much the information from my previous guide with Ubuntu 18.04, but I decided to rewrite it for Ubuntu 20.04 version as it is shipped with php7.4 version and will work for Drupal 7, Drupal 8 and most probably for Drupal 9 Prerequisites Ubuntu 20.04  Root privileges. You can get a cheap VPS starting…


How To Swap / Transfer IP address with Linode VPS

| 20 views

Recently I was rebuilding a compromised VPS on the Linode - this was a small web server serving some 3 established websites. It took me a few hours from A-Z  - launch a new Linode, install a new webserver on it, then transfer data from one host to another. Once all migration works were done, there was an option to change DNS entry to point to the new server. Nothing complicated. But there is a neat feature from Linode called - Swap IP (IP Transfer). That's a little perk from Linode and quite…


How To HTTPS Secure Drupal 8 Running Nginx with Let's Encrypt on Ubuntu 18.04

| 10 views

Let's Encrypt have done some very good job, providing SSL certificates that everyone can use absolutely for free. Encrypted HTTPS websites should be default in 2020. I have been implementing HTTPS secure websites for years. Until now I mostly worked with Drupal 7 websites and for securing them I have been using this guide, back from 2016 - Linode: How To Secure Nginx with Let's Encrypt on Ubuntu 12.04 Now, in 2020, working on a new, Drupal 8 powered, website after then initial web development…


How to Install Drupal 8 with Nginx, PHP-FPM 7.2, MySQL, phpMyAdmin on Ubuntu 18.04 - Linode Guide

| 28 views

In this article, you will learn how to setup Drupal 8 with Nginx, PHP-FPM 7.2, MySQL and phpMyAdmin on Ubuntu 18.04 For the following tutorial, I used very much the information from my previous guide with Ubuntu 16.04, but decided to rewrite it for Ubuntu 18.04 version as when I tried to setup my latest project about stock trading 0dtespxtrading.com  with Drupal 8.8.5  on Ubunut 16.04 machine an error from Drupal that PHP version shipped with Ubuntu 16.04   was outdated and instead of…


How To Enable Google Adsense ads.txt file for Drupal on Nginx

| 16 views

Around early September 2019, in my Google AdSense dashboard, I noticed a warning informing me to create a separate ads.txt file.  I followed the on-screen instruction and did what was asked. After two months (at the start of November) I noticed my earnings from Google AdSense have dipped more than half and the warning was still there.  Earnings at risk - You need to fix some ads.txt file issues to avoid severe impact to your revenue. Authorized Digital Sellers, or ads.txt is an IAB…


Building GPU (Ethereum) Mining Rig from Scratch - Part 2 Assembling

| 5 views

I originally built this mining rig back in December 2017 (during the golden days of crypto), I've unplugged this rig from electricity since September 2018, but I might turn it on again in 2019. Today's article is the second and final part from the series I started back in 2017, see Building a 12 GPU Ethereum Mining Rig From Scratch - Part 1: Ordering Details The total cost for this rig (4 GPU's with hashing power of about 60 MH/s) was about $1,300. I never break even. To do so ethereum should…


How to block visitors from country NGINX + GeoIP Module

| 24 views

There are a couple of reasons why website administrators consider blocking visitors from particular countries or regions accessing websites, the most common reason probably is hacking/hacking attempts.  One really nasty way how website hackers act are, they inject malicious code into vulnerable websites and redirect legit audience to shady affiliate or black SEO websites. This method is also known as cloaking.  By investigating NGINX access.log file we can determine 404 pages (hacking…


How To Disable / Enable Windows 10 Update

| 4 views

Windows 10 updates might get annoying, and though they are much needed and it's not recommended to turn them off, in this article I will show one easy method how to disable and later enable Windows Update. For other methods please see: How to Disable Windows 10 Update in Every Way How to Disable Windows 10 Update Understand the limitations of this method. While disabling the automatic update service will temporarily halt any Windows 10 cumulative updates, the service will re-enable itself…


How To Install XTRF 8 on Ubuntu 18.04

| 9 views

XTRF is a Polish translation management system available to install as SAAS or on your own server (both Windows and Linux). In today's article, I will keep notes on how to install XTRF 8 on Ubuntu 18.04 Our company has been using the XTRF translation management system since 2011 (if not earlier) and recently we opted for a major upgrade (from version 2 to version 8). The previous version was run on Linode VPS (Debian). For the latest version, I decided to go with the same VPS from Linode (to…