You can find the lastest EPEL repositories here:
https://fedoraproject.org/wiki/EPEL
For simplicity sake you can always just following my guide with version as of time of this writing, as it will be updated when you do an upgrade anyways.
wget http://mirror.pnl.gov/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
Now with this repository added we can install Transmission via yum
yum -y update
yum -y install transmission transmission-daemon
如果无法安装transmission,出现“memory alloc”,解决方法:
ulimit -m unlimited
ulimit -v unlimited
dd if=/dev/zero of=/swapfile bs=1024 count=200000
mkswap /swapfile
swapon /swapfile
Then start the process:
service transmission-daemon start
Test Transmission: ip:9091
如果不能打开网页,请关闭防火墙。
# 关闭iptables
/etc/init.d/iptables stop
# 永久关闭
chkconfig iptables off
# 检查
chkconfig --list iptables
Configure Transmission For Remote Accessservice transmission-daemon stop
find / -name settings.json
Edit the settings.json file once you’ve located it:
vi /var/lib/transmission/.config/transmission/settings.json
Find the following lines:
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": true,
set the whitelist to false like so:
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
Start our service back up:
service transmission-daemon start
附: transmission设置密码登录
service transmission-daemon stop
vi /var/lib/transmission/.config/transmission/settings.json
设置相关参数:
"rpc-authentication-required": true,
"rpc-password”:
"rpc-username”:
cd /etc/init.d
vi transmission-daemon
把-T 改为小写的-t (在etc/init.d/transmission-daemon 这个文件里面,将参数 -T改成-t)
service transmission-daemon start
From: http://www.filesharingguides.com/install-transmission-torrent-client-rhel-centos-6/
transmission 修改配置一直不出现密码验证登录
PS: Transmission配置文件各参数设置说明参考:http://www.tdblog.cn/?post=374
没有评论:
发表评论