juju
发表于 2013-9-15 20:45:14
谢谢分享,楼主加油
无华0871
发表于 2013-10-13 01:15:45
最后一句前面要加 sudo说 不然会提示不能创建文件夹说
dakai
发表于 2013-11-5 17:34:50
本帖最后由 dakai 于 2013-11-5 21:15 编辑
最后一步http://192.168.1.8/yaaw
打开是file not found,求解?多谢
更新:重启就好了,多谢楼主的教程
korealienzhu
发表于 2013-11-12 13:00:10
damn good good
dakolo
发表于 2013-11-24 05:42:18
最后一步http://192.168.1.8/yaaw
打开是file not found,
重启也没用
dakolo
发表于 2013-11-24 06:09:06
没有 /var/www这个目录
wzhy90
发表于 2013-12-19 21:59:22
#!/bin/sh
### BEGIN INIT INFO
# Provides: aria2
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Aria2 Downloader
### END INIT INFO
NAME=aria2c
USER=wzhy90
ARIA2C=/usr/bin/$NAME
PIDFILE=/var/run/$NAME.pid
CONF=/home/$USER/.aria2/aria2.conf
ARGS="--conf-path=${CONF}"
test -f $ARIA2C || exit 0
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting aria2c."
if [ -e "$PIDFILE" ]; then
log_warning_msg "aria2c is already running."
else
start-stop-daemon -S -q -b -m -p $PIDFILE -c $USER -a $ARIA2C -- $ARGS
log_end_msg $?
fi
;;
stop)
log_daemon_msg "Stopping aria2c."
if [ -e "$PIDFILE" ]; then
start-stop-daemon -K -q -p $PIDFILE
rm $PIDFILE
log_end_msg $?
else
log_warning_msg "aria2c is not running."
fi
;;
restart|reload|force-reload)
log_daemon_msg "Restarting aria2c."
if [ -e "$PIDFILE" ]; then
start-stop-daemon -K -R 5 -q -p $PIDFILE
start-stop-daemon -S -q -b -m -p $PIDFILE -c $USER -a $ARIA2C -- $ARGS
log_end_msg $?
else
log_warning_msg "aria2c is not running."
fi
;;
status)
status_of_proc -p $PIDFILE $ARIA2C aria2c && exit 0 || exit $?
;;
*)
log_action_msg "Usage: /etc/init.d/aria2c {start|stop|restart|reload|force-reload|status}"
exit 2
;;
esac
exit 0
anonymous_yy
发表于 2014-1-1 10:04:59
hzl201 发表于 2013-6-10 09:16 static/image/common/back.gif
git clone http://github.com/wzhy90/yaaw 这一步怎么操作呢?不会设置www啊
我用的是xbian, 没有git, 所以需要用“apt-get install git”装一个先。。
anonymous_yy
发表于 2014-1-1 10:09:28
按照此教程,所有都设置成功无报错。。可是点击 YAAW导出不成功。。。用firefox和 chrome都试了, 并且可以看见 “"添加中...到YAAW界面查看是否添加成功")” 的提示。。可是登录yaaw HTTP管理页面什么都没用。。。请问怎么troubleshooting?
Firefox 和 chrome都是最新的。。Greasemonkey 已经启用,并且其他javascript使用正常。。
anonymous_yy
发表于 2014-1-1 10:39:22
JSON
id
"1388543357702"
jsonrpc
"2.0"
method
"aria2.addUri"
params
[["ed2k://%7Cfile%7CMalena...ggj4swcd5e56yna5at5%7C/"], Object { out="Malena.2000.西西里的美丽传说.中文...024X576.x264-人人影视制作.mkv", header="Cookie: gdriveid=61E9CCC582E3671486DB8808E1F2C833"}]
Source
{"jsonrpc":"2.0","method":"aria2.addUri","id":"1388543357702","params":[["ed2k://%7Cfile%7CMalena.2000.%25E8%25A5%25BF%25E8%25A5%25BF%25E9%2587%258C%25E7%259A%2584%25E7%25BE%258E%25E4%25B8%25BD%25E4%25BC%25A0%25E8%25AF%25B4.%25E4%25B8%25AD%25E6%2596%2587%25E5%25AD%2597%25E5%25B9%2595.HR-HDTV.AC3.1024X576.x264-%25E4%25BA%25BA%25E4%25BA%25BA%25E5%25BD%25B1%25E8%25A7%2586%25E5%2588%25B6%25E4%25BD%259C.mkv%7C1506544077%7C044a02087d80afedb5389f7fb546d631%7Ch%3Dtgyzw2ubox6vmggj4swcd5e56yna5at5%7C/"],{"out":"Malena.2000.西西里的美丽传说.中文字幕.HR-HDTV.AC3.1024X576.x264-人人影视制作.mkv","header":"Cookie: gdriveid=61E9CCC582E3671486DB8808E1F2C833"}]}
原来是YAAW返回 HTTP 500 internal error。。any idea??
{"error":{"code":1,"message":"No URI to download."},"id":"1388543357702","jsonrpc":"2.0"}