Nathan Hilton, Adrian Salazar, and Logan Rotenberger
- Connect to UF's network though the VPN (info found here: https://it.ufl.edu/ict/documentation/network-infrastructure/vpn/)
- SSH into one of the machines. You will need to use your gatorlink password to authenicate. An example of a machine to use would be lin114-00.cise.ufl.edu and the command to connect would be:
ssh lin114-00.cise.ufl.edu
- Clone the github repo. You will need to create a personal access token to be able to do this (link: https://github.com/settings/tokens). First clone the repo, then it will prompt you for you username followed by the password (which is your personal access token).
- Make sure all the folders that will be written to in the code exist (ex: 1001)
- Connect to UF's network though the VPN
- SSH into the machines found in peerInfo.cfg in different terminal windows. If the first machine in the file is lin114-00.cise.ufl.edu, run the command:
ssh lin114-00.cise.ufl.edu
- In the first machine compile peerProcess.java and then run with the first peer id value. For the first machine you would run:
javac peerProcess.java
java peerProcess 1001
- Repeat this process for all the other machines, in the order in peerInfo.cfg