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:

https://www.centos.org/download/

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.

 

Posted in CentOs, linux, Virtualization, VMWare | Tagged , , , , , , | Leave a comment

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:

 

https://sourceforge.net/projects/pdfedit/

 

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.

 

Posted in Uncategorized, windows | Tagged , , , , , , , , , , | Leave a comment

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 https://downloads.joomla.org/cms/joomla3/3-8-3/Joomla_3-8-3-Stable-Full_Package.zip?format=zip
Sudo mkdir Joomla
Sudo mv Joomla_3-8-3-Stable-Full_Package.zip\?format\=zip Joomla
Cd Joomla
Sudo unzip Joomla_3-8-3-Stable-Full_Package.zip\?format\=zip Joomla
Sudo rm Joomla_3-8-3-Stable-Full_Package.zip\?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’;

 

 

Posted in CentOs, databases, learning, linux, mysql | Tagged , , , , , , , , , , | Leave a comment

How to set up load balancing on CentOS 7 / Redhat 7 using Apache

This tutorial will show you how to configure active active load balancing on CentOs 7 (Linux) using Apache.

 

This tutorial will also work on Redhat 7 (RHEL 7)

 

This tutorial will show you how to configure two CentOs web servers so you can check that your load balancing is working.

It will then show you how to configure Apache to load balance the two web servers.

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

 

  • sudo vi /var/www/html/index.html
  • sudo  firewall-cmd –zone=public –add-port=80/tcp –permanent
  • sudo firewall-cmd –reload
  • sudo vi /etc/httpd/conf.modules.d/00-proxy.conf
  • sudo vi /etc/httpd/conf.d/default-site.conf
  • sudo service httpd restart
  • ifconfig

<VirtualHost *:80>
<Proxy balancer://mycluster>
BalancerMember http://Your-Ip-Address-Here:80
BalancerMember http://Your-Ip-Address-Here:80
</Proxy>

ProxyPreserveHost On

ProxyPass / balancer://mycluster/
ProxyPassReverse / balancer://mycluster/
</VirtualHost>

 

 

 

https://www.youtube.com/subscription_center?add_user=/UCkDvK72aPFRnv0GnpuV97ig

Posted in CentOs | 1 Comment

How to Install Drupal 8 on CentOs 7 / Redhat (RHEL) 7

This video describes the process of installing Drupal 8 on CentOS 7. This tutorial takes place on a CentOS 7 machine but the commands will also work on a Redhat (RHEL) 7 Machine.

 

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

 

  • sudo wget https://ftp.drupal.org/files/projects/drupal-8.4.2.tar.gz
  • sudo tar -zxvf drupal-8.4.2.tar.gz
  • sudo mv drupal-8.4.2 /var/www/html/
  • sudo mv drupal-8.4.2/ drupal
  • sudo chcon -R –type=httpd_sys_rw_content_t /var/www/html/
  • sudo chown apache:apache /var/www/html
  • sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  • sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
  • sudo yum install php70w
  • sudo service httpd restart
  • sudo yum install php70w-dom
  • sudo yum install php70w-gd
  • sudo yum install php70w-pdo
  • sudo service httpd restart

 

 

 

Posted in CentOs | Tagged , , | Leave a comment

How to Install PHP 7 on CentOs 7 / Redhat 7 (RHEL)

This tutorial shows you how to install PHP 7 on CentOS 7.

 

This tutorial is on an CentOS 7 machine but the commands will also work on Redhat (RHEL) 7.

 

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

 

  • sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  • sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
  • sudo yum install php70w
  • sudo yum install php70w-pdo

Posted in CentOs, linux | Tagged , , | Leave a comment

How to Connect To Linux (CentOs 7) Using SSH Keys (Password free authentication) from Windows

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:

 

sudo mkdir ~/.ssh
sudo chmod 700 ~/.ssh
sudo vi ~/.ssh/authorized_keys
sudo chown YourUserName:YourUserName ~/.ssh -R
sudo chmod 600 ~/.ssh/authorized_keys

 

Posted in CentOs, computer science, linux, windows | Tagged , , , | Leave a comment

How to Install Microsoft Windows Server 2016 on VMware workstation

This video shows you how to install Microsoft Windows Server 2016 as a Virtual machine in VMWare workstation 12. To follow along with the tutorial you will first need to download the evaluation version of Windows Server 2016 from Microsoft, which is available from their evaluation site: https://www.microsoft.com/en-us/evalc… Once completed, you can follow the steps in the video to install Windows Server 2016.

 

 

Posted in learning, Virtualization, VMWare, windows | Leave a comment

PowerShell Tutorial: How to manage services with PowerShell

This tutorial shows you how to manage services with PowerShell.

In this tutorial we use the World Wide Web Publishing Service which has the service name w3svc as an example.

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

get-service w3svc
stop-service w3svc
restart-service w3svc

Posted in powershell | Leave a comment

How to Schedule SQL Server Database Backups.

This video shows you how to schedule database backups in SQL server. In this tutorial we are using SQL Server 2014 management studio.

Posted in databases | Leave a comment