Monthly Archives: October 2018

How to Setup CentOS 7 on AWS

This tutorial will show you how to create a CentOS 7 instance on AWS. We assume that you already have you AWS account created and that you are logged in already.

Step 1

Click Services and then EC2

Step 2

Click Launch Instance

Step 3

  • Click AWS Marketplace
  • Search for CentOS
  • Select the top result – CentOS7

Step 4

Click Continue

Step 5

Select your machine type and click Next Configure Instance details. In our case we will select the t2.micro instance as it is free tier eligible.

Step 6

Change Auto-assign public IP to Enable and click Next: Add storage.

Step 7

Leave the defaults and click Next:Add Tags

Step 8

Click Next: Configure Security Group

Step 9

Click review and Launch.

Step 10

Review your settings and then click Launch.

Step 11

In the drop down menu select create a new key pair, give the key pair a name and Download the Key Pair, then click launch Instances.

Step 12

Click your instance ID to see the instance.

You should now see your instance.

Step 13

To connect to our instance we will need to convert the key we downloaded, to do so we will use putty and puttygen they can be downloaded form here: https://www.putty.org/

Open puttygen and click Load

Step 14

Navigate to where you downloaded your key, click all files, click on your key and click open.

Step 15

Now click Save Private key, when prompted click yes you want to save without a passphrase.

Step 16

Now open putty and enter your public IP into the host name or IP address field, then expand SSH on the left had side.

Step 17

Click auth and then browse, navigate to where you saved your key and select it.

Step 18

Now click open

Step 19

Click Yes

Step 20

Enter centos as the username and click enter.

You will now be logged in

A full video tutorial can be found here:

How to Install Server 2016 in Virtualbox

Windows Server 2016 is a server operating system developed by Microsoft as part of the Windows NT family of operating systems, developed concurrently with Windows 10.

This tutorial will should you how to install windows server 2016 in virtual box.

Step 1

First you will need to download the windows server 2016 trail, which is available from Microsoft:

https://www.microsoft.com/en-us/cloud-platform/windows-server-trial

Step 2

Open VirtualBox and click New

Step 3

Fill out the following values:

  • Name: Windows server 2016
  • Type: Microsoft Windows
  • Version Windows 2016 (64-bit)
  • Memory size, leave at 2018 (minimum)
  • Create a virtual hard drive and click create.

Step 4

Leave the defaults and click create.

Step 5

Now right click on the virtual machine and click settings.

Step 6

Click storage, then empty and then click the cd symbol

Step 7

Navigate to where you downloaded your windows server disk and click open

Step 8

Click ok

Step 9

Click your VM and click start

Step 10

Select your language, Time and input and click next.

Step 11

Click Install Now

Step 12

Select I will activate later.

Step 13

Select Windows Server 2016 Standard (Desktop Experience) and click next.

Step 14

Accept the license agreement and click next.

Step 15

Click Custom Install Windows only

Step 16

Click Next, windows will now install.

Step 17

Once windows reboots, enter an administrator password and click Finish.

You have no install windows server 2016 in virtualbox.

A full video tutorial can be found here:

How to Trust a Certificate on Windows

If you have generated a self signed certificate on windows you may want to trust that certificate to avoid getting certificate warnings when you navigate to your URL in internet explorer or chrome. It is important to note that you should only trust a certificate if you are 100% sure of it’s origin.

Step 1

Open internet explorer as an adminsitror.

Step 2

Navigate to the URL where your self signed cert is, in our case https://localhost.

Step 3

When prompted remove click to continue to the website

Step 4

Click where it says “Certificate Error” and then view certificate.

Step 5

Click install certificate

Step 6

In the screen that appears select local machine and next

Step 7

Select “place all certificates in the following store” and click browse.

Step 8

Select Trusted Root Certificate Authorities and click ok

Step 9

Then click ok, next and finish.

Step 10

Restart internet explorer.

Step 11

Navigate to your website again, the certificate will now be trusted.

A full video tutorial can be found here: