Skip to content

Instantly share code, notes, and snippets.

@Domin8-IPTV
Created October 5, 2018 15:17
Show Gist options
  • Select an option

  • Save Domin8-IPTV/2d12b3e7fe54b90aa4effec58979a4b3 to your computer and use it in GitHub Desktop.

Select an option

Save Domin8-IPTV/2d12b3e7fe54b90aa4effec58979a4b3 to your computer and use it in GitHub Desktop.
#!/bin/bash
apt-get update
apt-get install unrar-free git-core openssl libssl-dev python2.7 -y
wget https://downloads.plex.tv/plex-media-server/1.13.8.5395-10d48da0d/plexmediaserver_1.13.8.5395-10d48da0d_amd64.deb
dpkg -i plexmediaserver_1.13.8.5395-10d48da0d_amd64.deb
apt-get install squid -y
service squid stop
mv /etc/squid/squid.conf /etc/squid/squid.bak
wget "https://gist.githubusercontent.com/Domin8-IPTV/f8e0b4135858cf00ea64f62b6745a1c1/raw/667af83d1ba0029c1116d0ed96acafca823ca148/squid.conf" -O /etc/squid/squid.conf
service squid start
touch /var/log/deluged.log
touch /var/log/deluge-web.log
chown plex:plex /var/log/deluge*
apt-get install deluged -y
apt-get install deluge-webui -y
wget "https://gist.githubusercontent.com/Domin8-IPTV/5d36a8c1da8b2c16ed73a2206fc5a005/raw/2162b5e99be6201265e01d45e7fd416ebeb65542/deluged.service" -O /etc/systemd/system/deluged.service
wget "https://gist.githubusercontent.com/Domin8-IPTV/623f9f285ec3a0b50b74f8dd5f101b38/raw/0581be331648da98f6c235a6608e7023ee9e3999/deluge-web.service" -O /etc/systemd/system/deluge-web.service
systemctl enable deluged
systemctl start deluged
systemctl enable deluge-web
systemctl start deluge-web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment