码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 安装transmission最新版

时间:2015-10-25 20:42:06      阅读:222      评论:0      收藏:0      [点我收藏+]

标签:

访问 www.transmissionbt.com   下载最新版

1)下载transmission:
#  wget https://transmission.cachefly.net/transmission-2.84.tar.xz
2)解压transmission得到transmission-2.77目录:

#  xz -d transmission-2.84.tar.xz

#  tar -xvf transmission-2.84.tar
--------------------------------------------------
3)进入transmission-2.77目录:
#  cd transmission-2.84
4)配置
#  ./configure
---------------------------------------------------
如果报错如下错误:configure: error: no acceptable C compiler found in $PATH,则需要安装GCC编辑器,命令如下:
#  sudo apt-get install build-essential
接着再执行
#  ./configure
---------------------------------------------------
---------------------------------------------------
如果出现这个错误checking for OPENSSL... checking for OpenSSL... configure: error: Cannot locate ssl,则需要安装OPENSSL库,命令如下:
#  sudo apt-get install openssl
#  sudo apt-get install libssl-dev
#  sudo apt-get install libssl0.9.8

---------------------------------------------------
如果出现错误configure:17208: error: The pkg-config script could not be found or is too old.  Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. 则执行如下命令:
#  sudo apt-get install pkg-config
---------------------------------------------------
如果出现如下错误checking for LIBCURL... configure: error: Package requirements (libcurl >= 7.15.4) were not met: No package ‘libcurl‘ found,则执行如下命令:
#  sudo apt-get install libcurl4-openssl-dev
---------------------------------------------------
如果出现如下错误checking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met: No package ‘libevent‘ found,则执行如下命令:
#  sudo apt-get install libevent-dev
---------------------------------------------------
如果出现如下错误checking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not ./configure: line 18393: intltool-update: command not found checking for intltool >= 0.35.0...  found configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.则执行如下命令:
#  sudo apt-get install intltool
---------------------------------------------------

如果没有错误,配置一下:
# ./configure


5)编译源码:
#  make
6)安装transmission
#  sudo make install

---至此安装成功

 

编译版本transmission启动和关闭如下---------------------------------:

启动:

#  /usr/local/bin/transmission-daemon

关闭:

#  killall transmission-daemon

配置文件位置:

/home/xxx/.config/transmission-daemon/settings.json

 

 

下载PT相关设置:

    "cache-size-mb": 500,  缓存设置大点;
    "dht-enabled": false,  DHT关闭;

    "peer-limit-global": 900,  全局连接数设置大点;
    "peer-limit-per-torrent": 500,  单种连接数设置大点;

    "rpc-authentication-required": true, 开机RPC访问验证;

    "rpc-password": "{e6aa0d2d8187046bfc14a2136b6326fc227a26f4L/RhkrH6", RPC密码; 
    "rpc-username": "uuser",  RPC用户;

    "rpc-whitelist-enabled": false 白名单关闭;

    "upload-slots-per-torrent": 80,  每个种子的上传通道设置大点。

ubuntu 安装transmission最新版

标签:

原文地址:http://www.cnblogs.com/hhdllhflower/p/4909304.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!