Monthly Archives: January 2017 - Page 2

How To Repair An AWS EC2 Instance Without Console

How To Repair AWS EC2 Instance

Recently while rebooting the web server that hosts this website in order to perform a kernel update I ran into a kernel panic on boot.

Amazon Web Services (AWS) do not seem to provide an interactive console for Elastic Compute Cloud (EC2) instances, so I had to work out another way to fix the problem which I have documented here.

Read more »

Windows IIS Speed Test Benchmark – 2017 Results

Windows Server IIS Web Server Benchmarks

Following on from my recent Linux web server benchmarks, I’m going to be performing the same tests on all current generations of Microsoft’s IIS web server.

Here I’ll be performing benchmarks against the below versions of the IIS web server and then comparing them against each other to get an idea of which one performs the best under a static workload.

  • Windows Server 2008 R2 – IIS 7.5
  • Windows Server 2012 – IIS 8.0
  • Windows Server 2012 R2 – IIS 8.5
  • Windows Server 2016 – IIS 10.0

First I’ll discuss how the tests were set up and actually done before proceeding into the results.

Read more »

25 Useful DNF Command Examples For Package Management In Linux

DNF Command Examples For Linux

Dandified Yum (DNF) is an RPM based package manager which is used to install and update packages in various Linux distributions including CentOS, RHEL and Fedora.

DNF is the next major verison of Yum and as such it aims to maintain CLI compatibility with Yum, so a lot of the information here will be similar to our yum commands.

Like Yum, DNF is quite powerful as it’s capable of automatically resolving dependency issues, and is similar to other package managers such as ‘apt-get’ in Debian based distributions.

These examples should serve as a useful introduction, guide or cheat sheet style resource for how to use the dnf command in Linux.

Read more »

How To Install Microsoft SQL Server On CentOS Linux

Install MSSQL On Linux

In December 2016 Microsoft made their SQL Server database available in Linux. Here we’ll cover how to install and perform basic setup of MSSQL in the RHEL based Linux distribution CentOS.

Read more »

Is Cloudflare’s Paid Pro Plan Worth It? Speed Test Results

Testing the Cloudflare paid pro plan

Cloudflare is a widely used content distribution network (CDN) which is freely available to help speed up your website by caching various contents at locations around the world.

While I have been taking advantage of the free plan on this website for a number of years I’ve often asked myself “is the Cloudflare Pro plan worth getting?”. At $20 USD per month it costs the same as the server itself. With limited resources available online, I decided to upgrade myself and find out if the pro plan made much of a practical difference to my website.

I’ve performed some basic benchmarks on a number of different file types at different file sizes on this website both on the free plan, and on the Pro plan after I upgraded in August 2016. We’ll take a look at the results and see if any of the Pro features helped speed up load times.

Read more »

How To Install Microsoft SQL Server On Ubuntu Linux

Install MSSQL On Ubuntu Linux

In December 2016 Microsoft made their SQL Server database available in Linux. Here we’ll cover how to install and perform basic setup of MSSQL in the Ubuntu distribution of Linux.

Read more »

How To Install DNF Package Manager In CentOS/RHEL

Install DNF Package Manager

DNF, or Dandified Yum, which is the next major version of the Yum package manager was introduced with Fedora 18. As of Fedora 22, it has become the default package manager.

As you may know, the Fedora Linux operating system is essentially a bleeding edge testing ground for packages that may be included in RHEL/CentOS based distributions in the future.

It is therefore likely that in some future release, RHEL/CentOS will also make use of DNF rather than Yum to take advantage of the new features, so let’s take a look at what’s involved in installing and using DNF in CentOS Linux so that we can be ready for it when it’s made default.

Read more »