Tuesday, August 4, 2020

MacMini - Day 1

I honestly forgot that I should write blog posts about my videos. Also I am not overly happy with how this video looks or feels so I will be playing with that as time goes on.



So in this video we do a few basic things, re-arrange the dock, and installed a few applications
oh-my-zsh was installed using the curl command to fetch the installation script and the run it.

As an added bonus, if you are on a Mac, you will get an error about

Insecure completion-dependent directories detected:

To resolve that issue just run the command it gives you on the directory it shows. In my case it was

compaudit| xargs chmod g-w,o-w /usr/local/share/zsh

Then the error warning about not being able to load completion rules went away.
 
Install instructions:

$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 


With brew again we have a curl to a script for installation, and this one did not give any issues.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Brew is used to install a lot of items we will need form the command line, as a simple package manager kind of like apt or yum in the linux world.

It comes in really handy and has a lot of support for being able to install just about any FOSS appication.

Next we want to install Amazon Web Services Command Line Interface  (AWS CLI), it will be used more later, but as for right now, we just want to install it.
With AWS CLI from brew, it will also install Python 3.8.5. This can be handy later or it could mess up anything you were working on within python.
brew install awscli


With terraform we will be using it to deploy the environment to AWS. It will be used to limit mistakes and make results repeatable. I will also be uploading my code to github after it is completed.

brew install terraform
With VS Code we will be using it as an Integrated Development Environment for things like Terraform and Docker. We will also use it for a lot of general editing.
brew cask install visual-studio-code

With docker we did a standard install to get the desktop services, Docker Desktop, and this will be more for ease of use and container configuiration.


  • Hardware
If you are curious about the hardware it is a 2012 MacMini i7, 16BG RAM, 1TB SSD. This hardware should be good enough to run a few containers. There is a chance that a change that this MacMini will get bootcamp and have Windows 10 installed just to show counter points, but it depends on audience request.