1. Home
  2. Training Library
  3. Cloud Computing Fundamentals
  4. Courses
  5. Creating a Local Linux Shell Scripting Environment

Exercise 1 – Walkthrough – Part I – Windows Users Only

Exercise 1 – Walkthrough – Part I – Windows Users Only
Overview
Difficulty
Beginner
Duration
53m
Students
172
Ratings
5/5
starstarstarstarstar
Description

In this course, you're going to learn how to set up a local Linux shell scripting environment, whether you're using Windows, MacOS, or Red Hat Enterprise Linux. You'll be guided through the installation processes of Vagrant and VirtualBox—two tools that we will make your life easier as we work our way through the Linux Shell Scripting learning path. We'll also carry out some troubleshooting of the most common issues, should you face them.

This course is part of the Linux Shell Scripting learning path. To follow along with this course, you can download all the necessary resources here.

Learning Objectives

  • Set up a local Linux environment using Vagrant and VirtualBox
  • Troubleshoot any issues/errors

Intended Audience

  • Anyone who wants to learn Linux shell scripting 
  • Linux system administrators, developers, or programmers

Prerequisites

To get the most out of this course, you should have a basic understanding of the Linux command line.

Transcript

SSH, or secure shell is the network protocol used to connect to Linux systems. By default, Windows doesn't include an SSH client, Mac does so Mac users can go ahead and skip over this video. In order to get an SSH client on Windows, you can install Git, that's G-I-T. Git is used for version control but we're interested in the SSH client that it ships with. So, we're going to go ahead and download it, and be sure to use the link that's in the documentation. All right, well navigate to Git, and we're installing it for Windows, and we'll download it here. Go ahead and launch that installer. For the most part, we're going to answer the defaults, there's only one place where we're going to do something as slightly different. Just click on next, accept that default, this is fine. Yup, that's fine. And here's what we want to pay attention to. We want to use Git and optional Unix tools from the Windows Command Prompt. This will allow us to access the SSH command or the SSH client that ships with Git, so we'll go ahead and select that option, click next. And again, we'll just finish out with the defaults here. All right, and through the magic of video editing, I just cut that out so you didn't have to sit there and watch all those files extract, but that pretty much completes the installation, we'll go ahead and click finish. And then if we opened up a Command Prompt, we'll just search for Command Prompt, and here we go. So if you type in SSH, you'll get some sort of feedback here and that means an SSH client is installed on Windows and that's exactly what we're looking for. Let's go ahead and install the next piece of software which is Virtualbox. We'll go ahead and use the same website here, Virtualbox, we're running windows, and we'll go ahead and download it right there. All right, I'll launch the installer, and for this one we're going to accept all the defaults, nothing special to do here. Just keep clicking next. Answer yes. Okay, and we're done, we'll go ahead and click on finish. And there you have it, there is Virtualbox running so we know it's installed correctly, I'll go ahead and close out of this. And then there's one last piece of software we're going to install today, and that is Vagrant. We'll go to Vagrant, we're running Windows, and we'll download the installer here. And again, for this install, we're also going to just accept the defaults. Let's download it, I'm going to launch the installer. Ill just click next. Okay, we're done installing, I'll go ahead and click finish. And we'll go ahead and reboot our system. All right, and when the system reboots, you'll have Vagrant installed, Virtualbox and an SSH client, and you'll be ready for the rest of the project and for the rest of the course.

About the Author
Avatar
Jason Cannon
Founder, Linux Training Academy
Students
3428
Courses
61
Learning Paths
8

Jason is the founder of the Linux Training Academy as well as the author of "Linux for Beginners" and "Command Line Kung Fu." He has over 20 years of professional Linux experience, having worked for industry leaders such as Hewlett-Packard, Xerox, UPS, FireEye, and Amazon.com. Nothing gives him more satisfaction than knowing he has helped thousands of IT professionals level up their careers through his many books and courses.

Covered Topics