“MariaDB is a community-developed fork of the MySQL relational database management system intended to remain free under the GNU GPL. Development is led by some of the original developers of MySQL, who forked it due to concerns over its acquisition by Oracle Corporation”
This short MariaDB tutorial will show you how to check the version of MariaDB you are running. We are running MariaDB on CentOS 7 but the process should be much the same for other operating systems.
Step 1
Log into your MariaDB instance, in our case we log in using the command:
mysql -u root -p
Step 2
After you log in you can see your version in the welcome text – highlighted in the screen-grab below:
Step 3
If you cannot see your version here you can also run the following command to see it:
SELECT VERSION();
A full video tutorial on the process can be found here:
WildFly, formerly known as JBoss AS, or simply JBoss, is an application server authored by JBoss, now developed by Red Hat. WildFly is written in Java and implements the Java Platform, Enterprise Edition (Java EE) specification. It runs on multiple platforms.
WildFly is free and open-source software, subject to the requirements of the GNU Lesser General Public License (LGPL), version 2.1.
This tutorial will show you how to install Wildfly on Centos 7.
Step 1
To run Wildfly you need Java, so we will download it now, run the command:
yum -y install java-1.8.0-openjdk
Confirm that it is installed correctly by running:
java -version
Step 2
Let’s get the firewall ready, there are two ports we need open, lets open them now, run the following commands:
a) Management User (mgmt-users.properties) b) Application User (application-users.properties) (a):
Press enter for the default.
Enter the details of the new user to add. Using realm ‘ManagementRealm’ as discovered from the existing property files. Username:
Enter a Username
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file. – The password should be different from the username – The password should not be one of the following restricted values {root, admin, administrator} – The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s) Password :
Enter a password.
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]: About to add user ‘wildfly’ for realm ‘ManagementRealm’ Is this correct yes/no
Type yes.
Is this new user going to be used for one AS process to connect to another AS process? e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls. yes/no?
Type no.
Step 7
Now we will start Wildfly, ensure that you are still in the bin directory and run the following command:
./standalone.sh
If the command is successful output should like so (You can ignore any ssl warnings):
Step 8
Lets confirm wildfly is up, open and web browser and navigate to the IP address of your CentOS server and append the port 8080 to the address, in our case it looks like so:
http://192.168.125.3:8080
You should see a screen that looks like so:
Step 9
Now let’s ensure the management interface is working, navigate to
http://192.168.125.3:9990
You should be prompted for a login, enter the username and password you set in step 6.
You should then see the Wildfly management interface.
“WildFly formerly known as JBoss AS, or simply JBoss, is an application server authored by JBoss, now developed by Red Hat. WildFly is written in Java and implements the Java Platform, Enterprise Edition (Java EE) specification. It runs on multiple platforms.”
In this tutorial we will be installing Wildfly on windows server 2016, however the process should be much the same on windows 10.
Installing Java
First we will download and install Java JRE. it is available from:
This short tutorial will show you how to install Tomcat 7 on CentOS 7.
“The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.”
The steps that you need to follow are detailed below. Just copy and paste them into your CentOS 7 server and all should work. If not please do comment below and I will respond as soon as I can.
First we need to download Tomcat:
sudo yum install tomcat
Now we will edit the tomcat.conf file, enter the below command to you CentOS machine:
sudo vi /usr/share/tomcat/conf/tomcat.conf
Now appened the below line to the end of the file.
This tutorial will show you how to reset the root password on CentOs 7 / Redhat 7. As a health warning please be sure that when doing this you have taken a snapshot of your VM or if it’s a physical server that you follow the instructions very carefully. With that in mind lets get started.
Step 1
When the system boots up press e on this screen.
Step 2
In the screen that appears scroll down to the line were you see Linux 16
Now Change where its says ro to:
rw init=/sysroot/bin/sh
Then press ctrl + x
Step 3
You will now be in emergency mode which will look like the screen below:
Step 4
Type in the command:
chroot /sysroot
Step 5
Reset the root password by typing in:
passwd root
Step 6
No ensure that selinux will be relabelled by typing the command:
This video shows how to log into a CentOs 7 server from a Windows machine using SSH keys. The video will show you how to generate the keys using Putty and then how to configure your CentOS 7 Server to allow you to authenticate into the server.
Putty is available to download from www.putty.org.
The commands that you need to follow along with the tutorial are:
This tutorial shows you how to install Python 3, set up a local programming environment and create your first python program. The commands that you need to follow along with this tutorial are:
Getting your Server ready for the install:
sudo yum update
sudo yum install yum-utils
sudo yum groupinstall development
sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm
Using virtual hosts on Apache allows you to host multiple websites on one server. In order for virtual hosts to function correctly you will need to insure that you have DNS set up correctly for your sites. If you are following this tutorial for test purposes you can reference this video on how to manually set DNS on a Centos Server:
If you need to know how to install apache on CentOs you can reference this video:
The commands that you need to follow this video are:
cd /var/www/html/
sudo mkdir site1
sudo mkdir site2