Assignment 1: The Set up
Updating and initial configuration for server-04
You will have to adapt your initial VM to turn it into a secure web server. So, carry out the required tasks as follows:
First, update the system from debian repositories.
Install additional software:
Configure the next features:
Allow ssh login for the root user (password)
Then, you will have to adapt your new instance to turn it into a secure web server. So, carry out the tasks required as follows:
In GCP, every time we start a virtual instance, the /etc/hosts
file is updated by services that google has created in it. To include the name resolution information for our environment, either we create a custom service that runs after the startup and loads that information from a particular file (for example), or we patch (carefully) the google service to do that.
Also, you have to configure server-04
as client of primary service supplied by server-01
(lab 1), except NFS:
Since our file management policy is centralization and distribution through NFS, we will follow the same idea for web content management. So build a secondary storage system for server-03
using the following schema:
Configure
server-04
as NFS client of server-03:
(1) Use a strong password
(2) It is not necessary for users to be able to connect, in this case, to server-03
by SSH (PAM)
(3) Restrict access to server-04
only, that it is under control.
Last updated