Created
June 16, 2020 04:53
-
-
Save mungi/6143993d363611b65e88769d0c0944eb to your computer and use it in GitHub Desktop.
NBP sample demo
This file contains 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 characters
#!/bin/bash | |
yum -y install httpd php mysql php-mysql | |
systemctl enable httpd | |
cd /var/www/html | |
wget http://211.249.50.207/lab/lab.tgz | |
tar xvfz lab.tgz | |
cat phpadd >> /etc/httpd/conf/httpd.conf | |
chmod 777 /var/www/html -R | |
systemctl start httpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment