Transmission For CentOS6.4 x64
博客专区 > 4.Real 的博客 > 博客详情
Transmission For CentOS6.4 x64
4.Real 发表于2年前
Transmission For CentOS6.4 x64
  • 发表于 2年前
  • 阅读 34
  • 收藏 0
  • 点赞 0
  • 评论 0

新睿云服务器60天免费使用,快来体验!>>>   

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 which

yum -y upgrade


yum install gcc gcc-c++ m4 make automake libtool gettext openssl-devel




Installing intltool

-----------------------

CentOS intltool package is out of date and a recent version is not available through the package manager.

We must compile it from source. Don’t quit now. This isn’t as scary as it sounds. 


cd /usr/local/src

wget http://ftp.gnome.org/pub/gnome/sources/ ... 0.6.tar.gz

tar zxf intltool-0.40.6.tar.gz

cd intltool-0.40.6

./configure --prefix=/usr

make -s

make -s install


===============================

wget http://monkey.org/~provos/libevent-2.0.10-stable.tar.gz

tar zxf libevent-2.0.10-stable.tar.gz

cd libevent-2.0.10-stable

./configure

make

make install


export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

===============================

Installing Transmission

--------------------------


Transmission is the actual torrent application that you will be using. Again, just copy paste the commands into the SSH client window.

cd /usr/local/src

wget http://download.transmissionbt.com/file ... 22.tar.bz2

tar xjf transmission-2.22.tar.bz2

cd transmission-2.22


./configure --prefix=/usr

make -s

make -s install


=============================================


安装完成。




1、建立Transmission所对应的用户,并修改密码:

 transmission -p transmission

2、Transmission的设置目录:

 -p /usr/local/transmission

chown transmission:transmission -R /usr/local/transmission

3.运行Transmission以生产Transmission的配置,(此步驟要执行两次):

/bin/transmission-daemon -g /usr/local/transmission

killall transmission-daemon

 transmission:transmission -R /usr/local/transmission

4、修改Transmission的配置文件:

 /usr/local/transmission/settings.json /usr/local/transmission/settings.json.bak

 /usr/local/transmission/settings.json

5、设置防火墙

/etc/init.d/iptables stop

iptables -A INPUT -p tcp --dport 80 -j ACCEPT

iptables -A INPUT -p tcp --dport 59999:61000 -j ACCEPT

/etc/init.d/iptables save

/etc/init.d/iptables restart


  • 打赏
  • 点赞
  • 收藏
  • 分享
共有 人打赏支持
粉丝 4
博文 8
码字总数 2376
×
4.Real
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: