|
@@ -1,11 +1,10 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
sudo apt update&& |
|
|
sudo apt update&& |
|
|
sudo apt upgrade -y |
|
|
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" |
|
|
echo" |
|
|
|
|
|
|
|
|
<!DOCTYPE html> |
|
|
<!DOCTYPE html> |
|
@@ -24,7 +23,7 @@ echo" |
|
|
?> |
|
|
?> |
|
|
|
|
|
|
|
|
</body> |
|
|
</body> |
|
|
</html> "> /var/www/html/index.html |
|
|
|
|
|
|
|
|
</html> "> /var/www/html/index.php |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|