Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:deploy_a_basic_cgi_application [2016/08/28 23:24] billdozor created |
linux_wiki:deploy_a_basic_cgi_application [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
Deploying a basic CGI application via a bash script. | Deploying a basic CGI application via a bash script. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Lab Setup ====== | ||
+ | |||
+ | The following virtual machines will be used: | ||
+ | * server1.example.com (192.168.1.150) -> Perform all connectivity tests from here | ||
+ | * server2.example.com (192.168.1.151) -> Install Apache Web Server here | ||
+ | |||
+ | |||
+ | **Previous Sections Completed** | ||
+ | * [[linux_wiki: | ||
+ | * Except leave listening on port 80/tcp | ||
+ | * [[linux_wiki: | ||
---- | ---- | ||
Line 14: | Line 28: | ||
#!/bin/bash | #!/bin/bash | ||
- | echo " | + | echo -e " |
- | echo | + | |
echo "This is the current time on the system: $(date)" | echo "This is the current time on the system: $(date)" | ||
</ | </ | ||
+ | * **Note**: There MUST be a newline after the " | ||
\\ | \\ | ||
Line 40: | Line 54: | ||
Test CGI deployed script | Test CGI deployed script | ||
<code bash> | <code bash> | ||
- | elinks http://testsite.example.com/ | + | elinks http://bluesite.example.com/ |
</ | </ | ||
---- | ---- | ||