linux centos 7 编译安装Deluge 2.0.3的方法(测试中,暂不可用)
安装编译库yum -y install wget xz python python-setuptools intltool python-chardet xdg-utils python-mako
下载源代码安装
wget https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-2.0.3.tar.xz
tar Jxvf deluge-2.0.3.tar.xz
cd deluge-2.0.3
python setup.py build
python setup.py install --install-layout=deb
配置 deluge 和 deluge-web 服务
cp packaging/systemd/deluged.service /etc/systemd/system/deluged.service
cp packaging/systemd/deluge-web.service /etc/systemd/system/deluge-web.service
启动 deluged 和 deluge-web 服务,并设置自启动
systemctl start deluged
systemctl enable deluged
systemctl start deluge-web
systemctl enable deluge-web
开启远程访问(可选)
deluge-web默认只允许本地访问。默认端口:8112,默认密码:deluge
#启用远程访问
deluge-console "config -s allow_remote True"
#禁用远程访问
deluge-console "config allow_remote"
访问地址:http://你的IP:8112
卸载 Deluge
systemctl stop deluge-web
systemctl disable deluge-web
systemctl stop deluged
systemctl disable deluged
rm -rf /etc/systemd/system/deluge*
rm -rf /usr/bin/deluge*
rm -rf /usr/lib/python2.7/dist-packages/deluge*
源代码出处:https://ftp.osuosl.org/pub/deluge/source/
{:3030:} {:3031:}
页:
[1]