This question tests your ability to discuss topics around Linux and to find information on the internet. Imagine you have a spare desktop machine.
The spare machine is using Ubuntu Desktop 14.04.6 LTS (Trusty Tahr) as its operating system. It is connected to the internet using your home internet router. You would like to use this machine to host:
i) a personal web server
ii) a personal file server
iii) a personal database server.
a. For each type of server, discuss at least two implementations you could use. Make a justified recommendation of one of them, giving a brief reason for your choice. (15 marks) b.Outline how you would prepare, install, configure and confirm that each server was running. (15 marks)
Solution:
The machine is using Ubuntu Desktop 14.04.6 LTS (Trusty Tahr) it is connected to the internet using your home internet router
Ubuntu Server is a server operating system, developed by Canonical and open source programmers around the world, that works with nearly any hardware or virtualization platform. It can serve up websites, file shares, and containers ,as well as expand your company and organization
Personal web server is scaled down web server
i) It can be serves websites file share and containers as well as expand your company SMTP ,HTTP, and most of web languages used as Perl and PHP are supported by personal web server
ii) use that technologies,web applications running on personal web server
hence convenient to use it
our public images daily used personal file server
They are need for personal database server create MySQL account setting permitting to access and handle a database necessary
How to install personal database server
Step 1 is update apt get package list
sudo apt-get update
step 2 install Apache,MySQL,and PHP packages
sudo apt-get install apache2 mysql-server php libapache2-mod-php -y
step 3 create MySQL database structure
step 4 Run basic MySQL database script
step 5 configure Apache to prioritize PHP file
step 6 Test PHP processing