You have created the directory structure and some base files to be used by the Web server and Web site. For the Web site to be created in a production environment, you need to package your commands in a script so that the patching team can run them on the production environment. Your task is the following:
Create a Bourne shell script. The script should do the following:
1-Explain what the script will do and who is the author in a comment area.
2-cd to your home directory
3-Show your current working directory.
4-List the contents of the current directory.
5-Create the directory structure and create the file.
6-For each directory and file, test to see if the file or directory already exists; if it does exist, do not recreate; if it is missing, create it.
7-In the end, generate a directory listing showing the structure and content of the new directories.
8-At the beginning of the script, set a variable called INSTALL_DIRECTORY that will contain the location of the directory into which the Web server will be installed. At the end of the script, display the contents of this variable along with a message to the installer about the location in which the directories were created.
A small hint for creating the content of the httpd.conf file: use the echo command in your script. The script is not interactive and should create all objects automatically. Also, the ServerRoot and DocumentRoot should contain correct values based on your directory names.
If you need to test that directories are created or not based on them already existing, remove files and directories ahead of time to ensure you know the exact state of your environment.
Place your order now for a similar paper and have exceptional work written by our team of experts to guarantee you A Results
Why Choose US
6+ years experience on custom writing
80% Return Client
Urgent 2 Hrs Delivery
Your Privacy Guaranteed
Unlimited Free Revisions
You May Also Like This:
- programming project that involves a clock:
- COMP281 Assignment 3 – C Programming
- RGP1 — RGP TASK 3: PORTFOLIO SHELL CREATION In this task, you will reflect on key concepts from throughout your degree program: quality and safety, evidence-based practice, applied leadership, and community and population health.
- Management Accounting, simulations & linear programming
- Network Design and Implementation
- sockets to create a client server application
- menu of options
- linear programming
- The CGI bin script
- SAS dataset. Q2
- Information Directory
- Statistical Program for the Social Sciences
- NETWORKING ADMINISTRATION AND MANAGEMENT
- implement a network using VMware Workstation to develop a Postfix mail system secured by an OSSEC HIDS
- Real Estate Data
- Data Manipulation Language &Queries
- population under the study,
- Word sense disambiguation
- Business Analytic Implementation Plan
- Program Proposal Presentation
- rectosigmoid adenocarcinoma extended case study (need a cellular pathology writer only)
- Digital Forensics
- vote for Obama in 2008?
- Econometric research using the IPUMS CPS data
- Executive Agribusiness Plan
- Econometric Study
- SQL Security and High Availability
- differences in anxiety level between an industrial countryand a nonindustrial country
- Analyzing Using Nonparametric Tests
- statistical tests