(Solved) : Created Directory Structure Base Files Used Web Server Web Site Web Site Created Productio Q29949716 . . .
You have created the directory structure and some base files tobe used by the Web server and Web site. For the Web site to becreated in a production environment, you need to package yourcommands in a script so that the patching team can run them on theproduction environment. Your task for this assignment is thefollowing: Create a Bourne shell script. The script should do thefollowing: 1. Explain what the script will do and who is the authorin a comment area. 2. cd to your home directory 3. Show yourcurrent working directory. 4. List the contents of the currentdirectory. 5. Create the directory structure and create the filesas defined in the previous Individual Project. 6. For eachdirectory and file, test to see if the file or directory alreadyexists; if it does exist, do not recreate; if it is missing, createit. 7. In the end, generate a directory listing showing thestructure and content of the new directories. 8. At the beginningof the script, set a variable called INSTALL_DIRECTORY that willcontain the location of the directory into which the Web serverwill be installed. At the end of the script, display the contentsof this variable along with a message to the installer about thelocation in which the directories were created. A small hint forcreating the content of the httpd.conf file: use the echo commandin your script. The script is not interactive and should create allobjects automatically. Also, the ServerRoot and DocumentRoot shouldcontain correct values based on your directory names. If you needto test that directories are created or not based on them alreadyexisting, remove files and directories ahead of time to ensure youknow the exact state of your environment. Finally, save your scriptin a Word document as “yourname_IP5.docx”. Click the “Edit” buttonon this submission node to submit the saved document.
Expert Answer
Answer to Created Directory Structure Base Files Used Web Server Web Site Web Site Created Productio Q29949716 . . .
OR