Total Pageviews

Wednesday, 14 November 2012

在linux VPS安装 seedbox BT PT

CentOS 5 32bit 一键安装transmission 2.33脚本:

http://znithy.com/download/pthostloc.sh
脚本内容:

#!/bin/bash


echo "========================================================================="
echo "Thanks for using Transmission for CentOS/RadHat Auto-Install Script"
echo "========================================================================="

yum -y install gcc gcc-c++ m4 make automake libtool gettext openssl-devel pkgconfig perl-libwww-perl perl-XML-Parser curl curl-devel libevent-devel libevent libidn-devel zlib-devel

yum -y upgrade

cd /usr/local/src
wget http://znithy.com/download/intltool-0.40.6.tar.gz
tar zxf intltool-*.tar.gz
cd intltool-*
./configure --prefix=/usr
make -s
make -s install
cd ..

wget http://znithy.com/download/libevent-2.0.14-stable.tar.gz
tar zxf libevent*
cd libevent*
./configure
make -s
make -s install
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

echo install Transmisson

cd /usr/local/src
wget http://znithy.com/download/transmission-2.33.tar.bz2
tar xjf transmission-*.tar.bz2
cd transmission-*
./configure --prefix=/usr
make -s
make -s install

useradd -m transmission
passwd -d transmission


wget -O /etc/init.d/transmissiond http://znithy.com/download/transmission.sh
chmod 755 /etc/init.d/transmissiond
chkconfig --add transmissiond
chkconfig --level 345 transmissiond on

service transmissiond start
service transmissiond stop


mkdir -p /home/transmission/Downloads/
chown -R transmission.transmission /home/transmission/Downloads/
chmod g+w /home/transmission/Downloads/

wget http://znithy.com/download/settings_hostloc.json
mv -f settings_hostloc.json /home/transmission/.config/transmission/settings.json
service transmissiond start

echo "========================================================================="
echo "Installation Successful"
echo "========================================================================="
echo ""
echo "Login: http://ip:1911"
echo ""
echo "Default username: hostloc"
echo ""
echo "Default password: znithy@hostloc.com"
echo ""
echo "Download Folder: /home/transmission/Downloads/"
echo ""
echo "Please change your username(rpc-username) and password(rpc-password) in the file :"
echo "/home/transmission/.config/transmission/settings.json"
echo ""
echo "========================================================================="
默认登录地址:http://ip:1911
默认用户名:hostloc
默认密码:znithy@hostloc.com
下载文件位置:/home/transmission/Downloads/
安装后自行修改用户名(rpc-username),密码(rpc-password),端口(rpc-port):
这些设置都在/home/transmission/.config/transmission/settings.json文件,
修改前停止服务: service transmissiond stop
修改后重启服务: service transmissiond start


transmission网站
http://www.transmissionbt.com/

Debian系统懒人安装方式:
apt-get install transmission-daemon

自己做一个免费的seedbox:
http://www.diyseedbox.com/
里面介绍的方式适用于CentOS,安装transmission需要安装libevent【另外这个网站挂着条幅表示要出售,随时可能失效】

rtorrent:
http://libtorrent.rakshasa.no/wiki/Download
http://libtorrent.rakshasa.no/downloads/

deluge Bit Torrent Client:
http://deluge-torrent.org/
-------------------------------------