Reference no: EM131006213
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 for this assignment is the following:
Create a Bourne shell script. The script should do the following:
Explain what the script will do and who is the author in a comment area.
cd to your home directory
Show your current working directory.
List the contents of the current directory.
Create the directory structure and create the files as defined in the previous Individual Project.
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.
In the end, generate a directory listing showing the structure and content of the new directories.
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.
Respective estimated results in terms of budget surpluses
: You have two sets of estimates of national account numbers for a closed economy for next year. In the first set, government expenditures will be $30 billion, transfer payments will be $10 billion, and taxes will be $45 billion. Based on these numbers..
|
What is the average memory access time
: What is the average memory access time - Draw a pipeline diagram illustrating the first iteration of the loop assuming there are no instruction cache misses. Remember that there are two fetch stages
|
Explain ethical considerations in terms of informed consent
: Choose a health care case study on ethical practices form your work environment or from a library article. Explain the basic ethical considerations in terms of informed consent, beneficence, truth telling, and deception.
|
Context data-flow diagram
: a. Construct a context data-flow diagram, illustrating Evergreen Nurseries's whole- sale system. b. Construct a level-0 diagram for Evergreen Nurseries's wholesale system.
|
List the contents of the current directory
: 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.
|
Explain the demographic and psychographic segments
: Identify 4-5 consumer behavior concepts that you have learned in the course that are used in the advertisements. Identify and explain the demographic and psychographic segments to which the ad was designed to appeal
|
Find the velocity and acceleration at given time
: Find the velocity and acceleration at time t. Find the position, velocity, and acceleration of the mass at time t = 5 π/6. In what direction is it moving at that time?
|
Leadership within the context of the 21st century
: LEADERSHIP WITHIN THE CONTEXT OF THE 21ST CENTURY ORGANISATION, Analyze and describe your organization's context in terms of the traditional and/or 21 century organization paradigms/models by following the next steps:
|
Why has the united states taken a different approach
: In many other countries, this right is deemed fundamental and is protected by laws in various forms. In your opinion, why has the United States taken a different approach? What are the pros and cons of no fundamental right to healthcare in the Uni..
|