Browse Source

mon ajout1

master
patient 3 years ago
parent
commit
c071c27859
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      server.sh

+ 5
- 6
server.sh View File

@@ -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








Loading…
Cancel
Save