ubuntu 12.04 server安装Bittorrent Transmission
2012-10-22 13:24
225 查看
首先需要承认,自己在Ubuntu下面就是笨。
server没有桌面。希望使用http://192.168.1.X:9091这样的方式管理下载。
使用一条命令:
sudo apt-get install transmission-daemon
就可以了。
开始还安装了 transmission,应是多余的。
安装完后,在Web访问竟然不可以,提示未授权的访问地址。 真是老生常谈的问题。
在谷歌看了半天,说是修改/var/lib/transmission-daemon/info/settings.json
rpc-enabled": true,
"rpc-password": "password",
"rpc-port": 9091,
"rpc-username": "transmission",
"rpc-whitelist": "127.0.0.1,*.*.*.*",
"rpc-whitelist-enabled": true,
改了之后,需要
$ sudo service transmission-daemon reload
否则,transmission会覆盖掉修改。
不好用。
实际路径是在
/etc/transmission-daemon/settings.json
有个README.json
Currently transmission overwrites the settings.json configuration file
on exit. The daemon can be instructed to reload the config with a SIGHUP,
or
# invoke-rc.d transmission-daemon reload
Otherwise changes made manually to the file while the daemon is running
will be silently overwritten on exit.
译文:
现在transmission在退出时,会覆盖settings.json配置文件。使用SIGHUP通知transmission后台重载此文件,或者使用命令:
#invoke-rc.d transmission-daemon reload
否则在daemon运行时,对文件手动的修改在daemon退出时会被悄悄覆盖。
所以很多文章讲,要杀死daemon进程再改。
Web可以访问了,又找不到密码。
![](http://static.blog.csdn.net/xheditor/xheditor_emot/default/tongue.gif)
transmission-password命令也不好用,提示找不到。
直接在settings.json里改rpc-password的内容,写上 "123456"。
sudo /etc/init.d/transmission-daemon restart
可以看到填入的文本密码自动被SHA1加密了,成了一串乱码。
终于可以看到Web界面了。
server没有桌面。希望使用http://192.168.1.X:9091这样的方式管理下载。
使用一条命令:
sudo apt-get install transmission-daemon
就可以了。
开始还安装了 transmission,应是多余的。
安装完后,在Web访问竟然不可以,提示未授权的访问地址。 真是老生常谈的问题。
在谷歌看了半天,说是修改/var/lib/transmission-daemon/info/settings.json
rpc-enabled": true,
"rpc-password": "password",
"rpc-port": 9091,
"rpc-username": "transmission",
"rpc-whitelist": "127.0.0.1,*.*.*.*",
"rpc-whitelist-enabled": true,
改了之后,需要
$ sudo service transmission-daemon reload
否则,transmission会覆盖掉修改。
不好用。
实际路径是在
/etc/transmission-daemon/settings.json
有个README.json
Currently transmission overwrites the settings.json configuration file
on exit. The daemon can be instructed to reload the config with a SIGHUP,
or
# invoke-rc.d transmission-daemon reload
Otherwise changes made manually to the file while the daemon is running
will be silently overwritten on exit.
译文:
现在transmission在退出时,会覆盖settings.json配置文件。使用SIGHUP通知transmission后台重载此文件,或者使用命令:
#invoke-rc.d transmission-daemon reload
否则在daemon运行时,对文件手动的修改在daemon退出时会被悄悄覆盖。
所以很多文章讲,要杀死daemon进程再改。
Web可以访问了,又找不到密码。
![](http://static.blog.csdn.net/xheditor/xheditor_emot/default/tongue.gif)
transmission-password命令也不好用,提示找不到。
直接在settings.json里改rpc-password的内容,写上 "123456"。
sudo /etc/init.d/transmission-daemon restart
可以看到填入的文本密码自动被SHA1加密了,成了一串乱码。
终于可以看到Web界面了。
![](http://img.my.csdn.net/uploads/201210/22/1350883614_8042.jpg)
相关文章推荐
- 如何在Ubuntu 12.04 Server 中安装图形用户界面
- ubuntu 12.04 安装 openssh-server 失败,请问怎么该弄?
- u盘安装ubuntu 12.04 server问题解决
- 如何在 Ubuntu 12.04 Server 中安装图形用户界面
- U盘安装 Ubuntu 12.04 Server LTS
- Ubuntu Server 12.04安装精简GUI
- 如何在 Ubuntu 12.04 Server 中安装图形用户界面
- UbuntuServer12.04安装MongoDB,开机自启,服务,权限
- Ubuntu Server 12.04下安装zlib库文件
- u盘安装ubuntu 12.04 server问题解决
- 如何在 Ubuntu 12.04 Server 中安装图形用户界面
- 安装ubuntu Server 12.04 64位系统小记
- Ubuntu 12.04 32位版本安装Darwin Streaming Server
- Ubuntu 12.04 Server LTS安装部署Nginx+MySQL+Ruby1.9.3+Rails3.2
- Ubuntu 12.04安装ssh出现“unable to locate package apenssh-server”
- ubuntu 12.04 nfs-server/client安装配置
- ubuntu server 12.04 安装postgresql 9.2
- ibm system X3250 M4 服务器安装ubuntu server 12.04
- UbuntuServer12.04安装MongoDB,开机自启,服务,权限
- ubuntu server 12.04上安装和使用virtualbox