Skip to content

Commit

Permalink
fix: node-nulink.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Feb 11, 2024
1 parent 3bccccb commit 5a97505
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions sources/blockchain/node-nulink.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ Maintenant, quand tu devras communiquer avec, ou te connecter, au serveur, tu n'

````{admonition} Commandes avant/après
:class: dropdown
:type: hint
Avant :
Expand Down Expand Up @@ -185,26 +184,26 @@ ssh nulink

#### Mise à Jour

Mets à jour le système d'exploitation :
Mets à jour le système d'exploitation, puis redémarre :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 17-20
:language: shell
```

Patiente quelques secondes et [reconnecte toi](#connexion) au serveur.

#### Pare-feu

Installe le pare-feu, puis redémarre :
Installe le pare-feu :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 22-26
:language: shell
```

Patiente quelques secondes et [reconnecte toi](#connexion) au serveur.

#### Docker

Installe Docker :
Expand Down
4 changes: 2 additions & 2 deletions sources/blockchain/snippets/node-nulink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ scp keystore/UTC--* nulink:/root \
apt update \
&& apt full-upgrade -y \
&& apt autoremove -y \
&& echo 'OK'
&& reboot

apt install -y ufw \
&& ufw allow ssh \
&& ufw allow 9151/tcp \
&& ufw enable \
&& reboot
&& echo 'OK'

curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc \
&& echo \
Expand Down

0 comments on commit 5a97505

Please sign in to comment.