Browse Source

mon ajout

master
patient 3 years ago
parent
commit
8f3632f35e
1 changed files with 16 additions and 2 deletions
  1. +16
    -2
      server.sh

+ 16
- 2
server.sh View File

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





Loading…
Cancel
Save