the Question is about Linux
Question 1 You have been asked to install an SVN repository on a server. The SVN will be remotely accessed using the svnserve daemon that is supplied with SVN (please note that this is not the most secure way to access an SVN repository) Install the distributed revision control system subversion from the Debian package of the same name. After installation you will need to configure subversion to be usable. Tasks that will need to be done: a. Install the subversion package. b. (4 marks) Write and install an init.d script to automatically start and stop svnserve (the subversion server) at boot/shut-down (in daemon mode do not use inetd mode, do not use an ssh encrypted tunnel). (Hint: Use the ex-ample init script /etc/init.d/skeleton and remember to explain your changes.) c. Create an SVN repository at /usr/local/svn/ d. (4 marks) configure the repository and define the repository usernames and passwords. e. (4 marks) Implement configuration and runtime options that increase security, explaining why your choices increase security? f. (4 marks) Test your configuration, repository and running server by creating a project in the repository. Show that you can check in and check out documents from the repository. (Note: this is supposed to be a remote repository so all tests must be done via the svn server.) g. (4 marks) Document and explain in your own words the steps required to get the subversion system working. Include an explanation of every command you use (Plus any command line options) and any files you modify or create. Notes: a. Explain in your own words each operation you needed to perform to get the Subversion system working. Your descriptions of each operation need to show you understand the purpose of the operation. b. Access to the repository must be via the server. This means that the URL must begin svn://localhost/. The SVN client can access the repository directly from the file system But that does not demonstrate that the server is up and running and is useless for distributed revision control. c. Do not explain how you installed packages! d. List all resources used in answering the question. Question 2 A user comes to you and explains that she needs some form of encrypted file system to store sensitive information on a Flash drive. The Flash drive will be used to transport the sensitive data between work and home and she is worried about loosing the drive and having the data stolen. Both machines, the one at home and the one at work, use the same Linux OS. She has the following requirements: a. She does not want to encrypt individual files as she has to deal with a large number of files. b. She wants it to be as transparent as possible. c. She thinks she will only need about 64MB at most. d. She wants to also use the ash disk for transporting unencrypted files. Files that can be read on machines apart from her work and home machines. A 64MB file on the Flash drive that contains an encrypted file system would be ideal a. (7 marks) Setup a 64MB encrypted file system in a file on a Flash drive so that it can be used with the cryptmount command. Document and explain in your own words every command you use (plus any command line options) and any configuration files you modify or create. Your descriptions of each Operation need to show you understand the purpose of the operation. (If you are uncertain why a particular command or command line option is required ask! There is at least one step and command line option that you cannot understand from the information in the man page alone! It will require some research!) b. Things you must also address and explain: 1. (3 marks) how to ensure that the Flash drive has exactly the same mount point each time it is used on different machines. If it does not have the same mount point then how do you configure paths? (Hint: Experiment with “labelled" file systems (see e2label) or UUIDs) 2. (3 marks) how to manage the file system encryption keys. c. (7 marks) Write an instruction sheet for the user so that she can make the modifications to her home machine so that she can access the file on the flash drive containing the encrypted file system. Also explain how she would use the file system in her day-to-day work. You may assume that she has root access to be able to configure her home machine to mount an encrypted file system. Notes: a. Do not use the tool cryptmount-setup or the tool installed by the package cryptsetup. b. Manually create files and configuration files. c. Follow the steps outlined in the cryptmount man page explaining the purpose of every step. d. List all resources used in answering the question. e. Do not explain how you installed the cryptmount package it should already be installed on the Virtual Debian. Question 3 In about a page, explain in your own words the X-Windows System. Your explanation should answer the following questions: 1. (4 marks) What is the X-server? What is its job? 2. (5 marks) The X-server normally does not have a configuration file it attempts to auto detect the hardware when it starts. But a Configuration file is required when hotplug devices are employed or auto detection fails. How do you ask the server to construct a configuration file based on what it can detect? What is the structure of the X-server's configuration file? What are the major sections and how do they relate to each other? a. (3 marks) What is an X-client? b. (4 marks) What is the Display Manager? What is its job? c. (4 marks) What is a Window Manager? What is its job? Notes: a. List all resources used in answering this question. b. Please do not cut and paste slabs of text from a Wikipedia article. c. Please do not fall into the trap of answering a questions by using unexplained technical terms you must explain all technical terms used especially if they have not been used anywhere in the course.
10 years ago
Purchase the answer to view it
- the_question_is_about_linux.docx