Commit 430eb812 authored by Sergio Coronado's avatar Sergio Coronado
Browse files

first elements

parent d863d4f2
# Linux Basics 101 and GitLab R3 Workshop
How to connect to a remote Session
---
## How to connect to a remote Session
***
+ Terminal
1. Windows
......@@ -13,14 +13,42 @@ How to connect to a remote Session
3. Linux
* Terminal
SSH key generation
Windows
PuTTyGEN
Mac / Linux
ssh-keygen
Create LUMS account (LCSB)
Add SSH key
Attach SSH key to LUMS account
Go to https://lcsb-ipa.uni.lu
Login with first.lastname and password linuxwork2015 (Note: Use your password for existing LUMS account
+ SSH key generation
1. Windows
*PuTTyGEN
2. Mac / Linux
*ssh-keygen
+ Create LUMS account (LCSB)
1. Add SSH key
2. Attach SSH key to LUMS account
3. Go to https://lcsb-ipa.uni.lu
4. Login with first.lastname and password linuxwork2015 (Note: Use your password for existing LUMS account)
+ Connecting to Virtual Machine
* ssh first.lastname@10.79.2.191 -p 8022
+ Check that it worked
* sysadmin@git-r3lab:~$ NOT slides git:master ❯
## Discover your surroundings
***
1. In which folder am I? (Hint: pwd)
2. What is the contents of the current folder? (Hint: ls)
3. Creating my first file (Hint: touch)
4. Creating my first folder (Hint: mkdir)
5. How do I enter my folder? (Hint: cd)
6. Moving my first file to the new folder (Hint: mv)
7. Copying **** (Hint: cp)
## Learn more about any *nix command
***
1. Go to your home folder (Hint: cd <no arguments>)
2. Are there any hidden files in my home folder? (Hint: man ls)
3. How do I get such nice documentation for other unix commands? (Hint: man <mycommand>)
## Copy files to the VM or from the VM (only using console!!)
***
1. Logout of the VM (Hint: logout)
2. Go to training folder (./linux-training) (Hint: cd)
3. Copy file1.txt to “my first folder” on the VM (Hint: scp –P 8022 first.lastname@1079.2.191:/myfirstfolder/)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment