generated from jhudsl/OTTR_Template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
03-terminal.Rmd
94 lines (58 loc) · 4.16 KB
/
03-terminal.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
```{r, include = FALSE}
ottrpal::set_knitr_image_path()
```
# (PART\*) Cluster 101 {-}
# Terminal Setup {#terminal}
```{r, echo=FALSE, fig.alt='We are on the third step of the pathway.', out.width = '80%', fig.align = 'center'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1BQxrVYdKZTbpCaF-i_q9w7s9x034lEXpQZDU-Sl09cs/edit#slide=id.gff2211b72f_1_183")
```
The next step is getting familiar with your Terminal. This is your portal to the cluster.
## What is a terminal?
The Terminal is a [command line interface](https://www.codecademy.com/article/command-line-interface){target="_blank"}. In other words, the Terminal is a software application that allows you to issue commands directly to your laptop or desktop computer. The Terminal is very useful because it allows you to run commands that don't have a point-and-click equivalent. It can also connect you to computer networks, such as the Fred Hutch cluster! The Terminal setup is different depending on your operating system. Jump to the [Windows](#windows), [MacOS](#mac), or [Linux](#linux) sections below.
<div class = "terminal">
"Terminal" used to be synonymous with "computer". With the creation of operating systems like Windows and MacOS, computers became much easier to use and exploded in popularity! Your colleagues are almost always referring to the command line application when they say "Terminal".
</div>
## Windows Setup {#windows}
<details><summary>Click to view steps</summary><p>
You will need to install a Terminal application called PuTTY to connect to the Fred Hutch Cluster.
1. You should then see PuTTY available in the Software Center. Click "Install" and go through the Setup Wizard.
```{r, echo=FALSE, fig.alt='The Software Center application lists available apps, including PuTTY.', out.width = '100%'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1BQxrVYdKZTbpCaF-i_q9w7s9x034lEXpQZDU-Sl09cs/edit#slide=id.g15643d101eb_4_15")
```
```{r, echo=FALSE, fig.alt='The PuTTY page inside Software Center. The Install button is highlighted.', out.width = '100%'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1BQxrVYdKZTbpCaF-i_q9w7s9x034lEXpQZDU-Sl09cs/edit#slide=id.g15643d101eb_4_20")
```
<div class = "notice">
You can also [install PuTTY manually](faq.html#manual-putty){target="_blank"} if you don't see it in the Software Center.
</div>
1. PuTTY should now be available in your applications. Click on PuTTY to open.
```{r, echo=FALSE, fig.alt='The PuTTY application now appears in the Windows app menu.', out.width = '100%'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1BQxrVYdKZTbpCaF-i_q9w7s9x034lEXpQZDU-Sl09cs/edit#slide=id.g15643d101eb_4_28")
```
1. You should now see the PuTTY Configuration menu.
```{r, echo=FALSE, fig.alt='The PuTTY configuration menu is open.', out.width = '100%'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1BQxrVYdKZTbpCaF-i_q9w7s9x034lEXpQZDU-Sl09cs/edit#slide=id.g15643d101eb_4_35")
```
</p></details>
## Mac Setup {#mac}
<details><summary>Click to view steps</summary><p>
Mac machines come with a Terminal installed.
1. Go to Finder > Applications > Utilities > Terminal and double-click.
```{r, echo=FALSE, fig.alt='Screenshot of the Utilities directory. The Terminal app is highlighted.', out.width = '100%'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1BQxrVYdKZTbpCaF-i_q9w7s9x034lEXpQZDU-Sl09cs/edit#slide=id.g149d37dd4a1_0_9")
```
1. Your Terminal should look like this:
```{r, echo=FALSE, fig.alt='Screenshot of the Mac Terminal.', out.width = '100%'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1BQxrVYdKZTbpCaF-i_q9w7s9x034lEXpQZDU-Sl09cs/edit#slide=id.g149d37dd4a1_0_2")
```
</p></details>
## Linux Setup {#linux}
<details><summary>Click to view steps</summary><p>
The commonly used Linux distribution, Ubuntu, already comes with a Terminal installed.
1. Press ctrl + alt + T. This should open a Terminal window.
1. Update the Terminal and prepare it for connecting to the cluster by running:
```
sudo apt install openssh-client
```
Enter your password and enter `Y` when prompted.
</p></details>