Tag Archives: Linux - Page 12

Gzip vs Bzip2 vs XZ Performance Comparison

Compression

Gzip, Bzip2 and XZ are all popular compression tools used in UNIX based operating systems, but which should you use? Here we are going to benchmark and compare them against each other to get an idea of the trade off between the level of compression and time taken to achieve it.

For further information on how to use gzip, bzip2 or xz see our guides below:

Read more »

Backup and Restore a MariaDB/MySQL Database

Database Backup

It is critical to regularly take a backup of important data that is stored within a database so that the data can be restored in the event of any problem. Examples of such problems include database server failure, data tampering, corruption and any other number of file system specific problems that are looking to do your database harm.

Here we will cover how to backup and restore an SQL database from MariaDB/MySQL. Read more »

13 Simple XZ Examples

XZ Compression Command Examples

xz is another general purpose data compression tool with syntax similar to the older and more popular gzip and bzip2 options. With xz we will typically get a better compression ratio.

We are going to cover 13 examples of xz here, showing you common tasks that can be completed and just how easy it is to use.

Read more »

How To Configure Key-Based Authentication for SSH

SSH Key Authentication

SSH keys can be used to increase the level of security for a user remotely authenticating to a Linux server through SSH. SSH keys are typically preferable in terms of security when compared to passwords as they are far less vulnerable to brute force attack, there is simply a lot more entropy in a key than password.

Here we are going to cover how to configure and use key-based authentication for SSH in Linux. Read more »

How To Install and Configure MariaDB

Maria DB Logo

MariaDB is a drop in replacement for MySQL and is an open source fork of MySQL created by the original MySQL developers. As of Red Hat Enterprise Linux (RHEL7) and CentOS 7 MariaDB is now the default SQL database, rather than MySQL which was the default in previous releases of the operating system.

Here we’re going to cover how to install and configure MariaDB.

Read more »

23 Hardening Tips to Secure your Linux Server

It is important to secure a Linux system as much as possible in order to reduce the likelihood of compromise.

Here are 23 security tips to guide you through hardening your Linux operating system.
Read more »

How To Manage Linux Systemd Services with Systemctl

In many Linux based operating systems such as Debian 8, Red Hat Enterprise Linux (RHEL) and CentOS 7 systemd is now the default init system and is used for service management.

Here we will cover service management with the systemctl command, which is used to control the state of the systemd system and service manager.

Read more »

10 Simple Bzip2 Examples

Bzip2 Compression Command Examples

Bzip2 is used to compress a file in order to reduce disk space, it is quite popular in Linux and UNIX operating systems for this reason. Bzip2 has been around since the late 1990s and is still widely used today. It may be preferable over gzip as it can produce smaller compressed files, at the cost of additional memory and processing time.

We are going to cover 10 examples of bzip2 here, showing you common tasks that can be completed and just how easy it is to use.

Read more »

Performance Difference Between NFS Versions

The Network File System (NFS) protocol has been around since the ’80s which is quite ancient in the realm of technology, and yet is still used widely. How has the performance of NFS changed over the years between the different versions?

Here we are going to compare the performance of NFS versions 2, 3, 4, and 4.1 to get idea of how things have progressed over time, the results are quite surprising.

Read more »

11 Simple Gzip Examples

Gzip Compression Command Examples

Gzip is used to compress a file in order to reduce disk space, it is quite popular in Linux and UNIX operating systems for this reason. Gzip has been around since May 1996 and is still widely used today.

We are going to cover 11 examples of gzip here, showing you common tasks that can be completed and just how easy it is to use.

Read more »