Monthly Archives: October 2019

How to set up Red Hat on AWS

This blog post will show you how to set up Red hat on AWS.

A full video of the process can be seen below.

  • First log into your AWS account
  • Click Services and then ec2
  • Click launch instance
  • Search for red hat and select red hat 8
  • Select micro instance (it’s free tier)
  • Click next configure instance details
  • Click Next Add storage
  • Click next add tags
  • Click Add tag
  • In the Key field type Name and then type a name in the value field for example darren’s server
  • Click Next: Configure Security group
  • select my IP and click Review and Launch

  • Click launch
  • Select create a new keypair, give it a name and click download keypair.
  •  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
  • Navigate to where you downloaded your key, click all files, click on your key and click open.
  • Now click Save Private key, when prompted click yes you want to save without a passphrase.
  • Now open putty and enter your public IP into the host name or IP address field, then expand SSH on the left had side.
  • Click auth and then browse, navigate to where you saved your key and select it.
  • Now click open
  • Click Yes
  • Enter ec2user as the username and click enter.
  • You will now be logged in

Solved firewall-cmd command not found

This short video will show you how to correct the error:

This error is actually cased by not having firewalld installed on your system.

In this video you will see how to install firewalld

To fix this issue you need to run the following commands:

sudo yum install firewalld sudo

systemctl start firewalld sudo systemctl

enable firewalld sudo systemctl status firewalld

Once these commands are run you can then start using firewall-cmd command.

How To Enable Root On Mac

A full blog post with all the steps listed out can be found here. Macs are built on Unix and as such, you can use the terminal to run commands. However, by default root is disabled. This video will show you how to enable root on mac so you can run commands as sudo.

  • Click the apple symbol the upper left of your screen.
  • Click System Preferences
  • In the screen that appears click Users and Groups.
  • Click login options and then click the lock to allow you to make changes.
  • In the screen that appears enter your username and password.
  • Click Join next to Network account Server.
  • Then click Open Directory Utility.
  • In the screen that appears click the lock to allow you to make changes.
  • Enter your username and password.
  • Now at the top of the screen click edit & then Enable Root User.
  • Enter your root password and then click ok.
  • You can now run commands as root from the Mac Terminal

A full video can be found here: