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 […]
There are 3 levels of mysql database backups you can do: Backup the contents of a single database Backup multiple databases Backup the entire mysql server when creating database backups, the resulting backup files are actrually really big sql files that will repopulate a database. In all cases we create database backups using the mysqldump […]
In this article we’re going to create a new database and then create a table inside the new database.
In this article we’re going to show some simple MySQL commands to help you navigate your way around databases and tables, and also view a table’s content.
In the previous article we saw how to create a new database called ‘online_shop’ and then a table inside this new database called ‘customers’. Now we’re going to show how to create/read/update/delete (crud) content in a table. Let’s see what the situation is: [root@mariadb-client ~]# mysql -u root -p’rootpassword’ -h mariadb-server.example.com Welcome to the MariaDB […]