@@ -1,4 +1,14 @@ | |||||
!DOCTYPE html> | |||||
#!/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 | |||||
echo" | |||||
<!DOCTYPE html> | |||||
<html lang='en'> | <html lang='en'> | ||||
<head> | <head> | ||||
<meta charset='UTF-8'> | <meta charset='UTF-8'> | ||||
@@ -14,4 +24,8 @@ | |||||
?> | ?> | ||||
</body> | </body> | ||||
</html> | |||||
</html> "> /var/www/html/index.html | |||||