Reference no: EM131221141
Create a Bourne shell script
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:
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 files as defined in the previous Individual Project.
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.
Develop and maintain human resources
: Human Resources information is usually found in the Human Resources and Corporate Governance sections of the website as well as by reviewing the Annual Report (Investor Relations section). You may also need to use a search engine such as Google or..
|
How do criminologists define white collar crime
: How did E.A. Ross describe an individual who committed a white collar crime? Discuss Edwin H. Sutherland's 1940's study of white collar crime. How do criminologists define white collar crime?
|
Explain how sharks ltd costs should be accounted
: Explain how Sharks Ltd's costs (costs of direct mailings, purchased customer list and marketing costs) should be accounted for under AASB 138/IAS 38 Intangible Assets, giving reasons for your answers
|
Applications of percentage
: Salary of A is 75% of B’s salary. Salary of A is increased by 40% but salary of B is increased by only 10%. Whose salary is more and by what percent? The price of a commodity increases by 55% and therefore a house wife reduces the quantity purchased ..
|
Create files as defined in the previous individual project
: List the contents of the current directory. Create the directory structure and create the files as defined in the previous Individual Project.
|
Challenges faced my expatriates in nigeria
: Investigating the Cross-cultural Challenges of Expatriates in Multinational Oil Companies in Nigeria, while my research topic is " Challenges faced my expatriates in Nigeria"
|
Critical success factors for a project manager
: What are the critical success factors for a Project Manager? What skills should managers look for when hiring someone who would be successful in this job?
|
List computers operating system version of operating system
: Submit the file and written response according to the submission instructions. List the computer's operating system, version of operating system, processor, and total memory (RAM) installed.
|
How do they use their literary standpoints to affect us
: Compare the motives for killing for Grenouille and Frankenstein's monster? Both use high culture topics of quest, genre, and archetypes to help us understand this idea--how do they use their literary standpoints to affect us? What is the moral pur..
|