ubuntu 安裝transmission最新版


訪問 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,  每個種子的上傳通道設置大點。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM