Category: Linux

Linux Server Managment

Shell script to setup an LXD (Linux Containers) VM lab for testing purpose nixCraft

A sample shell script to build an LXD (Linux Containers) VM lab on Ubuntu Linux 16.04 LTS server. #!/usr/bin/env bash # Purpose: Setup an LXD vm lab quickly by creating VMs. This script: # a)

WordPress 4.7.4 and the ‘noopener noreferrer’ attribute

Some of you may have noticed that after you upgrade to WordPress 4.7.4, when you edit a post using the visual editor tab and add an internal link (a link… More »

Shell script to mirror backups to another server in pull mode using rsync nixCraft

A shell script mirror remote server named server1.cyberciti.biz and /backups directory to another server. The script use rsync command and also make sure a special directory mounted in local server. You must setup ssh keys

Linux/Unix bash shell script to purge Cloudflare url/images from the command line nixCraft

Here is a simple and easy to use bash shell script to purge/delete Cloudflare url/images cache from the command line without using web interface. #!/bin/bash # Purpose: Purge a single url using cloudflare API from

JavaScript toFixed() does not work in number fields on Firefox

Here’s a very short, quick post, detailing a Firefox scripting frustration that I discovered today. Let’s say you have a JavaScript function that calculates a value. The value represents a… More »

Fedora 25 Workstation Installation Guide

In this tutorial, we will walk through the steps to install Fedora 25 workstation edition on your machine. This guide contains screen shots taken from every step in the whole installation process, therefore, carefully...

How to Upgrade Fedora 24 to Fedora 25 Workstation and Server

Yesterday, Fedora 25 was released and this guide will walk you through the various steps you can follow to upgrade your system to Fedora 25 from Fedora 24 using both graphical user interface (GUI)...

How to Install Latest LXQt 0.13 Desktop in Ubuntu and Fedora

LXQt developed from popular components of LXDE and Razor Qt project, LXQt is a free, open source, lightweight and fast desktop environment for Linux and BSD distributions. It comes with a number of great...

Continuous integration tests for the CentOS Vagrant images

Since yesterday, we have production-ready automated tests for our Vagrant images on ci.centos.org, fully integrated with GitHub. We were only able to build and test scratch images manually until now, which was time consuming and had the disadvantage that, due to hardware limitations on my side, only the images for VirtualBox were actually tested. A […]

Speed up your browsing with help from your hosts file

Web pages these days are so full of advertisements, trackers, counters, hidden pixels, it’s a wonder they load at all. And who knows what information you’re revealing about your browsing… More »

7 Reasons you should not host your own videos

There are times that users encounter issues when watching videos. Common issues include videos that can’t be played on mobile devices, users only see a black box where the video… More »

A Practical, Quantifiable Take On SEO Marketing

Whatever You Do, Create Useful Content There is a balance to SEO optimization. SEO shouldn’t be the main focus of your undertaking. The main focus is to sell your product,… More »

Organize my uploads into month- and year-based folders

The piece of text I’ve used as this article’s title should be familiar to all WordPress users. Can’t place it? The image above should give you a clue… it’s on… More »

Setting Up Nginx with MariaDB and PHP/PHP-FPM on Fedora 24 Server and Workstation

You must have probably installed Fedora 24 server edition on your machine and you are eager and looking forward to setting up a web server to run websites and web applications. Look no further,...