{WTA** Cara setup seedbox di VPS

CG Sponsors




krie1694

Active Member
Joined
Aug 28, 2009
Messages
2,366
Reaction score
7
Points
25
Salam semua...

Nak tanya sapa yang boleh atau ada pengalaman setup seedbox dkt linux vps...mohon ajor....da try buat tp x menjadi....~X(~X(
 
Sponsored Post

artwoo

Fun Poster
Joined
May 17, 2006
Messages
573
Reaction score
55
Points
20
cuba bg detail hardware dulu kat first post nnt senang org nak tau spec
 

divx

Active Member
Joined
Jun 20, 2013
Messages
1,686
Reaction score
23
Points
25
jangan suka2 run torrent dekat vps. kena suspend nanti
 

monster_forex

Active+ Member
Joined
Nov 16, 2006
Messages
4,575
Reaction score
36
Points
30
kena tengok nak pakai apa? deluge? transmission? torrentflux? dll

ini step untuk debian 6 / ubuntu 14 ke bawah ..... masa ni aku buat menjadi.

Code:
sudo adduser --disabled-password --system --home /var/lib/deluge --gecos "[U][I][B]*USER*[/B][/I][/U] SeedBox" --group deluge

sudo touch /var/log/deluged.log

sudo touch /var/log/deluge-web.log

sudo chown deluge:deluge /var/log/deluge*

sudo apt-get update

sudo apt-get install deluged deluge-webui

sudo nano /etc/init.d/deluge

######COPY THIS INIT SCRIPTS######

## BEGIN INIT INFO
# Provides:          deluged
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start deluged at boot time
# Description:       Start DelugeD and Deluge-Web.
### END INIT INFO

#Author              QuidsUp
#Last Modified	     26 Jan 2013

#Required -- To be changed!
USER=deluge        #Set Username here.
PORT=8008            #Set port number for web interface (default 8112)
PIDFileDeluge=/var/run/deluged.pid
PIDFileWeb=/var/run/deluge-web.pid

case "$1" in
  start)
    echo "Starting Deluge"
    start-stop-daemon --start --chuid $USER --name deluged --pidfile $PIDFileDeluge \
     --background --make-pidfile --exec /usr/bin/deluged -- --do-not-daemonize 
    start-stop-daemon --start --chuid $USER --name deluge-web --pidfile $PIDFileWeb \
     --background --make-pidfile --exec /usr/bin/deluge-web -- --port $PORT
  ;;

  stop)
    echo "Stopping Deluge"
    start-stop-daemon --stop --chuid $USER --name deluged --pidfile $PIDFileDeluge
    start-stop-daemon --stop --chuid $USER --name deluge-web --pidfile $PIDFileWeb
  ;;

  restart|force-reload)
    echo "Stopping Deluge for Restart"
    start-stop-daemon --stop --chuid $USER --name deluged --pidfile $PIDFileDeluge
    start-stop-daemon --stop --chuid $USER --name deluge-web --pidfile $PIDFileWeb
    sleep 5s
    echo "Restarting Deluge"
    start-stop-daemon --start --chuid $USER --name deluged --pidfile $PIDFileDeluge \
      --background --make-pidfile --exec /usr/bin/deluged -- --do-not-daemonize 
    start-stop-daemon --start --chuid $USER --name deluge-web --pidfile $PIDFileWeb \
      --background --make-pidfile --exec /usr/bin/deluge-web -- --port $PORT
  ;;
  status)
    echo "Checking Status of Deluge"
    if (test -f $PIDFileDeluge); then
      PIDVal=$(head -1 $PIDFileDeluge)
      if [ -e /proc/$PIDVal ]; then
        echo -n "DelugeD Running on Process ID: "
        echo $PIDVal
        echo
        ps -H $PIDVal
      else
        echo "DelugeD Not Running but PID File Exists"
        exit 1
      fi
    else
      echo "No PID File found for DelugeD"      
    fi
  ;;
  *)
     echo "Usage: deluge {start|stop|restart|force-reload|status**" >&2
     exit 1
  ;;
esac

exit 0
######COPY THIS INIT SCRIPTS######

sudo chmod a+x /etc/init.d/deluge

sudo update-rc.d deluge defaults

service deluge start
 

krie1694

Active Member
Joined
Aug 28, 2009
Messages
2,366
Reaction score
7
Points
25
cuba bg detail hardware dulu kat first post nnt senang org nak tau spec
ok...nie spec vps tu....

