TA的每日心情 | 开心 2014-5-17 16:29 |
---|
签到天数: 112 天 [LV.6]常住居民II
普通用户
|
发表于 2010-11-28 09:44:17
|
显示全部楼层
本帖最后由 pt880 于 2010-11-28 10:24 编辑
这是我编译好的transmission2.12版本的所有文件,已经在我的ls-gl v1机器上面使用过了。我的ls-gl v1除了安装ssh以外没有其它使用ipkg命令安装的软件
首先把附件下载下来。如果你已经安装了libcurl和libevent(使用ipkg install libevent 和ipkg install libcurl命令安装)可以把附件里面的libevent-1.4.so.2和libcurl.so.4忽略掉
然后把附件里面的libcurl.so.4和libevent-1.4.so.2和libz.so.1三个文件复制到你的机器的/usr/lib文件夹下面
把附件里面的transmission文件夹复制到/usr/share目录下面
最后把再把transmission-cli transmission-create transmission-daemon transmission-edit transmission-remote transmission-show这六个文件放到/usr/bin文件夹下面,还要设置transmission-cli transmission-create transmission-daemon transmission-edit transmission-remote transmission-show这六个文件的权限,要不然不能使用。设置命令是:
chmod 0777 /usr/bin/transmission-cli
chmod 0777 /usr/bin/transmission-create
chmod 0777 /usr/bin/transmission-daemon
chmod 0777 /usr/bin/transmission-edit
chmod 0777 /usr/bin/transmission-remote
chmod 0777 /usr/bin/transmission-show
剩下的就是运行一次
/usr/bin/transmission-daemon
关闭transmission
killall transmission-daemon
编辑/root/.config/transmission-daemon/settings.json文件,把它里面的内容全部删除然后用下面的代码取代
- {
- "alt-speed-down": 50,
- "alt-speed-enabled": false,
- "alt-speed-time-begin": 540,
- "alt-speed-time-day": 127,
- "alt-speed-time-enabled": false,
- "alt-speed-time-end": 1020,
- "alt-speed-up": 50,
- "bind-address-ipv4": "0.0.0.0",
- "bind-address-ipv6": "::",
- "blocklist-enabled": false,
- "blocklist-url": "http://www.example.com/blocklist",
- "cache-size-mb": 2,
- "dht-enabled": true,
- "download-dir": "/root/Downloads",
- "encryption": 0,
- "idle-seeding-limit": 30,
- "idle-seeding-limit-enabled": false,
- "incomplete-dir": "/root/Downloads",
- "incomplete-dir-enabled": false,
- "lazy-bitfield-enabled": true,
- "lpd-enabled": false,
- "message-level": 2,
- "open-file-limit": 32,
- "peer-limit-global": 240,
- "peer-limit-per-torrent": 60,
- "peer-port": 51413,
- "peer-port-random-high": 65535,
- "peer-port-random-low": 49152,
- "peer-port-random-on-start": false,
- "peer-socket-tos": 0,
- "pex-enabled": true,
- "port-forwarding-enabled": true,
- "preallocation": 1,
- "proxy": "",
- "proxy-auth-enabled": false,
- "proxy-auth-password": "",
- "proxy-auth-username": "",
- "proxy-enabled": false,
- "proxy-port": 80,
- "proxy-type": 0,
- "ratio-limit": 2,
- "ratio-limit-enabled": false,
- "rename-partial-files": true,
- "rpc-authentication-required": false,
- "rpc-bind-address": "0.0.0.0",
- "rpc-enabled": true,
- "rpc-password": "{986266e0dfde915cf94e0b3a996af9732dba95e5QW6y106b",
- "rpc-port": 9091,
- "rpc-username": "",
- "rpc-whitelist": "*.*.*.*",
- "rpc-whitelist-enabled": true,
- "script-torrent-done-enabled": false,
- "script-torrent-done-filename": "",
- "speed-limit-down": 100,
- "speed-limit-down-enabled": false,
- "speed-limit-up": 100,
- "speed-limit-up-enabled": false,
- "start-added-torrents": true,
- "trash-original-torrent-files": false,
- "umask": 18,
- "upload-slots-per-torrent": 14
- }
复制代码
最后的事情就是配置ls-pro v1 ,让transmission能够开机自动运行了
我的方法是编辑/etc/init.d/rcS文件,在最后一行的exit 0 前面加上下面两行:
export HOME=/root
/usr/bin/transmission-daemon
还有什么不懂的再留言吧。下面是用到的附件:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|