Skip to content

Commit 5c39eb9

Browse files
committed
script install apache and php to install demo app || app
1 parent 4a216c9 commit 5c39eb9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
# Install Apache Web Server and PHP
3+
yum install -y httpd mysql php
4+
# Download Lab files
5+
wget https://aws-tc-largeobjects.s3.amazonaws.com/ILT-TF-100-TUFOUN-1/4-lab-vpc-web-server/lab-app.zip
6+
unzip lab-app.zip -d /var/www/html/
7+
# Turn on web server
8+
chkconfig httpd on
9+
service httpd start

0 commit comments

Comments
 (0)