diff --git a/init_server.sh b/init_server.sh index 43ff0b4..8794daa 100755 --- a/init_server.sh +++ b/init_server.sh @@ -1,19 +1,20 @@ #!/bin/bash sudo apt update sudo apt upgrade -y -sudo apt install apache2 php +sudo apt install -y apache2 php sudo chown -R ubuntu:ubuntu /var/www/html rm /var/www/html/index.html echo " - + - - + + PHP Info -" > /var/www/html/index.php \ No newline at end of file +" > /var/www/html/index.php +# Ou bien cp index.php /var/www/html \ No newline at end of file