Now, here we are going to check whether the database packages are available and then we are going to
start our mariadb server.
So with rpm -q query command mariadb-server command.
We can check whether our mariadb server is installed or not.
Then we want to check that mariadb client also rpm -q.
mariadb.
So it is going to give us information whether it is an install or not.
If it is not installed you can use the command yum install mariadb-server then space mariadb then
we are going to restart the server.
So restart the server systemsctl restart mariadb.
Then we are going to permanently enable this mariadb-server.
So let us go into our master system, on master system.
What we are going to do first, I am going to clear all the settings.
So first of all, we are going to check the package rpm -q mariadb-server.
That is your server package.
It is already installed.
Then we are going to verify the client, it is also installed.
Now we have to start your mariadb server so the command is systemctl start.
mariadb, and this is going to temporarily start the mariadb-server, we want to make it permanent.
So what is the command it going to be?
It is going to be systemctl enable mariadb.
So systemctl.
enable mariadb.
it will make that server permanent.
So that is how we have now check that these packages are available and we have started
the mariadb also.