- Install Xcode Developer Tools (Choose one option):
- Install Git:
- Option 1: Xcode
- Install Xcode from the App Store.
- Option 2: Command Line Tools (CLT) for Xcode
- Open Terminal and run the following command:
xcode-select --install
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Update Homebrew:
brew update
- Install Git:
brew install git
- Verify Git version:
git --version
- If the version is from Apple, update the PATH:
export PATH=/usr/local/bin:$PATH
- Install Git Cola:
brew install git-cola
- Set up GitLab Access:
- Set up SSH Keys for GitLab:
- Follow the steps in the guide for configuring new SSH keys.
- Install Node.js:
brew install node
- Verify Node.js and NPM:
node -v
npm -v
- Install Nodemon:
npm install -g nodemon
- Install MySQL:
brew install mysql
- Set MySQL password:
mysqladmin -u <admin-user-name> password
- Install Redis:
brew install redis
- Install MongoDB:
brew install mongodb
- Install IntelliJ IDEA Community Edition: Follow the installation instructions here
- Install Java 11:
brew install java11
- Create a symlink for Java 11:
sudo ln -sfn /usr/local/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk
- Verify the installation:
java --version
- Set Default JDK to Java 11: Follow the instructions here
- Install Python instructions here
- Install AWS CLI 2: Follow the instructions here
- Install AWS SAM CLI: Follow the instructions here
- Configure AWS SSO with AWS CLI: Follow the instructions here
- Install iTerm2: Download and install iTerm2 from here
- Install Oh My Zsh: Follow the instructions here
- Install Sublime Text: Download and install Sublime Text from here
- Install Postman:
brew install --cask postman
- Download and install Postman from here.
- Install Xcode Developer Tools (Choose one option):
- Install Git:
- Install Git from Git - Downloads
- Verify Git version:
git --version
- If the version is from Apple, update the PATH:
export PATH=/usr/local/bin:$PATH
- Install Git Cola:
brew install git-cola
- Set up GitLab Access:
- Set up SSH Keys for GitLab:
- Follow the steps in the guide for configuring new SSH keys.
- Install Node.js from Node.js
- Verify Node.js and NPM:
node -v
npm -v
- Install Nodemon:
npm install -g nodemon
- Install MySQL using the MySQL Installer
- Install Redis: from here
- Install MongoDB:
- Install IntelliJ IDEA Community Edition: Follow the installation instructions here
- Install Java 11:
- Download Java SE 11 from Java Archive Downloads
- Add installed JDK to PATH. Learn how from GeeksforGeeks
- Verify the installation:
java --version
- Set Default JDK to Java 11: Follow the instructions here
- Install Python instructions here
- Install AWS CLI: Follow the instructions here
- Install AWS SAM CLI: Follow the instructions here
- Configure AWS SSO with AWS CLI: Follow the instructions here
- Install Sublime Text: Download and install Sublime Text from here
- Install Postman: Download and install Postman from here
In order to clone repositories down to your development environment, you will need to generate an SSH key pair specifically to use with GitLab.
Please follow the below instructions for setting up your GitLab keys on your Linux (WSL) or macOs development machine:
- Generate an SSH key:
ssh-keygen
The command will generate a public and private key pair and will ask you to enter a file in which to save the key (press enter to use the default location/file):
Generating public/private rsa key pair. Enter file in which to save the key (/home/user/.ssh/id_rsa): Enter a passphrase for your key pair or leave empty: Enter passphrase (empty for no passphrase): Enter same passphrase again:
Your public and private key will be saved in
/home/user/.ssh
Your public key has been saved in /home/user/.ssh/id_rsa.pub The key fingerprint is: SHA256: xyz The key's randomart image is: Ascii image...
- Saving your public key on GitLab:
Once you have generated your key pair, you need to copy the public key to GitLab.
- Open the SSH public key file generated in the previous step using:
cat ~/.ssh/id_rsa.pub
- Copy the contents of the SSH public key file to your clipboard and add to GitLab using the following steps.
Navigate your profile icon in the top right-hand corner and in the drop-down menu, select Edit Profile. Once on your profile screen, select SSH Keys from the menu on the left-hand side and enter the content of your public SSH key in the text box under Add an SSH Key (the file should end with .pub). Once your key is in place, add a descriptive name and select the Add Key button.
In order to clone repositories down to your development environment, you will need to generate an SSH key pair specifically to use with GitLab.
Please follow the below instructions for setting up your GitLab keys on your macOS development machine:
- Generate an SSH key:
ssh-keygen
The command will generate a public and private key pair and will ask you to enter a file in which to save the key (press enter to use the default location/file):
Generating public/private rsa key pair. Enter file in which to save the key (/Users/yourusername/.ssh/id_rsa): Enter a passphrase for your key pair or leave empty: Enter passphrase (empty for no passphrase): Enter same passphrase again:
Your public and private key will be saved in
/Users/yourusername/.ssh
Your public key has been saved in /Users/yourusername/.ssh/id_rsa.pub The key fingerprint is: SHA256: xyz The key's randomart image is: Ascii image...
- Saving your public key on GitLab:
Once you have generated your key pair, you need to copy the public key to GitLab.
- Open the SSH public key file generated in the previous step using:
cat ~/.ssh/id_rsa.pub
- Copy the contents of the SSH public key file to your clipboard and add to GitLab using the following steps.
Navigate your profile icon in the top right-hand corner and in the drop-down menu, select Edit Profile. Once on your profile screen, select SSH Keys from the menu on the left-hand side and enter the content of your public SSH key in the text box under Add an SSH Key (the file should end with .pub). Once your key is in place, add a descriptive name and select the Add Key button.
Terraform is a powerful Infrastructure as Code (IaC) tool. Follow these steps to install Terraform on your Linux (WSL) development machine:
- Download Terraform:
curl -O https://releases.hashicorp.com/terraform/0.14.7/terraform_0.14.7_linux_amd64.zip
- Unzip the downloaded package:
unzip terraform_0.14.7_linux_amd64.zip
- Move the Terraform binary to a directory included in your system's PATH (e.g., /usr/local/bin/):
sudo mv terraform /usr/local/bin/
- Verify the installation:
terraform --version
You should see Terraform's version information if the installation was successful.
- Create a Terraform Configuration File (e.g., main.tf):
touch main.tf
After running the above command, you will have created an empty Terraform configuration file named "main.tf". This file is where you define your infrastructure using HashiCorp Configuration Language (HCL).
Edit the configuration file with your infrastructure code using a text editor of your choice. For example, you can use:
nano main.tf
This command opens the "main.tf" file in the chosen text editor. Add your Terraform configuration code to define and configure the desired infrastructure.
- Initialize the Terraform Configuration:
terraform init
This command initializes the working directory and downloads the necessary plugins.
- Review and Apply the Terraform Configuration:
terraform apply
Review the proposed changes and type "yes" to apply them. Terraform will provision the defined infrastructure.
Terraform is a powerful Infrastructure as Code (IaC) tool. Follow these steps to install Terraform on your macOS development machine:
- Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Terraform using Homebrew:
brew install terraform
- Verify the installation:
terraform --version
You should see Terraform's version information if the installation was successful.
- Create a Terraform Configuration File (e.g., main.tf):
touch main.tf
After running the above command, you will have created an empty Terraform configuration file named "main.tf". This file is where you define your infrastructure using HashiCorp Configuration Language (HCL).
Edit the configuration file with your infrastructure code using a text editor of your choice. For example, you can use:
nano main.tf
This command opens the "main.tf" file in the chosen text editor. Add your Terraform configuration code to define and configure the desired infrastructure.
- Initialize the Terraform Configuration:
terraform init
This command initializes the working directory and downloads the necessary plugins.
- Review and Apply the Terraform Configuration:
terraform apply
Review the proposed changes and type "yes" to apply them. Terraform will provision the defined infrastructure.
Jenkins is a popular open-source automation server. Follow these steps to install Jenkins on your Windows machine:
- Download Jenkins MSI Installer from the official website:
https://www.jenkins.io/download/
- Run the installer and follow the on-screen instructions to complete the installation.
- Access Jenkins in your web browser:
http://localhost:8080
Open the provided URL in your web browser. Follow the instructions to unlock Jenkins, retrieve the initial password, and complete the setup wizard.
- Install Jenkins plugins (Optional):
Once Jenkins is running, you can install additional plugins based on your requirements. Navigate to Jenkins Dashboard > Manage Jenkins > Manage Plugins and install the desired plugins.
- Install Java Development Kit (JDK):
sudo apt-get update
sudo apt-get install openjdk-8-jdk
- Install Jenkins:
sudo wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
- Start the Jenkins service:
sudo systemctl start jenkins
This command starts the Jenkins service.
- Access Jenkins in your web browser:
http://localhost:8080
Open the provided URL in your web browser. Follow the instructions to unlock Jenkins, retrieve the initial password, and complete the setup wizard.
- Install Jenkins plugins (Optional):
Once Jenkins is running, you can install additional plugins based on your requirements. Navigate to Jenkins Dashboard > Manage Jenkins > Manage Plugins and install the desired plugins.
Jenkins is a popular open-source automation server. Follow these steps to install Jenkins on your macOS machine:
- Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Jenkins using Homebrew:
brew install jenkins
- Start the Jenkins service:
brew services start jenkins
This command starts the Jenkins service and ensures it starts automatically on system boot.
- Access Jenkins in your web browser:
open http://localhost:8080
Open the provided URL in your web browser. Follow the instructions to unlock Jenkins, retrieve the initial password, and complete the setup wizard.
- Install Jenkins plugins (Optional):
Once Jenkins is running, you can install additional plugins based on your requirements. Navigate to Jenkins Dashboard > Manage Jenkins > Manage Plugins and install the desired plugins.
Docker is a platform for developing, shipping, and running applications in containers. Follow these steps to install Docker on your macOS machine:
- Download and install Docker Desktop from the official website:
https://www.docker.com/products/docker-desktop
- Run the installer and follow the on-screen instructions to complete the installation.
- Start Docker Desktop from your Applications folder.
- Open a terminal and run the following command to verify the installation:
docker --version
You should see Docker's version information if the installation was successful.
- Run a test container to ensure Docker is working:
docker run hello-world
You should see a "Hello from Docker!" message, indicating that your Docker installation is operational.
- Explore Docker further:
Now that Docker is installed, you can start building, running, and managing containers for your applications.
Docker is a platform for developing, shipping, and running applications in containers. Follow these steps to install Docker on your Windows machine:
- Download and install Docker Desktop for Windows from the official website:
https://www.docker.com/products/docker-desktop
- Run the installer and follow the on-screen instructions to complete the installation.
- Start Docker Desktop from the Start menu.
- Open a PowerShell or Command Prompt window and run the following command to verify the installation:
docker --version
You should see Docker's version information if the installation was successful.
- Run a test container to ensure Docker is working:
docker run hello-world
You should see a "Hello from Docker!" message, indicating that your Docker installation is operational.
- Explore Docker further:
Now that Docker is installed, you can start building, running, and managing containers for your applications.
AWS offers a Free Tier that includes a variety of services with limited usage for 12 months. Follow these steps to create your AWS Free Tier account:
- Visit the AWS Free Tier signup page:
https://aws.amazon.com/free/
- Click on the "Create an AWS Account" button.
- Follow the on-screen instructions to provide your email address, create a password, and set up your AWS account.
- Enter your contact information and payment details (even though you won't be charged during the Free Tier period).
- Continue to the identity verification process by providing a phone number and entering the verification code.
- Choose a support plan (you can select the Free plan).
- Complete the signup process and log in to the AWS Management Console using your newly created credentials.
- Navigate to the AWS Free Tier Dashboard to monitor your usage and limits:
https://aws.amazon.com/free/dashboard/
Here, you can explore the available services and start using AWS within the Free Tier limits.
Follow these steps to install and configure the AWS CLI and AWS SAM CLI on your Windows machine:
- Install AWS CLI:
Download the AWS CLI installer for Windows from here and follow the installation instructions.
- Check AWS CLI version:
aws --version
- Make sure you have version 2.x installed.
- Configure AWS CLI:
aws configure
If using on a personal AWS account for training purposes, otherwise configure for SSO.
- Check IAM user:
aws iam get-user
If using on a personal AWS account for training purposes, otherwise configure for SSO.
- Check Java version:
java -version
- Install AWS SAM CLI:
Download the AWS SAM CLI installer for Windows from here and follow the installation instructions.
- Check SAM CLI installation:
sam --version
- Install Docker:
Download and install Docker Desktop for Windows from here.
- Check Docker version:
docker --version
- Configure for SSO Using AWS SSO with AWS CLI:
Follow the instructions here.
- Training Resources:
Follow these steps to install and configure the AWS CLI and AWS SAM CLI on your machine:
- Install AWS CLI:
brew install awscli
OR
Install or update the latest version of the AWS CLI - AWS Command Line Interface. from AWS and select
Command line installer - all users
. Follow on-screen instructions. * Recommended method.- Check AWS CLI version:
aws --version
- Make sure you have version 2.x installed.
- Configure AWS CLI:
aws configure
If using on a personal AWS account for training purposes, otherwise configure for SSO.
- Check IAM user:
aws iam get-user
If using on a personal AWS account for training purposes, otherwise configure for SSO.
- Check Java version:
java -version
- Install AWS SAM CLI:
Installing the AWS SAM CLI - AWS Serverless Application Model.
brew install aws-sam-cli
- OR
- If you never installed the AWS cli via brew but installed via AWS do the same for the AWS SAM Cli
Go to AWS and follow on-screen instructions.
- Check SAM CLI installation:
which sam
- Install Docker:
Get Docker from here.
- Check Docker version:
docker --version
- Configure for SSO Using AWS SSO with AWS CLI:
Follow the instructions here.
- Training Resources:
Python is a powerful programming language. Follow these steps to install Python on your MacOS machine:
- Check if Python is already installed by opening Terminal and typing `python --version`. If Python is installed, this command will display the version number. If it's not installed, you'll see a message saying "command not found".
- If Python is not installed or you want to install a newer version, you can use Homebrew, a package manager for MacOS. If you haven't installed Homebrew yet, you can install it by pasting the following command in Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Once Homebrew is installed, you can install Python by typing `brew install python`. This will install the latest version of Python.
- After the installation is complete, you can check the Python version again by typing `python --version`.
Remember, you might need to replace `python` with `python3` in the commands above, depending on your system configuration.
Python is a powerful programming language. Follow these steps to install Python on your Windows machine:
- Go to the official Python downloads page at
https://www.python.org/downloads/windows/
.- Click on the yellow button labeled "Latest Python Release". This will download the executable file for the latest version of Python.
- Once the download is complete, run the executable file. This will start the Python installer.
- In the first screen of the installation wizard, there will be an option at the bottom that says "Add Python to PATH". Make sure this option is checked. This will allow you to run Python from any directory without having to type the full path to the Python executable.
- Click "Install Now" and follow the prompts to complete the installation.
- After the installation is complete, you can verify the installation by opening Command Prompt and typing `python --version`. This should display the version number of the Python interpreter.