From f05668511da707f553b305c7ea86b34974d8fa36 Mon Sep 17 00:00:00 2001 From: Fabien Toune Date: Mon, 18 Jan 2021 14:05:49 +0100 Subject: [PATCH] small changes --- init_server.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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