Homepage | Content | Slides | Video |
Warning
This lesson is under construction. Learn from it at your own risk. If you have any feedback, please fill out our General Feedback Survey.
A 10,000ft view of the world
What other vocabulary can you think of related to DevOps?
What about Silicon Valley, Programming, System Administration, etc?
Note
This is a TODO. It’s basically an exercise or activity but with a cheeky name. Try them out if you don’t feel confident in a topic.
#! /usr/bin/env python
# This is a code block.
# Most of the time you can copy this code and run it exactly as is.
# It should be clear Where it 'goes' and how to run it based on context.
print('Hello world!')
$ echo Hello World # Copy the text after `$` into your termianal and press enter.
Trick question: how would you read this
#!/bin/python
dogs = ['$BREED_ONE', '$BREED_TWO', '$BREED_THREE']
for breed in dogs:
print(breed)
Replace the $BREED_N with actual dog breeds.
#!/bin/python
dogs = ['corgie', 'pug', 'french bulldog']
for breed in dogs:
print(breed)
Install an SSH Client (install Putty)
Log into your remote Linux environment using the credentials given to you.
- Under Host Name (or IP address) enter <user>@<host>, under Port enter <port>.
- You will be prompted for your password in new window, it will hide the password as you type it.
We suggest you install Vagrant, a tool which makes it easy to run and acquire Virtual Machines.
You may also need to install VirtualBox, a tool necessary for Vagrant to function.
Challenge Change your password on your Linux machine.
$ passwd
Changing password for user <user>.
Changing password for <user>.
(current) UNIX password: # Enter old password, hidden
New password: # Enter new password, also hidden
Retype new password:
passwd: all authentication tokens updated successfully.
Don’t forget: when you login next time, use the new password you just set.