Skip to content

Commit 0a73b86

Browse files
author
github-actions
committed
setup guides generated
1 parent da6dcd5 commit 0a73b86

6 files changed

Lines changed: 190 additions & 135 deletions

File tree

LINUX.es.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,36 @@ Aquí está la lista de las extensiones que estás instalando:
8282

8383
## Herramientas de línea de comando
8484

85+
### Comprueba la configuración regional (locale)
86+
87+
La "locale" es un mecanismo que permite adaptar los programas a su idioma y país.
88+
89+
Comprobemos que la configuración regional por defecto es el inglés:
90+
91+
```bash
92+
locale
93+
```
94+
95+
Si la salida no contiene `LANG=en_US.UTF-8`, ejecute el siguiente comando en un Ubuntu terminal para instalar la locale inglesa:
96+
97+
```bash
98+
sudo locale-gen en_US.UTF-8
99+
```
100+
101+
Si después, recibes una advertencia (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) en tu terminal, por favor haz lo siguiente:
102+
103+
<details>
104+
<summary>Generar la configuración regional<>/summary>
105+
106+
Por favor, ejecuta estas líneas en tu terminal.
107+
108+
```bash
109+
sudo update-locale LANG=en_US.UTF8
110+
sudo apt-get update
111+
sudo apt-get install language-pack-en language-pack-en-base manpages
112+
```
113+
</details>
114+
85115
### Zsh & Git
86116

87117
En lugar de usar el `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)) predeterminado, usaremos `zsh`.

LINUX.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,36 @@ Here is a list of the extensions you are installing:
9797

9898
## Command line tools
9999

100+
### Check the locale
101+
102+
The locale is a mechanism allowing to customize programs to your language and country.
103+
104+
Let's verify that the default locale is set to English, please type this in the Ubuntu terminal:
105+
106+
```bash
107+
locale
108+
```
109+
110+
If the output does not contain `LANG=en_US.UTF-8`, run the following command in a Ubuntu terminal to install the english locale:
111+
112+
```bash
113+
sudo locale-gen en_US.UTF-8
114+
```
115+
116+
If after, you receive a warning (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) in your terminal, please do the following:
117+
118+
<details>
119+
<summary>Generate locale</summary>
120+
121+
Please, run this lines in your terminal.
122+
123+
```bash
124+
sudo update-locale LANG=en_US.UTF8
125+
sudo apt-get update
126+
sudo apt-get install language-pack-en language-pack-en-base manpages
127+
```
128+
</details>
129+
100130
### Zsh & Git
101131

102132
Instead of using the default `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)), we will use `zsh`.

VM.es.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,36 @@ Aquí está la lista de las extensiones que estás instalando:
249249

250250
## Herramientas de línea de comando
251251

252+
### Comprueba la configuración regional (locale)
253+
254+
La "locale" es un mecanismo que permite adaptar los programas a su idioma y país.
255+
256+
Comprobemos que la configuración regional por defecto es el inglés:
257+
258+
```bash
259+
locale
260+
```
261+
262+
Si la salida no contiene `LANG=en_US.UTF-8`, ejecute el siguiente comando en un Ubuntu terminal para instalar la locale inglesa:
263+
264+
```bash
265+
sudo locale-gen en_US.UTF-8
266+
```
267+
268+
Si después, recibes una advertencia (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) en tu terminal, por favor haz lo siguiente:
269+
270+
<details>
271+
<summary>Generar la configuración regional<>/summary>
272+
273+
Por favor, ejecuta estas líneas en tu terminal.
274+
275+
```bash
276+
sudo update-locale LANG=en_US.UTF8
277+
sudo apt-get update
278+
sudo apt-get install language-pack-en language-pack-en-base manpages
279+
```
280+
</details>
281+
252282
### Zsh & Git
253283

