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 characters
| ssh -fN -L 8888:10.1.2.151:80 [email protected] -i PRIVATEKEY.pem | |
| curl -i localhost:8888 |
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 characters
| #!/bin/bash | |
| yum update -y | |
| yum install httpd -y | |
| service httpd start | |
| chkconfig httpd on | |
| cd /var/www/html | |
| echo "<html><h1>Hello! Welcome To My Webpage @ $HOSTNAME</h1></html>" > index.html |
NewerOlder