官方git: https://github.com/transmission/transmission
步骤概览
1 2 3 4 5 6 7 8 9 |
yum install git git clone https://github.com/transmission/transmission.git cd transmission git submodule update --init mkdir build cd build cmake .. make sudo make install |
如果cmake不存在则 参考 >>linux 安装gcc,make,cmake [这篇的cmake版本太低,需替换] (https://my.oschina.net/dyyweb/blog/750733)
yum install gcc-c++ //必须的依赖包
yum install cmake
1 2 |
[root@centos6 build]# cmake .. -bash: cmake: command not found |
如果cmake还是没有安装成功,尝试编译安装,cmake要求2.8.12以上版本.
//要安装在/usr/local目录下
1 2 3 4 5 6 7 |
cd /usr/local wget https://cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz tar -zxvf cmake-2.8.12.2.tar.gz cd cmake-2.8.12.2 ./configure make make install |
先创建目录:mkdir /root/Downloads (否则无法下载)
首次运行创建配置文件
1 |
transmission-daemon -g /usr/local/transmission |
杀死进程
1 |
killall transmission-daemon |
修改配置文件
1 |
vi /usr/local/transmission/settings.json |
运行程序
1 |
transmission-daemon -g /usr/local/transmission |
记得关闭防火墙
1 2 |
service iptables stop //临时关闭 chkconfig iptables off //永久关闭 |
完成:
故障:虽然可以打开tr和rpc链接,但依旧无法添加种子,