4GB RAM
4GB vSwap
4x vCPU
100GB RAID-10 HDD
5TB transfer
100Mbps uplink
Free DDoS Guard Protection
1x IPv4
100x IPv6
OpenVZ/SolusVM
Linux 16.04
 

krie1694

Active Member
Joined
Aug 28, 2009
Messages
2,366
Reaction score
7
Points
25
kena tengok nak pakai apa? deluge? transmission? torrentflux? dll

ini step untuk debian 6 / ubuntu 14 ke bawah ..... masa ni aku buat menjadi.

Code:
sudo adduser --disabled-password --system --home /var/lib/deluge --gecos "[U][I][B]*USER*[/B][/I][/U] SeedBox" --group deluge

sudo touch /var/log/deluged.log

sudo touch /var/log/deluge-web.log

sudo chown deluge:deluge /var/log/deluge*

sudo apt-get update

sudo apt-get install deluged deluge-webui

sudo nano /etc/init.d/deluge

######COPY THIS INIT SCRIPTS######

## BEGIN INIT INFO
# Provides:          deluged
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start deluged at boot time
# Description:       Start DelugeD and Deluge-Web.
### END INIT INFO

#Author              QuidsUp
#Last Modified	     26 Jan 2013

#Required -- To be changed!
USER=deluge        #Set Username here.
PORT=8008            #Set port number for web interface (default 8112)
PIDFileDeluge=/var/run/deluged.pid
PIDFileWeb=/var/run/deluge-web.pid

case "$1" in
  start)
    echo "Starting Deluge"
    start-stop-daemon --start --chuid $USER --name deluged --pidfile $PIDFileDeluge \
     --background --make-pidfile --exec /usr/bin/deluged -- --do-not-daemonize 
    start-stop-daemon --start --chuid $USER --name deluge-web --pidfile $PIDFileWeb \
     --background --make-pidfile --exec /usr/bin/deluge-web -- --port $PORT
  ;;

  stop)
    echo "Stopping Deluge"
    start-stop-daemon --stop --chuid $USER --name deluged --pidfile $PIDFileDeluge
    start-stop-daemon --stop --chuid $USER --name deluge-web --pidfile $PIDFileWeb
  ;;

  restart|force-reload)
    echo "Stopping Deluge for Restart"
    start-stop-daemon --stop --chuid $USER --name deluged --pidfile $PIDFileDeluge
    start-stop-daemon --stop --chuid $USER --name deluge-web --pidfile $PIDFileWeb
    sleep 5s
    echo "Restarting Deluge"
    start-stop-daemon --start --chuid $USER --name deluged --pidfile $PIDFileDeluge \
      --background --make-pidfile --exec /usr/bin/deluged -- --do-not-daemonize 
    start-stop-daemon --start --chuid $USER --name deluge-web --pidfile $PIDFileWeb \
      --background --make-pidfile --exec /usr/bin/deluge-web -- --port $PORT
  ;;
  status)
    echo "Checking Status of Deluge"
    if (test -f $PIDFileDeluge); then
      PIDVal=$(head -1 $PIDFileDeluge)
      if [ -e /proc/$PIDVal ]; then
        echo -n "DelugeD Running on Process ID: "
        echo $PIDVal
        echo
        ps -H $PIDVal
      else
        echo "DelugeD Not Running but PID File Exists"
        exit 1
      fi
    else
      echo "No PID File found for DelugeD"      
    fi
  ;;
  *)
     echo "Usage: deluge {start|stop|restart|force-reload|status**" >&2
     exit 1
  ;;
esac

exit 0
######COPY THIS INIT SCRIPTS######

sudo chmod a+x /etc/init.d/deluge

sudo update-rc.d deluge defaults

service deluge start
dah try step nie bos....tapi bile masuk step command sudi nano tu die kuar x faham command nano tu....
 

monster_forex

Active+ Member
Joined
Nov 16, 2006
Messages
4,575
Reaction score
36
Points
30
maksudnya??
maksudnya kena check t&c kompeni yg sediakan services vps tu .....

torrent selalunya kena ban sebb sedut copyright file.

selagi tak da report dari owner filem / software, biasanya company tu tak akan ambik tindakan, tapi kalau dah ada report, dia akan stopkan server tu, dan bagi warning....

ada yg trus terminate.
 
Sponsored Post
Top
Log in Register