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.
A unit is a resource that systemd can manage. If you look inside the /usr/lib/systemd/system directory, you will find files with different extensions, e.g. .socket, .target, .mount, …etc.
If you have forgotten what your CentOS/RHEL system’s root password is, then you need to reset your machine’s root password. Resetting the root password requires rebooting your CentOS 7 machine, and then edit the GRUB parameters during boot time.
Journald is a service that systemd uses for capturing logs
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.
One thing you may want to do is to find and stop a process. There are a few ways to do this, but they all involve sending a process a “signal”. A signal is an instruction that can be sent to a process. Processes aren’t allowed to ignore an incoming signal. There’s a standard set […]
In linux there are lots of processes running, there are a number of commands available to find and view these processes.
jobs are processes that are triggered by you, when you run various commands in your current bash/putty terminal.
You can configure your CentOS system to run in different modes. For example you can run your system in graphical mode, if you want to use it as desktop workstation. Or you can run your system in command line mode, if you are only interested in using your system’s bash terminal. You can control which mode to run in using systemd targets.
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 […]