File tree Expand file tree Collapse file tree 1 file changed +29
-9
lines changed
Expand file tree Collapse file tree 1 file changed +29
-9
lines changed Original file line number Diff line number Diff line change @@ -29,22 +29,42 @@ mkdir /tmp/pterodactylpanelreinstall
2929mv /var/wwww/pterodactyl/.env /tmp/pterodactylpanelreinstall/
3030
3131
32+ # # Supprésion du panel actuelle
33+ echo " "
34+ echo " ${BLUE}${BOLD} Suppresion du panel actuelle${RESET} "
35+ echo " "
3236
37+ cd ~
38+ rm -r /var/www/pterodactyl
3339
40+ # ## Installation du panel Pterodactyl Vanilla
41+ echo " "
42+ echo " ${BLUE}${BOLD} Installation du panel Vanilla${RESET} "
43+ echo " "
3444
35-
36-
37- COPY .env file in /var/www/pterodactyl/
38-
39- cd ~
40- sudo rm -r /var/www/pterodactyl
41- sudo mkdir /var/www/pterodactyl
45+ mkdir /var/www/pterodactyl
4246cd /var/www/pterodactyl
4347curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
4448tar -xzvf panel.tar.gz
4549sudo chmod -R 755 storage/* bootstrap/cache/
4650
47- Add back the .env
51+ # # Backup .env File
52+ echo " "
53+ echo " ${GREEN}${BOLD} Backup .env File${RESET} "
54+ echo " "
55+
56+ mv /tmp/pterodactylpanelreinstall/.env /var/www/pterodactyl/
57+
58+ # ## Build du panel pterodactyl
59+ echo " "
60+ echo " ${VIOLET}${BOLD} Build du panel Pterodactyl${RESET} "
61+ echo " "
4862
4963composer install --no-dev --optimize-autoloader
50- chown -R www-data:www-data /var/www/pterodactyl/*
64+ chown -R www-data:www-data /var/www/pterodactyl/*
65+
66+ # FIN
67+ echo " "
68+ echo " ${BLUE}${BOLD} Fin du script.${RESET} "
69+ echo " "
70+ echo " ${BLUE} Pterodactyl Panel ${GREEN} Re-installer ${BOLD} Script ${BOLD} By ${VIOLET} OverStyleFR${RESET} "
You can’t perform that action at this time.
0 commit comments