diff --git a/server.sh b/server.sh index dbd19d3..45e707a 100644 --- a/server.sh +++ b/server.sh @@ -1,11 +1,10 @@ #!/bin/bash sudo apt update&& sudo apt upgrade -y -sudo apt install -y apache2 -sudo chown -R ubuntu:ubuntu /var/www/html -rm -r /var/www/html/index.html -read -p "votre nom" nom -read -p "votre prenom"prenom +sudo apt install -y apache2 php +sudo chown -R ubuntu:ubuntu /var/www/hhtml +rm -r /var/www/html/index.php + echo" @@ -24,7 +23,7 @@ echo" ?> - "> /var/www/html/index.html + "> /var/www/html/index.php