Revision 3
Added report and readme
DistributedBackupService/README.txt | ||
---|---|---|
1 |
Como correr o projeto: |
|
2 |
|
|
3 |
Em Linux, abrir Shell e correr os seguintes comandos: |
|
4 |
1. sh build.sh |
|
5 |
2. sh rmi.sh |
|
6 |
3. sh peer.sh <id do peer>, por exemplo |
|
7 |
sh peer.sh 1 |
|
8 |
3.2 (necessário criar pelo menos 2 peers, com ids diferentes. |
|
9 |
Numa nova shell volta-se a executar sh peer.sh <id do peer2>) |
|
10 |
|
|
11 |
Para fazer backup: |
|
12 |
4. sh backup.sh |
|
13 |
|
|
14 |
Para fazer delete: |
|
15 |
5. sh delete.sh |
|
16 |
|
|
17 |
-------------------------------------------- |
|
18 |
|
|
19 |
Atribuição de créditos: |
|
20 |
|
|
21 |
Secções destas classes https://pastebin.com/s9rg4YFW, https://pastebin.com/0hkh0uNs, https://pastebin.com/24uUUx4Y e https://pastebin.com/cz0BC8d0 dos autores Diogo Torres e André Cruz foram modificadas e reaproveitadas para o nosso projeto. |
|
22 |
|
|
23 |
|
|
0 | 24 |
Also available in: Unified diff