|
@ -66,11 +66,13 @@ |
|
|
#### Prerequisites <a name="subparagraph1"></a> |
|
|
#### Prerequisites <a name="subparagraph1"></a> |
|
|
|
|
|
|
|
|
* node version >15 |
|
|
* node version >15 |
|
|
|
|
|
|
|
|
```sh |
|
|
```sh |
|
|
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash - |
|
|
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash - |
|
|
sudo apt-get install -y nodejs |
|
|
sudo apt-get install -y nodejs |
|
|
``` |
|
|
``` |
|
|
* docker |
|
|
* docker |
|
|
|
|
|
|
|
|
```sh |
|
|
```sh |
|
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
|
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
|
|
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" |
|
|
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" |
|
@ -79,16 +81,19 @@ |
|
|
sudo usermod -aG docker [USERNAME] |
|
|
sudo usermod -aG docker [USERNAME] |
|
|
``` |
|
|
``` |
|
|
* docker-compose |
|
|
* docker-compose |
|
|
|
|
|
|
|
|
```sh |
|
|
```sh |
|
|
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
|
|
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
|
|
sudo chmod +x /usr/local/bin/docker-compose |
|
|
sudo chmod +x /usr/local/bin/docker-compose |
|
|
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose |
|
|
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose |
|
|
``` |
|
|
``` |
|
|
* pm2 |
|
|
* pm2 |
|
|
|
|
|
|
|
|
```sh |
|
|
```sh |
|
|
sudo npm install -g pm2 |
|
|
sudo npm install -g pm2 |
|
|
``` |
|
|
``` |
|
|
* wireguard |
|
|
* wireguard |
|
|
|
|
|
|
|
|
```sh |
|
|
```sh |
|
|
sudo apt update |
|
|
sudo apt update |
|
|
sudo apt install wireguard jq |
|
|
sudo apt install wireguard jq |
|
|