You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start the initial Database Peer run the following command:
#WINDOWS:
java -cp out\production\SDIS-FEUP Main Database 1024
#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Main Database 1024
To add more Database Peer
#WINDOWS:
java -cp out\production\SDIS-FEUP Main Database 1024 <contact ip (127.0.0.1:1024)>#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Main Database 1024 <contact ip (127.0.0.1:1024)>
Start the initial Woker Peer run the following command:
#WINDOWS:
java -cp out\production\SDIS-FEUP Main Worker 1025 127.0.0.1:1024
#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Main Worker 1025 127.0.0.1:1024
To add more Workers Peers
#WINDOWS:
java -cp out\production\SDIS-FEUP Main Worker 1025 127.0.0.1:1024 <contact ip (127.0.0.1:1025)>#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Main Worker 1025 127.0.0.1:1024 <contact ip (127.0.0.1:1025)>
Start the Server Peer run the following command:
#WINDOWS:
java -cp out\production\SDIS-FEUP Server 2000 127.0.0.1:1024 127.0.0.1:1025
#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Server 2000 127.0.0.1:1024 127.0.0.1:1025