Skip to content

Commit

Permalink
Aggiorna deluge.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Avallone committed Jan 27, 2024
1 parent 2ab999d commit bf97f5d
Showing 1 changed file with 13 additions and 34 deletions.
47 changes: 13 additions & 34 deletions deluge.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
### Deluge

#### Installazione

Per accedere alla rete torrent da Raspberry Pi hai bisogno di un client torrent.
Installa Deluge:
```
sudo apt update
sudo apt install deluged deluge-web deluge-console
```

#### Configurazione

Apri la console di configurazione di Deluge:
```
deluged
Expand All @@ -18,25 +15,20 @@ deluge-console

e applica le seguenti impostazioni:
```
config -s download_location /media/hdd
config -s autoadd_enable true
config -s autoadd_location /home/pi/Downloads
config -s download_location /mnt/hdd
config -s max_download_speed -1.0
config -s max_upload_speed -1.0
config -s ignore_limits_on_local_network false
config -s allow_remote true
config -s dont_count_slow_torrents true
config -s stop_seed_at_ratio true
config -s share_ratio_limit 2.0
config -s remove_seed_at_ratio true
exit
quit
```

Apri il file di configurazione di Deluge Web:
```
deluge-web --fork
sudo killall deluge-web
sudo killall deluged
deluge-web --fork && sudo killall deluge-web
nano ~/.config/deluge/web.conf
```

Expand All @@ -47,10 +39,10 @@ e applica le seguenti impostazioni:

Imposta l'avvio automatico di Deluge:
```
sudo tee /etc/systemd/system/deluge.service<<EOF
sudo tee /etc/systemd/system/deluge.service << EOF
[Unit]
Description=Deluge
After=network-online.target media-hdd.mount
After=network-online.target mnt-hdd.mount
[Service]
User=pi
Expand All @@ -64,45 +56,32 @@ Restart=on-failure
WantedBy=multi-user.target
EOF
sudo systemctl enable deluge
sudo systemctl start deluge
```

Imposta l'avvio automatico di Deluge Web:
e l'avvio automatico di Deluge Web:
```
sudo tee /etc/systemd/system/delugeweb.service<<EOF
sudo tee /etc/systemd/system/delugeweb.service << EOF
[Unit]
Description=Deluge Web
After=network-online.target media-hdd.mount
After=network-online.target mnt-hdd.mount
[Service]
User=pi
Group=pi
UMask=000
Type=simple
ExecStart=/usr/bin/deluge-web
ExecStart=/usr/bin/deluge-web -d
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable delugeweb
sudo systemctl start delugeweb
```

#### Utilizzo

Avvia un browser, inserisci il seguente URL:
```
http://<IP>:8112
```

e autenticati utilizzando le credenziali di default:
Per utilizzare Deluge avvia un browser, inserisci il seguente URL:
```
Password: deluge
http://192.168.1.141:8112
```

Premi il pulsante \texttt{Preferences}, seleziona la voce \texttt{Interface}, applica le seguenti impostazioni e premi il pulsante \texttt{Change}:
```
Old Password: deluge
New Password: raspberry
```
e autenticati utilizzando la password di default `deluge`.

0 comments on commit bf97f5d

Please sign in to comment.