254284
En lugar de usar el `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)) predeterminado, usaremos `zsh`.

VM.md

Lines changed: 38 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -216,85 +216,20 @@ Go to your project [APIs dashboard](https://console.cloud.google.com/apis/dashbo
216216
- Compute Engine is now enabled on your project
217217

218218

219-
## Virtual Machine (VM)
220-
221-
**👌 Note: Skip to the next section if you already have a VM set up**
222-
223-
_Note: The following section requires you already have a [Google Cloud Platform](https://cloud.google.com/) account associated with an active [Billing account](https://console.cloud.google.com/billing)._
224-
225-
- Go to console.cloud.google.com > > Compute Engine > VM instances > Create instance
226-
- Name it `lewagon-data-eng-vm-<github_username>`, replace `<github_username>` with your own, e.g. `krokrob`
227-
- Region `europe-west1`, choose the closest one among the [available regions](https://cloud.google.com/compute/docs/regions-zones#available)
228-
229-
<img alt="gcloud-console-vm-create-instance" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-create-instance.png" width=500>
230-
- In the section `Machine configuration` under the sub-heading `Machine type`
231-
- Select General purpose > PRESET > e2-standard-4
232-
233-
<img alt="gcloud-console-vm-e2-standard4" src="https://wagon-public-assets.s3.eu-west-3.amazonaws.com/v9dv42llst8qjp2uj0d1yr00po1g" width=500>
234-
- Boot disk > Change
235-
- Operating system > Ubuntu
236-
- Version > Ubuntu 22.04 LTS x86/64
237-
- Boot disk type > Balanced persistent disk
238-
- Size > upgrade to 150GB
239-
240-
<img alt="gcloud-console-vm-ubunt" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-ubunt.png" width=500>
241-
- Open `Networking, Disks, ...` under `Advanced options`
242-
- Open `Networking`
243-
244-
<img alt="gcloud-console-vm-networking" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-networking.png" width=500>
245-
- Go to `Network interfaces` and click on `default default (...)` with a downward arrow on the right.
246-
247-
<img alt="gcloud-console-vm-network-interfaces" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-network-interfaces.png" width=500>
248-
- This opened a box `Edit network interface`
249-
- Go to the dropdown `External IPv4 address`, click on it, click on `RESERVE STATIC EXTERNAL IP ADDRESS`
250-
251-
<img alt="gcloud-console-vm-create-static-ip" src="https://wagon-public-assets.s3.eu-west-3.amazonaws.com/1ax09j2zld7x0lsvpp9p8ld8u5vc" width=300>
252-
- Give it a name, like "lewagon-data-eng-vm-ip-<github_username>" (replace `<github_username>` with your own) and description "Le Wagon - Data Engineering VM IP". This will take a few seconds.
253-
254-
<img alt="gcloud-console-reserve-static-ip" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-reserve-static-ip.png" width=300>
255-
256-
- You will now have a public IP associated with your account, and later to your VM instance. Click on `Done` at the bottom of the section `Edit network interface` you were in.
257-
258-
<img alt="gcloud-console-new-external-ip" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-new-external-ip.png" width=300>
259-
260-
### Public SSH key
261-
- Open the `Security` section
262-
263-
<img alt="gcloud-console-vm-security" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-security.png" width=300>
264-
- Open the `Manage access` subsection
265-
266-
<img alt="gcloud-console-manage-access" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-manage-access.png" width=200>
267-
- Go to `Add manually generated SSH keys` and click `Add item`
268-
269-
<img alt="gcloud-console-add-manual-ssh-key" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-add-manual-ssh-key.png" width=500>
270-
- In your terminal display your public SSH key:
271-
- Windows: navigate to where you created your SSH key and open `id_ed25519.pub`
272-
273-
- Mac/Linux users can use:
274-
```bash
275-
cat ~/.ssh/id_ed25519.pub
276-
# OR cat ~/.ssh/de-bootcamp.pub if you created a unique key
277-
```
278-
- Copy your public SSH key and paste it:
279-
280-
<img alt="gcloud-console-add-ssh-key-pub" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-add-ssh-key-pub.png" width=500>
281-
- On the right hand side you should see
282219

283-
<img alt="gcloud-console-vm-price-month" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-price-month.png" width=300>
284-
- You should be good to go and click `CREATE` at the bottom
220+
## Virtual Machine (VM)
285221

286-
<img alt="gcloud-console-vm-create" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-create.png" width=500>
287-
- It will take a few minutes for your virtual machine (VM) to be created. Your instance will show up like below when ready, with a green circled tick, named `lewagon-data-eng-vm-krokrob` (`krokrob` being replaced by your GitHub username).
222+
_Note: The VM setup requires a [Google Cloud Platform](https://cloud.google.com/) account associated with an active [Billing account](https://console.cloud.google.com/billing)_
288223

289-
<img alt="gcloud-console-vm-instance-running" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-instance-running.png" width=500>
290-
- Click on your instance
224+
ℹ️ In the guide, left click to drag the screenshots if necessary
291225

292-
<img alt="gcloud-console-vm-running" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-running.png" width=500>
293-
- Go down to the section `SSH keys`, and write down your username (you need it for the next section)
226+
ℹ️ You may adjust the aspect ratio of your browser window to see the full screenshots
294227

295-
<img alt="gcloud-console-vm-username" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/gcloud-console-vm-username.png" width=300>
228+
<a href="https://scribehow.com/embed/Create_a_Google_Cloud_VM_Instance_with_SSH_Key__1ohFlAbSR9yoG28S0PDfwg">
229+
<img src="https://github.com/lewagon/data-engineering-setup/blob/main/images/scribe_gcp_vm.png" alt="scribe gcp vm" width="500">
230+
</a>
296231

297-
Congrats, your virtual machine is up and running, it is time to connect it with VS Code!
232+
**👌 Follow [this guide](https://scribehow.com/embed/Create_a_Google_Cloud_VM_Instance_with_SSH_Key__1ohFlAbSR9yoG28S0PDfwg) or skip to the next section if you already have a VM set up**
298233

299234

300235
## Visual Studio Code
@@ -420,6 +355,36 @@ Here is a list of the extensions you are installing:
420355

421356
## Command line tools
422357

358+
### Check the locale
359+
360+
The locale is a mechanism allowing to customize programs to your language and country.
361+
362+
Let's verify that the default locale is set to English, please type this in the Ubuntu terminal:
363+
364+
```bash
365+
locale
366+
```
367+
368+
If the output does not contain `LANG=en_US.UTF-8`, run the following command in a Ubuntu terminal to install the english locale:
369+
370+
```bash
371+
sudo locale-gen en_US.UTF-8
372+
```
373+
374+
If after, you receive a warning (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) in your terminal, please do the following:
375+
376+
<details>
377+
<summary>Generate locale</summary>
378+
379+
Please, run this lines in your terminal.
380+
381+
```bash
382+
sudo update-locale LANG=en_US.UTF8
383+
sudo apt-get update
384+
sudo apt-get install language-pack-en language-pack-en-base manpages
385+
```
386+
</details>
387+
423388
### Zsh & Git
424389

425390
Instead of using the default `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)), we will use `zsh`.

