Last active
November 5, 2021 18:20
-
-
Save AymanZahran/55ee2b14110e8a50138c57a85fb48e41 to your computer and use it in GitHub Desktop.
Revisions
-
AymanZahran renamed this gist
Nov 5, 2021 . 1 changed file with 0 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,5 @@ yum update -y yum install -y httpd echo '<h1>Hello World</h1>' > /var/www/html/index.html systemctl start httpd systemctl enable httpd -
AymanZahran created this gist
Oct 14, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ rm -f ~/install_apache.sh cat << 'EOF' >> ~/install_apache.sh yum update -y yum install -y httpd echo '<h1>Hello World</h1>' > /var/www/html/index.html systemctl start httpd systemctl enable httpd EOF chmod +x ~/install_apache.sh sudo ./install_apache.sh