Monthly Archives: January 2018

How to RDP (Remote Desktop) into CentOS 7

Hi There,

In this tutorial I will show you how to RDP into your CentOS 7 Server. This tutorial will also work on a Redhat 7 server. In order to follow this tutorial you will need to be sure that you have CentOS 7 installed with the GNOME Desktop. If you haven’t done this yet be sure to follow this tutorial to get up to speed.

The first thing that we need to do is to add two repos to our CentOS server. The two commands that you need to run are:

  1. sudo rpm -Uvh
  2. sudo rpm -Uvh

Next we will install the xrdp software package and then start it as a service. The commands to do this are:

  1. sudo yum -y install xrdp tigervnc-server
  2. Sudo systemctl start xrdp.service

Now we need to allow the ports for xrdp through the firewall. After that we’ll need to restart the firewall service. This can be done by running these commands.

  1. sudo firewall-cmd –permanent –zone=public –add-port=3389/tcp
  2. sudo firewall-cmd –reload

Finally we need to configure SELinux. To do so run these two commands:

  1. sudo chcon –type=bin_t /usr/sbin/xrdp
  2. sudo chcon –type=bin_t /usr/sbin/xrdp-sesman

We can now try to RDP to our CentOS 7 server.

First open RDP and type in the IP address of you CentOS 7 Server.

If you get certificate warnings click yes to continue.

Now enter your CentOS username and password

You will now be brought to your CentOS Desktop.


 A full video of this tutorial can be seen here:

How to reset the root password on CentOS 7 / Redhat 7 (RHEL 7)

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:

touch /.autorelabel

Step 7

Type in:


Step 8

Now reboot by typing in:


How to Install CentOS 7 On VMware Workstation 12

In this tutorial you will learn how to install CentOS 7 on VMWare workstation 12. The first thing that you need to do to Install CentOS 7 is to download CentOS 7 from the CentOS website:

The version that you will need to download is the DVD ISO. Once you have downloaded the CentOS7 ISO, you will need to open VMWare workstation.

Once VMWare workstation is open you will then need to follow the following steps to ensure that CentOS 7 is installed.

  • Click file and then New Virtual Machine.
  • Then click typical and next.
  • Find the ISO file you saved and click next.
  • Give your machine a name and click next.
  • Set your disk size and click next.
  • Click customise hardware.
  • Increase the RAM to 2GB
  • Then click close and finish.
  • Then power on the CentOS 7 machine.
  • Select install CentOs 7.
  • Select your language and click next.
  • Select Gnome Desktop for Software Selection and then done.
  • Select the disk you created for installation destination and then done.
  • Then click begin install.
  • Next create your root password and click done.
  • Then create your user, create a password for that user and select make that user an administrator.
  • Then click reboot.
  • Accept the license on start up and click finish configuration.
  • You have now installed Centos 7 On VMWare.
  • The video guide below shows the process in more detail.


How To Delete Pages From a PDF without adobe acrobat (free)

This video tutorial shows you how to delete pages from a PDF for free.


Software such as adobe reader does not allow you to delete pages from PDF documents.


Software such as Adobe Acrobat is expensive.


In this tutorial we use PDF Edit which is a freeware program.


The link for the PDF edit software used in this tutorial is:


This tutorial first shows you how and where to download the pdf edit software for free.


Next it will show you how to install the pdf edit software.


It will then show you how to open a pdf in pdf edit.


It will then show you how to remove / delete pages from a pdf.


After deleting pages from your pdf you will then see how to save your new pdf.


How to install Joomla 3 on CentOs 7 /Redhat 7 Linux.

This tutorial shows you how to install Joomla 3 on CentOS 7 / Redhat 7 Linux (RHEL).It shows you first how to download, unzip and move the Joomla files to the correct directory for apache.


Next it shows you how to download and install php including the php-mysqli extension that is needed by Joomla. You will then see how to configure Apache to see the Joomla files.


Next you will then configure permissions and set up your Joomla Database in MYSQL (MariaDB) Finally you will install Joomla.



The commands that you need to follow along with this tutorial are:


Downloading, Unzipping and Moving Joomla:


sudo Wget
Sudo mkdir Joomla
Sudo mv\?format\=zip Joomla
Cd Joomla
Sudo unzip\?format\=zip Joomla
Sudo rm\?format\=zip
Sudo mv Joomla /var/www/html


Installing PHP


Sudo yum install php
Sudo yum install php-mysqli


Configuring Apache and Permissions  


Sudo vi /etc/httpd/conf/httpd.conf
Sudo service httpd restart
Sudo chown apache:apache -R /var/www/html/Joomla
Sudo chcon -Rv –type=httpd_sys_rw_content_t /var/www/html

Configuring MYSQL / MariaDB


Mysql -u root -p
Create database joomla;
grant all on joomla.* to ‘darren’@’localhost’ identified by ‘password123’;