Creating Partitions on CentOS/RHEL 7

A block devices is usually a physical device that’s used for storing data, e.g. Hard drives and solid state drives. A partition is basically a way to organise a block device’s storage into smaller segments, that means creating partitions allows you to use a percentage of your block device’s storage space for a specific purpose and leave the rest available for other uses.

Read More

Linux Processes – Setting process priorities by setting nice values on CentOS/RHEL 7

Changing a process’s priority is a good way to make your machine run more efficiently. Changing process priorities is to do with increasing/decreasing how much CPU time a process can have while the machine is running. For example if you are setting up a machine to primarily run as a web server, then it is a good idea to elevate the web-server related processes so that they get more access to the CPU.

Read More

MariaDB – Restoring databases

In the previous article we saw how to create backups of our database. Now we’re going to try restoring databases. First thing we need to do is delete our database so that we can start restoring it: We created a backup file for online_shop, so let’s start by deleting that database, this is done using […]

Read More