How to mine on the Virgo Testnet? (Debian/Ubuntu)

Virgo miners are securing the network by providing computing power to produce beacon transactions. In exchange, they are rewarded with freshly created tVGO!
Virgo is using RandomX for its consensus, which is an ASIC-Resistant algorithm initially developed for Monero. The following tutorial explains how to mine on the Virgo Testnet with your computer CPU. Please note that during this operation you won't be mining real VGO but testnet ones that have no commercial value.
During this tutorial, we are using an AWS EC2 t3.2xlarge instance with Ubuntu Server 20.04. The miner will work with any Linux OS that has at least 2GB of free RAM.

1. Install Java

To run the miner, you'll need at least Java 11 installed on your system, to check your Java version execute the following command:
java -version
It should print you something similar to:
openjdk version "11.0.13" 2021-10-19
If your system doesn't recognize the command or print a version inferior to 11, do the following to install Java 11: First, let's ensure your package list is up to date:
sudo apt-get update
Then, install Java 11:
// Some code

2. Download and run Virgo Miner

Go to the folder where you want the miner to be installed, then run the following command to download the latest version:
Once downloaded, simply run the miner with the following command:
java -jar virgoMiner.jar

3. Configure the miner

At the first launch, the miner will ask you for your address, it will serve as a recipient for the mining rewards. Simply enter your Testnet address (V2) and press enter.
The miner should now connect to the network, initialize and start to mine!
A ‘found’ message will appear as soon as you find a block, note that it may take several minutes depending on your computing power.
You’ll receive 5tVGO in your wallet for each block you find!