2024-10-26 01:59:45 +02:00
|
|
|
Installation de :
|
|
|
|
|
- git
|
|
|
|
|
- btop
|
|
|
|
|
- tree
|
|
|
|
|
- docker
|
2024-10-26 00:28:10 +02:00
|
|
|
```
|
2024-10-30 00:53:28 +01:00
|
|
|
curl -o install.sh https://ganesh.turing.untypequicode.fr/untypequicode/script-vps/raw/branch/main/install.sh
|
2024-10-26 00:28:10 +02:00
|
|
|
chmod +x install.sh
|
|
|
|
|
./install.sh
|
|
|
|
|
```
|
2024-10-26 00:58:19 +02:00
|
|
|
|
|
|
|
|
Si vous voulez procéder à la suite de docker
|
2024-10-30 00:58:55 +01:00
|
|
|
Installation docker de :
|
2024-10-26 02:23:19 +02:00
|
|
|
- nginx-proxy-manager:81
|
|
|
|
|
- grafana:3003
|
|
|
|
|
- prometheus:3002
|
|
|
|
|
- cadvisor:3001
|
2024-10-26 01:59:45 +02:00
|
|
|
- npm
|
|
|
|
|
- nvm
|
2024-10-30 03:04:17 +01:00
|
|
|
|
2024-10-30 01:54:05 +01:00
|
|
|
L'id du dashboard de grafana est `15282`.
|
|
|
|
|
L'url de prometheus est `http://172.17.0.1:3002`.
|
2024-10-26 00:58:19 +02:00
|
|
|
```
|
|
|
|
|
sudo usermod -aG docker $USER
|
|
|
|
|
mkdir -p /home/$USER/docker
|
|
|
|
|
sudo chown $USER:$USER /var/run/docker.sock
|
|
|
|
|
sudo chown -R $USER:$USER /home/$USER/docker
|
|
|
|
|
sudo chmod -R 775 /home/$USER/docker
|
2024-10-30 00:53:28 +01:00
|
|
|
curl -o install-docker.sh https://ganesh.turing.untypequicode.fr/untypequicode/script-vps/raw/branch/main/install-docker.sh
|
2024-10-26 00:58:19 +02:00
|
|
|
chmod +x install-docker.sh
|
|
|
|
|
./install-docker.sh
|
|
|
|
|
```
|
2024-10-26 01:14:04 +02:00
|
|
|
|
|
|
|
|
Si vous voulez procéder à l'installation de site web vuejs
|
|
|
|
|
```
|
|
|
|
|
source ~/.bashrc
|
2024-10-28 19:39:32 +01:00
|
|
|
nvm install 20.18.0
|
|
|
|
|
nvm use 20.18.0
|
2024-10-30 00:53:28 +01:00
|
|
|
curl -o install-vuejs.sh https://ganesh.turing.untypequicode.fr/untypequicode/script-vps/raw/branch/main/install-vuejs.sh
|
2024-10-26 01:14:04 +02:00
|
|
|
chmod +x install-vuejs.sh
|
|
|
|
|
./install-vuejs.sh
|
|
|
|
|
```
|
2024-10-28 19:39:32 +01:00
|
|
|
|
|
|
|
|
Si vous voulez procéder à l'installation de strapi
|
2024-10-30 00:58:55 +01:00
|
|
|
Installation docker de :
|
|
|
|
|
- strapi:3004
|
2024-10-28 19:39:32 +01:00
|
|
|
```
|
2024-10-30 00:53:28 +01:00
|
|
|
curl -o install-strapi.sh https://ganesh.turing.untypequicode.fr/untypequicode/script-vps/raw/branch/main/install-strapi.sh
|
2024-10-28 19:39:32 +01:00
|
|
|
chmod +x install-strapi.sh
|
|
|
|
|
./install-strapi.sh
|
|
|
|
|
```
|
2024-10-30 01:22:19 +01:00
|
|
|
|
2024-10-30 01:23:10 +01:00
|
|
|
L'adresse IP des docker est `172.17.0.1`.
|