WINDOWS.es.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -348,36 +348,6 @@ Debería devolver el nombre de usuario que elegiste anteriormente.
348348

349349
:x: Si dice `root`, **contacta a un profesor** antes de continuar.
350350

351-
### Comprueba la configuración regional (locale)
352-
353-
La "locale" es un mecanismo que permite adaptar los programas a su idioma y país.
354-
355-
Comprobemos que la configuración regional por defecto es el inglés:
356-
357-
```bash
358-
locale
359-
```
360-
361-
Si la salida no contiene `LANG=en_US.UTF-8`, ejecute el siguiente comando en un Ubuntu terminal para instalar la locale inglesa:
362-
363-
```bash
364-
sudo locale-gen en_US.UTF-8
365-
```
366-
367-
Si después, recibes una advertencia (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) en tu terminal, por favor haz lo siguiente:
368-
369-
<details>
370-
<summary>Generar la configuración regional<>/summary>
371-
372-
Por favor, ejecuta estas líneas en tu terminal.
373-
374-
```bash
375-
sudo update-locale LANG=en_US.UTF8
376-
sudo apt-get update
377-
sudo apt-get install language-pack-en language-pack-en-base manpages
378-
```
379-
</details>
380-
381351

382352
## Visual Studio Code
383353

@@ -490,7 +460,7 @@ Luego deshabilita el warning para copiar y pegar comandos entre Windows y Ubuntu
490460
- Agrega la siguiente línea debajo de eso:
491461

492462
```bash
493-
"multiLinePasteWarning": false,
463+
"warning.multiLinePaste": false,
494464
```
495465

496466
:warning: ¡No olvides la coma al final de la línea!
@@ -533,6 +503,36 @@ Aquí está la lista de las extensiones que estás instalando:
533503

534504
## Herramientas de línea de comando
535505

506+
### Comprueba la configuración regional (locale)
507+
508+
La "locale" es un mecanismo que permite adaptar los programas a su idioma y país.
509+
510+
Comprobemos que la configuración regional por defecto es el inglés:
511+
512+
```bash
513+
locale
514+
```
515+
516+
Si la salida no contiene `LANG=en_US.UTF-8`, ejecute el siguiente comando en un Ubuntu terminal para instalar la locale inglesa:
517+
518+
```bash
519+
sudo locale-gen en_US.UTF-8
520+
```
521+
522+
Si después, recibes una advertencia (`bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)`) en tu terminal, por favor haz lo siguiente:
523+
524+
<details>
525+
<summary>Generar la configuración regional<>/summary>
526+
527+
Por favor, ejecuta estas líneas en tu terminal.
528+
529+
```bash
530+
sudo update-locale LANG=en_US.UTF8
531+
sudo apt-get update
532+
sudo apt-get install language-pack-en language-pack-en-base manpages
533+
```
534+
</details>
535+
536536
### Zsh & Git
537537

538538
En lugar de usar el `bash` [shell](https://en.wikipedia.org/wiki/Shell_(computing)) predeterminado, usaremos `zsh`.

0 commit comments

Comments
 (0)