17 Things about Security

A list for protecting yourself and others from the most common and easiest-to-pull-off security crimes.

This article does not attempt to make you an information security guru or provide everything needed for those who are special targets. This is a list you can use to secure yourself, your significant other and your non-techie loved ones from the majority of the most-common and easiest-to-pull-off types of crime and cruelty. Continue reading “17 Things about Security”

Test internet speed from the Command-line

You probably have heard and tried using speedtest.net to test you computer or smartphone internet speed. If you have your own server or VPS you can also test internet speed connection from the command-line using the speedtest-cli utility. On this tutorial, I’ll show how to install and use speedtest-cli to test your internet speed.

Continue reading “Test internet speed from the Command-line”

How to find out PID in Linux

Every Linux process has a process ID (PID) assigned to it.  It is a unique identification number that is automatically assigned to each process when it is created in an operating system. A process is a running instance of a program. In this tutorial we’ll look into ways on how to find the PID of process.

Continue reading “How to find out PID in Linux”

Software RAID Recovery Tutorial

This tutorial will walk through the troubleshooting and recovery of a failed disk on a Software RAID setup. Especially mirroring the boot partition which is important when replacing disk and making sure the OS boots up properly after replacement.  This tutorial was done on Ubuntu 14.04 but should still work on other distributions such as RHEL and CentOS.

Continue reading “Software RAID Recovery Tutorial”

Redirect HTTP to HTTPS on Apache

SSL secured websites or HTTPS has now become a must to have on website, especially those handling sensitive client information. Having a HTTPS enabled website means that a intruder can’t intrude to communication between users and website. HTTPS not only secures communication but is now a requirement for many new features like http2, which requires you to have https enabled on your server. Having a HTTPS enabled website also improves your Google SEO (Search Engine Optimization) ranking.

In this tutorial, we will discuss two methods on how we can redirect http traffic to https on Apache web servers.
Continue reading “Redirect HTTP to HTTPS on Apache”

Setup Master Slave replication in MariaDB

Databases are arguably one of the main component of any modern application. And one of the most popular implementation of SQL databases is Mysql or the new replacement MariaDB. As a system administrator, you probably have installed and configured a database before. This tutorial will walk though setting up the master-slave replication of MariaDB.
Continue reading “Setup Master Slave replication in MariaDB”

How to remove unused kernel images from CentOS/RHEL systems

Every time you update your CentOS Linux and the update includes a new kernel image update the system will not remove your old kernel but it will cumulatively add new kernel to the top of your Linux kernel installed list. Normally, this does not present any issue to your running system and you are not required to take any action to remove any old and unused kernel images.

Continue reading “How to remove unused kernel images from CentOS/RHEL systems”