Create two Ubuntu servers using Hyper-V
Budget: $30 – $250 USD
By remote control of my laptop (Windows 10) use Hyper-V to create two Ubuntu 20.04 LTS servers on my laptop in a new Volume/Drive. As far as possible the servers should simulate two servers in two different geographical locations.
The servers should be configured to enable the following:
On one of the servers create a website which displays the following:
“Server 1”
Date input
File input
Number input
Number input
Submit
Create the following on Server 1:
Folder ‘text_files’
text file saying ‘Hello World!’ stored in the folder text_files for use in the above file input.
MariaDB table with four columns ‘date’, ‘first number’, second number and ‘total’
Create the following on Server 2:
Folder ‘text_files’
MariaDB table with four columns ‘date’, ‘first number’, second number and ‘total’
When the submit button on Server 1 is pressed the following should happen:
Server 1 sends the date, the two numbers and the text file to Server 2 where the following happens:
the two numbers are entered into the database
the numbers are added together
the result is entered into the ‘total’ column of the database
the result is sent to Server 1 where it is stored in the ‘total’ column of the database
the text file is stored in the text_file folder
The servers should be configured to enable the following:
On one of the servers create a website which displays the following:
“Server 1”
Date input
File input
Number input
Number input
Submit
Create the following on Server 1:
Folder ‘text_files’
text file saying ‘Hello World!’ stored in the folder text_files for use in the above file input.
MariaDB table with four columns ‘date’, ‘first number’, second number and ‘total’
Create the following on Server 2:
Folder ‘text_files’
MariaDB table with four columns ‘date’, ‘first number’, second number and ‘total’
When the submit button on Server 1 is pressed the following should happen:
Server 1 sends the date, the two numbers and the text file to Server 2 where the following happens:
the two numbers are entered into the database
the numbers are added together
the result is entered into the ‘total’ column of the database
the result is sent to Server 1 where it is stored in the ‘total’ column of the database
the text file is stored in the text_file folder