四、安装Sabnzbd+

点击Dash Home按钮仪表板上的顶部图标),输入term,点击第一个图标Terminal,打开终端窗口。

想安装Sabnzbd+,就要添加jcfp库。为此,在终端中运行下列命令:

sudo add-apt-repository ppa:jcfp/ppa

输入密码后,你会看到下列告知:

You are about to add the following PPA to your system:

PPA for jcfp

This PPA contains packages for the latest and greatest version of the SABnzbd+ binary newsgrabber, allowing for easy installation, dependency tracking, and automatic upgrading of the program.

Everything works just like any other repository; nevertheless, for those who need them, newbie-proof instructions can be found at http://forums.sabnzbd.org/index.php?topic=387.0

More info: https://launchpad.net/~jcfp/+archive/ppa

Press [ENTER] to continue or ctrl-c to cancel adding it

按回车键即可继续。

安装Sabnzbd+:

sudo apt-get install -y sabnzbdplus sabnzbdplus-theme-smpl sabnzbdplus-theme-plush sabnzbdplus-theme-iphone

打开sabnzbdplus配置文件:

sudo gedit /etc/default/sabnzbdplus

将以何身份运行的用户改成你的用户帐户,把主机字段设成0.0.0.0,把端口设成8080。现在,你的配置文件应该是这个样子:

#

# 使用初始化脚本启动SABnzbd+时,

# 始终使用--daemon选项,该程序在$USER帐户下启动,如下所示。

#

# 每个设置被标为“必需”或“可选”;

# 对任何必需设置不加配置会导致该服务无法启动。

# [必需] 运行该程序的用户或帐户uid:

USER=user

# [必需] 你选择的配置文件的完整路径;

#            不然,就使用默认位置在$USER的主目录中);

CONFIG=

# [可选] hostname/ip和侦听的端口号:

HOST=0.0.0.0

PORT=8080

# [可选]额外的命令行选项,如果有的话:

EXTRAOPS=

开启sabnzbdplus服务,对它进行配置:

sudo service sabnzbdplus start

* Starting SABnzbd+ binary newsgrabber                                  [ OK ]

打开Firefox web浏览器,浏览到:http://localhost:8080。


相关内容