请注意,以下的服务仅仅针对WDMyCloud Gen1,也就是比较早期的型号,最新的Gen2已经把系统从Debian Wheezy切换到了Busybox,因此下面的源已经不适用了。
WDMyCloud Gen1与WDMyCloud Gen2的区别如下:
Gen1: Mindspeed Comcerto C2000 (2 core, 650MHz) 256 MB Ram Debian wheezy
Gen2: Marvell armada 370 (2core, 800MHz) 512MB Ram Busybox
最近由于 WD MyCloud 的固件升级到4.0 之后,新的程序是以 64K 内存对齐的方式运作的,这就导致使用 apt-get 安装的所有安装包都是不能正常运行的,安装后,执行的时候会直接提示 “Killed”,因此需要全新编译代码才能成功安装。有动手能力的,可以参考 How to successfully build packages for WD My Cloud from source 来自己编译。不过非常的折腾。
今天刚刚更新了一下 WD MyCloud 的固件到V04.01.03-421版本,发现他的apt的源列表更新了一下,变成了如下
1 2 3 4 5 6 |
deb http://ftp.us.debian.org/debian/ jessie main ## Note, wheezy is not 64K page aligned. ##deb http://ftp.us.debian.org/debian/ wheezy main #deb http://ftp.us.debian.org/debian/ sid main #deb http://ftp.us.debian.org/debian/ experimental main #deb-src http://ftp.us.debian.org/debian/ jessie main |
试了一下,竟然可以安装,并且部分软件运行正常,比如 VIM,Git-Core,Subversion.但是对于 aria2,expect 等软件,建议还是用我提供的源安装,原因在于有些软件需要升级libc6,stdlibc++6等这几个库,而这几个库如果更新,基本上,系统就启动不了了!
对于想省事的人来说,可以设置我的服务器为deb 的更新服务器,里面的是我编译好的版本。
最近调整了更新服务器地址,同时,又增加了Jseeie 版本的编译,这样的话,会有最新的版本的软件,但是,使用的时候要慎重,新版本软件可能没有经过长时间的严格测试,不排除有BUG的可能,如果下载的某些包有问题,麻烦尽快邮件反馈。
安装新版本的话,需要手工卸载旧版本,apt-get remove 一下即可。
安装不上软件,提示缺少依赖的,暂时注释掉 jessie 部分的源,原因在于新版本正在编译中,耗时较长,只能是编译完成就上传导致了某些模块缺失。
如下操作即可。
1.打开 WD MyCloud 的SSH 登陆功能。
2.在SHELL 里面执行如下命令
1 |
$ nano /etc/apt/sources.list |
修改里面的内容如下
1 2 3 4 5 6 7 8 9 |
deb http://www.mobibrw.com/deb/wdmycloud/4.0/wheezy wheezy main deb http://www.mobibrw.com/deb/wdmycloud/4.0/jessie jessie main #deb http://ftp.us.debian.org/debian/ wheezy main #deb http://ftp.us.debian.org/debian/ jessie main #deb http://ftp.us.debian.org/debian/ sid main #deb http://ftp.us.debian.org/debian/ experimental main #deb-src http://ftp.us.debian.org/debian/ wheezy main #deb-src http://ftp.us.debian.org/debian/ jessie main |
目前这个安装源中支持的软件可以在下面的软件列表中找到 ,后续我会根据需要编译其他的软件,并且上传的。如果有什么软件是需要的,可以邮件联系我。
注意:本源目前支持HTTPS方式访问,(目前貌似HTTP会有被劫持的倾向,建议使用HTTPS方式访问(切换到HTTPS之前需要先安装apt-transport-https
),切换到HTTPS之后出现问题,可以参考
"method driver /usr/lib/apt/methods/https could not be found" update error来解决):
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# 手工安装 apt-transport-https $ curl -k -o libcurl3_7.26.0-1+wheezy13_armhf.deb https://www.mobibrw.com/deb/wdmycloud/4.0/wheezy/libcurl3_7.26.0-1+wheezy13_armhf.deb $ sudo dpkg -i libcurl3_7.26.0-1+wheezy13_armhf.deb $ curl -k -o libcurl3-gnutls_7.26.0-1+wheezy13_armhf.deb https://www.mobibrw.com/deb/wdmycloud/4.0/wheezy/libcurl3-gnutls_7.26.0-1+wheezy13_armhf.deb $ sudo dpkg -i libcurl3-gnutls_7.26.0-1+wheezy13_armhf.deb $ curl -k -o apt-transport-https_0.9.7.9+deb7u7_armhf.deb https://www.mobibrw.com/deb/wdmycloud/4.0/wheezy/apt-transport-https_0.9.7.9+deb7u7_armhf.deb $ sudo dpkg -i apt-transport-https_0.9.7.9+deb7u7_armhf.deb |
3.执行更新
1 |
$ sudo apt-get update |
4.安装软件(以VIM 为例子)
1 |
$ sudo apt-get install vim |
5.目前已经编译完成的软件列表如下
wheezy
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
vim(7.3) git-core(1.7.10) git-daemon-run(1.7.10) git-core(2.1.4) git(2.1.4) runit(2.1.1) transmission(2.52) expect(5.45) dos2unix(6.0-1) subversion(1.6.17) aria2(1.15.1) aria2(1.18.8) mysql-server(5.5.43) xinetd(2.3.14) n2n(1.3.1) openvpn(2.2.1) iotop(0.4.4) python2.7(2.7.3-6) ssmtp(2.64-7) mailutils(2.99.97-3) apt-transport-https(0.9.7.9) autossh(1.4c) python-support(1.0.15) python-pycurl(7.19.0) unrar(4.1.4) testdisk(6.13) testdisk(7.0-2) linux-ntfs(2.0.0) ntfs-3g(2012.1.15AR.5-2.1) amule-daemon(2.3.1) apcupsd (3.14.12-1.1) nut(2.7.2) golang(1.3.3) git-lfs(1.2.1) e2fsprogs(1.42.13) |
jessie
1 2 3 |
subversion(1.8.10) rsync(3.1.1) php7(7.1.10) |
目前根据反馈,有人在使用本源的时候,存在如下的情况
也就是在安装任何应用的时候都提示:
1 2 3 4 5 6 7 8 |
You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libc-bin : Depends: libc6 (< 2.18) but 2.19-18 deb8u2 is to be installed libc-dev-bin : Depends: libc6 (< 2.18) but 2.19-18 deb8u2 is to be installed Recommends: manpages-dev but it is not installable libstdc 6 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not installable libtirpc1 : Breaks: nfs-common (< 1:1.2.8-7) but 1:1.2.6-4 is to be installed Breaks: nfs-kernel-server (< 1:1.2.8-7) but 1:1.2.6-4 is to be instlled |
这种情况发生的原因,目前初步定位为使用WDMyCloud自带的源执行过
1 |
$ sudo apt-get upgrade |
不管成功失败,还是中途中断,可能会导致"/lib/arm-linux-gnueabihf
"中的libc
库被升级,从而出现下图所示的情况(左边是正常的WDMyCloud系统,右图是出现问题的WDMyCloud):
这个问题的目前有效的解决方法是,使用降级系统版本的方式重新刷机来还原系统:
非常感谢,用您的源成功装上了aria2
不过能否提个小小的建议,您源里的aria2版本是1.51.1,还不支持密码验证。一般用aria2的都是在自己家里路由器上,不支持密码的话,把端口暴露给外网总觉得有点不安全。能否麻烦您编译下最新版的aria2呢?
我编译的是从Debian服务器上面直接拉下来的代码,没有调整过,过几天看看有没有最新的代码,调整一下看看
非常感谢,用您的源成功安装了transmission,不过安装aria2后,却找不到aria2.conf等配置文件,请问是否遗漏了什么,谢谢
安装aria2时出现了这样的提示
dpkg: warning: files list file for package 'libxau6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libssh2-1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblockfile1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwrap0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtagc0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libapr1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libglib2.0-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-port0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpng12-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtalloc2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libevent-2.0-5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libedit2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libldap-2.4-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-client3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1c2a:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblua5.1-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpkcs11-helper1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcre3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdb5.3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsensors4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libx11-6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnfsidmap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libbsd0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common-data:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libjpeg8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnss-winbind:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-modules:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcurl3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaprutil1-ldap:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtirpc1:armhf' missing; assuming package has no files currently installed
警告信息应该不影响使用,我这边都是最小化编译的,很多附加依赖的库没有编译,这些库编译非常耗时,而又不怎么实用
同问啊,出现一样的问题!!
可以试试搜索一下看看,是不是目录有些变化,Debian 跟Ubuntu 还是有些不同的。
建议使用 --conf-path 来指定配置文件
aria2c --conf-path=~/.aria2/aria2.conf
配置文件的内容参考
http://www.right.com.cn/forum/thread-142169-1-1.html
#Aria2 configuration
# RPC Setting
#允许rpc
enable-rpc=true
#允许非外部访问
rpc-listen-all=true
#允许所有来源, web界面跨域权限需要
rpc-allow-origin-all=true
#RPC端口, 仅当默认端口被占用时修改
rpc-listen-port=6800
#用户名
rpc-user=user
#密码
rpc-passwd=pwd
# General Setting
#文件保存路径, 默认为当前启动位置
dir=/mnt/sda_part1/aria2/downloads/
input-file=/mnt/sda_part1/aria2/aria2.session
save-session=/mnt/sda_part1/aria2/aria2.session
#定时保存会话,需要1.16.1之后的release版
save-session-interval=60
#日志路径
log=/mnt/sda_part1/aria2/aria2-log.log
#日志级别
log-level=warn
#event-poll=select
#文件缓存, 使用内置的文件缓存, 如果你不相信Linux内核文件缓存和磁盘内置缓存时使用, 需要1.16及以上版本
disk-cache=8M
#另一种Linux文件缓存方式, 使用前确保您使用的内核支持此选项, 需要1.15及以上版本
#enable-mmap=true
#文件预分配, 能有效降低文件碎片, 提高磁盘性能. 缺点是预分配时间较长
#所需时间 none < falloc ? trunc << prealloc,falloc和trunc需要文件系统和内核支持 file-allocation=falloc #特性 peer-id-prefix=-UT2210- user-agent=uTorrent/2210(25130) # Connection Setting #断点续传 continue=true #同服务器连接数 max-connection-per-server=5 #最大同时下载数(任务数), 路由建议值: 3 max-concurrent-downloads=3 #最小文件分片大小, 下载线程数上限取决于能分出多少片, 对于小文件重要 min-split-size=10M #单文件最大线程数, 路由建议值: 5 split=5 #下载速度限制 max-overall-download-limit=150K #上传速度限制 max-overall-upload-limit=50K #单文件下载速度限制 max-download-limit=150K #单文件速度限制 max-upload-limit=20K #断开速度过慢的连接 lowest-speed-limit=1K auto-save-interval=120 check-certificate=false # BT/PT Setting #强制加密, 防迅雷必备 bt-require-crypto=true #单种子最大连接数 bt-max-peers=55 enable-peer-exchange=true #启用本地节点查找 bt-enable-lpd=true #不确定是否需要,为保险起见,need more test enable-dht=true #监听端口 listen-port=48028 dht-listen-port=48028 #当下载的文件是一个种子(以.torrent结尾)时, 自动下载BT follow-torrent=true #保存会话 force-save=true bt-seed-unverified=true bt-save-metadata=true bt-hash-check-seed=true bt-remove-unselected-file=false bt-stop-timeout=900 #修改做种设置, 允许做种 seed-ratio=1 seed-time=5 disable-ipv6=true
你好,按照这个方法安装了transmisson,能不能说下怎么简单的配置和使用啊?谢谢
我自己不怎么用 transmisson的,建议自己百度一下看看,应该比我说的清楚一些。
请问现在aria2的版本是什么了呢?谢谢!
aria2 version 1.15.1
新版本更新后能否也在blog里面知会下。现在用的是3.0的my cloud + 1.18.8的aria2,可以支持睡眠等功能,如果有支持4.0的同伴被aria2就准备升级了。谢谢!
可以编译一个高版本的库么,装aria2 高版本需要,谢谢!
aria2 : Depends: libstdc++6 (>= 4.9) but 4.7.2-5 is to be installed
这是由于deb源中增加了 jessie 部分的地址,最新的aria2 部分依赖了 gcc-4.9 版本的库,编译gcc-4.9顺利的话要两天左右时间,目前正在编译,中间如果出现编译失败,还要查找原因,然后重新来过,因此libstdc++6 部分的编译要大约一周以后才能更新上来。
建议把更新源中的 deb http://www.mobibrw.com/deb/wdmycloud/4.0/jessie jessie main 这行代码删除或者注释掉,然后 apt-get update ,然后 apt-get install aria2 安装 1.51.1 版本的 wheezy 源中的版本。
老版本没有密码等选项的,这个在评论中有人回复过了,所以才会尝试提供更高的版本出来。
谢谢!
1.51.1 版的aria2已经安装成功在用了,想试试高版本的功能哈。
已经可以安装,但是需要有人先吃螃蟹,没有问题大家再安装,欢迎勇敢者尝试,安装测试完成后请务必回复,方便大家安装。
已经验证,不可以使用最新的 aria2包,我将会删除这个包,安装之后,由于 glibc6的升级,导致系统崩溃,提示错误
relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference
已经安装的用户请不要重启机器,直接下载原厂的更新包做出厂还原。
原理参考
http://blog.chinaunix.net/uid-22948773-id-3568503.html
请问博主是否还会继续尝试编译4.0的aria2
已经有4.6版本的GCC 存在了,不妨试试自己编译一下看看,不过不保证安装GCC 后会不会出问题啊,大家慎重啊
已经提供了最新的 aria2 1.18.8
已测试aria2 1.18.8,成功安装运行 🙂
已经手贱,relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference了,请问,具体是怎么出厂还原,我现在任何命令都是这个提示。。。
在 “拯救死翘翘了的 WD MY CLOUD” http://www.mobibrw.com/?p=1284 中有方法,有两个方法的,一个是抹除数据,另一个是不损坏数据的方法。自己试试了!
这个正常否?
package has no files currently installed
dpkg: warning: files list file for package 'libpam-winbind:armhf' missing; assuming package has no files currently installed
(Reading database ... 24416 files and directories currently installed.)
Unpacking aria2 (from .../aria2_1.18.8-1_armhf.deb) ...
Processing triggers for man-db ...
fopen: Permission denied
Setting up aria2 (1.18.8-1) ...
按理说不应该出现这个 fopen: Permission denied 的,这个貌似是要写某个文件,但是目录不存在,倒不是真的权限不足,我自己测试了一下,貌似没有影响到正常使用的,也是懒得去捣鼓了。
博主能否帮忙编译一下php5-gd?
想在4.0版本上试试owncloud
谢谢
执行了一下编译 php5-gd,但是貌似是完整重新编译了整个的PHP5,这就意味着 WDMyCloud上面自带的整个的PHP都可能需要强制全部升级,这个风险太大,你确定需要尝试吗?如果确定的话,麻烦回复我一下,我会提供上来,但是我自己不敢在本机测试,(本机数据太多,损失不起),无法保证不会导致系统崩溃,一定要谨慎,另外,有一个额外的要求,那就是一定要发表自己的经验教训,这样才能方便其他人使用的。
多谢提醒,理论上折腾系统不影响数据,我可以测试并提供经验教训。
安装过程中可能还需要其他的依赖包,还得麻烦博主。
更新到最新的 V04.01.03-421版本 使用官方提供的源 ,但是只要是更新 libc6 ,libstdc++的情况出现,就建议取消了,因为一旦升级,基本系统就要重做了。
用最新的官方源安装php5-gd后UI无法登陆,停留在Reading configuration information...
不得已只能重新恢复系统
是否需要我把编译好的旧版本的php5-gd 放上来看看呢?
不用了,谢谢
受不了WD的固件了,已经转投OpenMediaVault了
更新到最新的 V04.01.03-421版本 使用官方提供的源
请问更新最新的固件版本后,是不是Aria2要重新安装啦?博主编译的软件要适配My cloud的固件版本吗? 谢谢!
固件更新之后,需要重新安装Aria2,因为安装过程中会抹掉所有用户手动安装的应用。之所以不用jessie版本的Aria2,原因在于,jessie版本的Aria2使用了 gcc-4.9的动态链接库,导致 libc6的连带升级,而这个基础库的升级导致了系统的崩溃。
我编译的是链接了旧版本的libc6,因此不会导致libc6的升级。系统都是兼容旧版本,因此,不需要适配新版本固件,这个是Linux的特性。
感谢,已经装上可以正常使用了,但是自启动在4.0版本要怎么弄,博主能否指导一下,我每次重启后都要手动putty上去aria2c --conf-path=/etc/init.d/aria2.conf -D;才能开启aria2,在rc.local中增加这句话似乎不起作用了。
把其他的话全部删掉,只留这一句,成功了。
不大建议放到 rc.local中 ,原因在于如果系统启动的时候,rc.local中的脚本失败,可能会导致系统启动失败,这样可能导致系统无法进入,这时候是没办法处理的,除了重装系统之外。(虽然我也是这么干的,要求应用随机启动,方便啊!!)WdMyCloud的本身内存太少了,随机启动的应用太多的话,失败的可能性还是蛮大的。
请问博主是上海人吗?“不大建议放到”
非上海人,北方人士
请问能否build新版的transmission呢?
因为我之前在4.0版本下安装过nasyun论坛另一位朋友编译的2.52版本,发现下载pt速度很慢,回到3.0安装2.82后下载速度就正常了.如果站长有空编译一下新版的transmission,我可以帮忙测试.
非常遗憾,编译最新的2.84版本的transmission的时候失败了,qmeu 在编译 lrelease qtr.pro 命令的时候崩溃了,而且是一直崩溃,无法正常运行,暂时没办法处理qt编译的时候崩溃的问题。
更新到最新的 V04.01.03-421版本 使用官方提供的源
在04.01.03.421下,使用博主的源,安装aria2成功。没有任何问题,现在运行正常。
十分感谢博主的细致入微的工作和及时的信息共享。
您好,请问下有迅雷远程下载么。。
还有百度云
非常感谢
迅雷跟百度云是没有源代码的,没办法重新编译,因此在我的源中是没有的。
请问有没有可能编译一个4.0版本可用的mysql啊?谢谢!
暂时没有尝试过,回家试试编译一个好了
谢谢!
mysql-server已经提供,但是他会升级perl,这个没有做出测试,需要您安装一下然后测试反馈一下,注意,可能导致您的系统出现异常!请务必慎重。
请问执行sudo apt-get install mysql-server就可以了吗?
是的,先执行 sudo apt-get update ,然后sudo apt-get install mysql-server ,如果不升级 perl的情况下,可以使用 sudo apt-get install mysql-server-core来安装,但是这时候是没有mysql-client的,也就是没办法在shell中执行SQL命令,必须依赖其他工具。
mysql启动失败,请博主看一下
安装完成后输入mysql命令尝试设置密码,提示命令没有找到。。。
WDMyCloud:~# mysql -uroot -p
-bash: mysql: command not found
安装过程中的错误如下:
WDMyCloud:~# sudo apt-get install mysql-server-core-5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mysql-server-core-5.5
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B/3138 kB of archives.
After this operation, 16.1 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
mysql-server-core-5.5
Install these packages without verification [y/N]? y
Selecting previously unselected package mysql-server-core-5.5.
dpkg: warning: files list file for package 'libssh2-1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxau6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblockfile1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwrap0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtagc0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libapr1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libglib2.0-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-port0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpng12-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtalloc2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libevent-2.0-5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libedit2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libldap-2.4-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-client3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1c2a:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblua5.1-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpkcs11-helper1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcre3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdb5.3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsensors4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libx11-6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnfsidmap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libbsd0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common-data:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libjpeg8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnss-winbind:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-modules:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcurl3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaprutil1-ldap:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtirpc1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaprutil1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5support0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'librtmp0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcap0.8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdevmapper1.02.1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexpat1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libltdl7:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkeyutils1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libreadline5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libantlr3c-3.2-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libasound2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxcb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtdb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxpm4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1-vanilla:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblzo2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libogg0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaprutil1-dbd-sqlite3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfontconfig1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libmagic1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libk5crypto3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssglue1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libjson-c2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libunistring0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwbclient0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfuse2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssapi-krb5-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libparted0debian1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgd2-xpm:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libconfuse0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexif12:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libffi5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libflac8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdbus-1-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxml2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfreetype6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxdmcp6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-cap:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-winbind:armhf' missing; assuming package has no files currently installed
(Reading database ... 24486 files and directories currently installed.)
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.43-0+deb7u1_armhf.deb) ...
Processing triggers for man-db ...
Setting up mysql-server-core-5.5 (5.5.43-0+deb7u1) ...
WDMyCloud:~# mysql
-bash: mysql: command not found
WDMyCloud:~#
尝试安装更新perl的方式似乎成功了,可以登录进数据库进行操作了。还能否请帮忙编译一个php-mysql可以用于php adminer管理数据库,太感谢了!
恭喜,我回家看看能不能编译一下php-mysql,独立编译过独立PHP安装包,当时会升级PHP导致系统无法进入。回家继续试试独立编译 php-mysql,这次的尝试可能需要更加小心,如果提示升级PHP,那就不能安装的。
php5-mysql的安装会导致php5核心模块的升级,而核心升级后,无法正常进入网页,因此无法提供php5-mysql
谢谢,使用中还遇到一个问题,似乎任何机器都连不上mycloud上的mysql实例,telnet上3306端口也直接被拒,是不是mycloud或mysql的设置问题啊?再次感谢博主
mysql的远程连接需要配置的,默认是禁止远程连接的,这个是为了安全性,具体的设置请参考度娘,另外,无密码模式是永远禁止远程连接的。
根据以下帖子中的第二点进行设置后可以访问了,非常感谢博主提供的mysql!
http://serverfault.com/questions/137418/remote-mysql-connection-fails-10060
谢谢博主,虽然无法使用php-mysql,但是可以用mysql就已经很好了
博主能否编译一个n2n v2,方便远程控制mycloud
如果系统支持的话,是可以编译的,我回去看看行不行,到时候给你个回复
非常感谢提供,我已经不需要用n2n管理nas云了,可以通过路由器上安装ngrok来管理nas,非常方便,防火墙上不需要做任何映射,我已经写了一篇文章放到nasyun上了,可以去看看,完全可以远程管理aria2和transmissions,而且不需要公网ip
目前Debian上面适配的只有 n2n 1.3.1版本,不管是Wheezy还是jessie上面,目前适配的最新的都是这个版本,已经编译上传,不妨试试。
我看了下我在v3上用过但是现在v4上没人编译的软件就只剩下irssi和ncftp
ncftp好像没什么依赖
但是irssi有一大堆perl的依赖不知道会不会比较麻烦
还有unrar,这个虽然有人编译wheezy版,但wheezy版不能解压rar5格式
另外用源里有两个版本的aria2我真不知道用apt-get要怎么指定版本
好吧
unrar要用libc看来确实是没戏
1.当源里有两个版本的时候,默认选择最大的版本,如果要指定低版本,则 apt-get install aria2-1.xx这样的格式安装。
2.依赖 perl 并不可怕,可怕的是依赖与WD 不同版本的perl ,就比较麻烦,WD 在编译的时候没有使用默认参数,而我们也无从知晓他们当时的编译参数,因此只能是以不变应万变。
3.unrar 的编译,可以使用 jessie下面下载代码,然后拷贝到wheezy目录下面编译的方式处理,这样就不需要升级libc 了,但是,这个方法不一定能编译通过!!
谢谢
似乎现在源里头的Aria2只有1.15版
我找不到1.18版
有什么原因吗?
1.18 是后面放入的版本,估计你本机上面还是老的记录,执行一下 apt-get update 看看!
我是前两天才开始折腾v4固件的
https://paste.ee/p/tUDsn
抱歉,是我的失误,我在网站上确实是存放了1.18 版本的aria2,但是本地备份服务器上面没有,而后期增加新包的时候,没有同步到本地服务器,导致更新之后生成的源列表中只有1.15的版本。尽管服务器上面确实有1.18的版本。
我晚上回家之后会同步到本地服务器,然后更新一下源列表的。
不妨明天试试,看是不是能得到1.18版本的。
1.18的还是不能安装。。。
WDMyCloud:~# apt-cache show aria2
Package: aria2
Version: 1.18.8-1
Architecture: armhf
Maintainer: Patrick Ruckstuhl
Installed-Size: 3804
Depends: libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), libgcrypt11 (>= 1.5.0-3), libgnutls26 (>= 2.12.17-0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 4.6), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4)
Recommends: ca-certificates
Filename: ./aria2_1.18.8-1_armhf.deb
Size: 1532972
MD5sum: e253a452062d64e95843f402ae84888c
SHA1: fcc73f5b8cc9c60ff48f512e1f8b5b6bb146729d
SHA256: 7f106c60fbb89c44ab2e40b37b836a6fa7b6c6946d4b2942b6a09a732175b550
Section: net
Priority: optional
Homepage: http://aria2.sourceforge.net/
Description: High speed download utility
Aria2 is a command line download client with resuming and segmented
downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent and it also
supports Metalink.
Package: aria2
Priority: extra
Section: net
Installed-Size: 3082
Maintainer: Patrick Ruckstuhl
Architecture: armhf
Version: 1.15.1-1
Depends: libc-ares2 (>= 1.7.1), libc6 (>= 2.13-28), libgcc1 (>= 1:4.4.0), libgcrypt11 (>= 1.5.0-3), libgnutls26 (>= 2.12.17-0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 4.4.0), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4)
Recommends: ca-certificates
Filename: dists/wheezy-64k/main/binary-armhf/aria2_1.15.1-1_armhf.deb
Size: 1285408
MD5sum: 1ff752750b6b44f497d2b4d2c37e4439
SHA1: 252d1a99cd02204548f3269e9684334b5741a349
SHA256: 83c757a3c180eff26f125a7c33ac1c5a34fc70feee9b78945353eadfcf154302
SHA512: d2a0d54de7dee9c57fae079c74ced7e864d0994d4ae94fa2a037b4a559432449fe339b42a28984ef908cdd63a2d2272764350ccec538f677b6559cecb9062ce9
Description: High speed download utility
Aria2 is a command line download client with resuming and segmented
downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent and it also
supports Metalink.
Homepage: http://aria2.sourceforge.net/
1.18 应该是可以安装的,您可能已经使用过其他的源安装过aria2,导致库冲突,建议卸载冲突的库,重新安装一下看看,如果还不行,麻烦贴出来详细的错误信息,依赖库是没问题的。
安装transmisson失败,找不到安装包了
搜索了一下,确实是缺失了,晚上回家处理一下,请明天试试!
我这边测试,安装是没有问题的!
安装aria2失败
WDMyCloud:~# sudo apt-get update
Ign http://www.mobibrw.com wheezy Release.gpg
Ign http://www.mobibrw.com jessie Release.gpg
Ign http://www.mobibrw.com wheezy Release
Ign http://www.mobibrw.com jessie Release
Get:1 http://www.mobibrw.com wheezy/main armhf Packages [43.6 kB]
Get:2 http://www.mobibrw.com jessie/main armhf Packages [25.0 kB]
Ign http://www.mobibrw.com wheezy/main Translation-en
Ign http://www.mobibrw.com jessie/main Translation-en
Fetched 68.6 kB in 2s (31.7 kB/s)
Reading package lists... Done
WDMyCloud:~# sudo apt-get install aria2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
aria2
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 1533 kB of archives.
After this operation, 3895 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
aria2
Install these packages without verification [y/N]? y
Get:1 http://www.mobibrw.com/deb/wdmycloud/4.0/wheezy/ wheezy/main aria2 armhf 1.18.8-1 [1533 kB]
Fetched 1533 kB in 5s (270 kB/s)
Selecting previously unselected package aria2.
dpkg: warning: files list file for package 'libssh2-1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxau6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblockfile1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwrap0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtagc0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libapr1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libglib2.0-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-port0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpng12-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtalloc2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libevent-2.0-5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libedit2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libldap-2.4-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-client3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1c2a:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblua5.1-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpkcs11-helper1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcre3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdb5.3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsensors4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libx11-6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnfsidmap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libbsd0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common-data:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libjpeg8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnss-winbind:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-modules:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcurl3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaprutil1-ldap:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtirpc1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaprutil1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5support0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'librtmp0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcap0.8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdevmapper1.02.1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexpat1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libltdl7:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkeyutils1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libreadline5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libantlr3c-3.2-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libasound2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxcb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtdb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxpm4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1-vanilla:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblzo2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libogg0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaprutil1-dbd-sqlite3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfontconfig1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libmagic1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libk5crypto3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssglue1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libjson-c2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libunistring0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwbclient0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfuse2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssapi-krb5-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libparted0debian1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgd2-xpm:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libconfuse0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexif12:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libffi5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libflac8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdbus-1-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxml2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfreetype6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxdmcp6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-cap:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-winbind:armhf' missing; assuming package has no files currently installed
(Reading database ... 24423 files and directories currently installed.)
Unpacking aria2 (from .../aria2_1.18.8-1_armhf.deb) ...
Processing triggers for man-db ...
fopen: Permission denied
Setting up aria2 (1.18.8-1) ...
这个的安装内容是成功的啊!,如果你执行 aria2c 这个时候是有输出的啊!“fopen: Permission denied”这句话并不是失败啊!只是没有办法记录一下日志而已!
我专门恢复了系统,按照步骤来的,不知道为什么安装完以后,浏览器打开http://mycould的IP地址/yaaw提示:“Not Found
The requested URL /yaaw was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”
yaaw 是需要安装的,目前没有人有编译这个软件的需求,因此这个软件是不存在的,但是 aria2 是已经正常工作的!
yaaw怎么安装啊?我是菜鸟,麻烦你教教我,万分感谢
我的My Cloud固件是最新的v04.01.04-422,感觉还是没安装上aria2,能不能详细的告诉我一下安装流程?按照你说的安装完以后,/etc目录下没有aria2文件夹,也找不到配置文件,你告诉我aria2已经正常工作,需要安装yaaw,我网上找了方法到设置yaaw界面,总是弹出“错误: Aria2 RPC 服务器错误”,网上说“错误: Aria2 RPC 服务器错误”有两个,一个是aria2的RPC路径设置问题,我检查过了,这个设置完全没问题,另一个是aria2没有运行,aria2有没有运行我不会检查啊,我是小白,折腾好几天还是弄不好,是不是因为我的固件升级到最新的原因?不知道到底哪里出了问题,希望你帮帮我,另外,每次评论都得审核好几天,希望你说的详细一些,万分感谢,真的非常感谢
1.aria2的使用,在这篇帖子的讨论里面,有详细的配置规则,请翻阅一下看看。
2.至于/etc目录下面的文件夹,这个是跟Linux系统的不同而不同的,WDMycloud 使用的是Debian ,跟Ubuntu类似,是不存放在/etc目录下面的。
3.aria2的RPC问题,请参考 http://binux.github.io/yaaw/ 的配置指导来操作。
4.配置问题,请直接参考软件官方网站的教程,网上其他的教程都是针对自己独立的操作系统的,估计很多都是基于CentoOS,FreeBSD等系统的,这基本上是相差非常大的系统了。
5.至于评论的放开,我也是非常希望能够立即显示的,但是,受限制在国内的政策,一旦某些不当言论出现,基本上网站就死翘翘了,这个还请谅解。
谢谢你的耐心,想了想你也不知道我错在哪不好指导我,这样,我把我的操作说一遍希望你能帮我看看哪里出了问题
1、我先恢复My cloud的系统到出厂设置,系统固件v04.01.04-422
2、打开putty,登陆my cloud,输入“nano /etc/apt/sources.list”然后把出现的全部删除,输入“deb http://ftp.us.debian.org/debian/ jessie main
## Note, wheezy is not 64K page aligned.
##deb http://ftp.us.debian.org/debian/ wheezy main
#deb http://ftp.us.debian.org/debian/ sid main
#deb http://ftp.us.debian.org/debian/ experimental main
#deb-src http://ftp.us.debian.org/debian/ jessie main”保存,然后输入“sudo apt-get update”然后输入“sudo apt-get install aria2”至此aria2应该已经装好了,然后应该是使用 –conf-path 来指定配置文件aria2c –conf-path=~/.aria2/aria2.conf,我不清楚的是这句命令也是用putty输入?具体是只输入“aria2c –conf-path=~/.aria2/aria2.conf”这句,还是连后面的那些配置都输入进去?配置里的内容有中文注释倒是都能明白!如果这个步骤结束以后,我又该怎么做才能在电脑上控制aria2下载?需要安装yaaw吗?如果需要怎么安装?能不能帮我编译一个安装源?如果不用安装,我该在网页上输入什么?我之前试过“http://mycould的IP地址/yaaw”“http://mycould的IP地址/aria2”“http://mycould的IP地址:6800”都打不开aria2啊!至于配置教程,我都是参考nasyun论坛上的,官网的我看不太懂!谢谢你帮我看看我的问题,或许以后有像我这样的电脑小白看咱俩的记录就能搞定aria2了,万分感谢(我的QQ:1225847987,如果方便加我一下教教我就更好了)再次感谢
1.所有配置都在putty中执行,否则,没有输入命令的地方。
2.aria2 安装完成后,可以在putty 中使用令行来操作下载,但是这时候,你是没有图形界面的,也不能通过网页操作,只能在putty中一个命令一个命令的敲。yaaw的目的是开一个网页的界面,使得以前敲命令,改成了点点鼠标就能搞定,但是他的本质还是在后台调用了一行一行的命令来运行的。
3.yaaw是一个类似网站的东西,因此不需要安装,只需要存放到指定的目录,通知Apache来调用就可以了。
4.之所以你无法调用到yaaw,是因为没有把yaaw放到Apache能找到的目录下面,自然无法打开。
5.aria2本身就是,无法通过网页调用的,因为他没有这个功能,要实现这个功能,需要yaaw来中转一下才能实现网页上面操作的功能。
6.“aria2c –conf-path=~/.aria2/aria2.conf” 这句命令的意思是告诉 aria2 ,配置文件的位置是在 当前用户目录下面的 .aria2 目录下面的 aria2.conf 文件,使用这个文件里面的配置来执行任务。
7.~/.aria2/aria2.conf 这个文件是要手工生成,里面的内容就是后面的一堆的配置信息。
8.只有 aria2 启动成功了,才能操作yaaw
9. http://ftp.us.debian.org/debian/ jessie main 这个安装源,是官方标准源,是不是能正常的启动aria2 ,目前表示怀疑态度。这个目前貌似需要gcc -4.9 ,安装完成后,估计会导致系统重启后,无法进入。建议在putty 中直接输入 "aria2c --help " 看看是不是输出了一堆的提示,如果输出了提示,就正常了,如果没有任何输出,或者提示 "killed",就代表不能使用这个安装源里面的程序了。
非常感谢
1、用putty输入命令来控制下载对我来说太困难了,所以我还是选择用yaaw
2、yaaw我是需要下载吗?下载下来是一个文件夹?我把它放到哪个目录Apache能够找到?
3、“aria2c –conf-path=~/.aria2/aria2.conf” 这句命令的意思是告诉 aria2 ,配置文件的位置是在 当前用户目录下面的,这个当前用户目录应该就是“/etc”吧?
4、你最后说的那条意思是不是我的固件还不一定支持aria2正常运行?
输入“ help -aria2c”没有任何提示
那我是不是安装较低版本那个aria2可以啊?安装那个是不是把安装那条命令改成“sudo apt-get install aria2(1.15.1)”?
1.请执行 ”aria2c --help“ 而不是 “help --aria2c”
2.“aria2c –conf-path=~/.aria2/aria2.conf” 这句命令中的 “~"符号代表了当前用户的目录,可以肯定的是,一定不是"/etc","/etc"属于系统配置目录,而不是用户配置目录。想知道在哪个目录下面,请执行 “echo ~” 命令,他会输出这个“~”代表的是哪个目录。
3.MyCloud的系统是修改过的系统,他并不能完全安装公共源上的应用,很多应用一旦安装之后,会升级MyCloud 自带的系统关键库文件,导致系统不能正常工作,至于哪些应用会出现问题,完全是自己尝试之后才会知道。
4.如果您操作Linux的基础命令都存在困难的话,配置这个功能是比较吃力的。
“aria2c –conf-path=~/.aria2/aria2.conf”发现这条命令中的“–conf-path”前面的那个“–”比后面的“-”长,而且长的那个复制不到putty里面
我输入 ”aria2c –help“反馈如下
“WDMyCloud:~# aria2c -help
Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Printing options whose name includes 'elp'.
Options:
-h, --help[=TAG|KEYWORD] Print usage and exit.
The help messages are classified with tags. A tag
starts with "#". For example, type "--help=#http"
to get the usage for the options tagged with
"#http". If non-tag word is given, print the usage
for the options whose name includes that word.
Possible Values: #basic, #advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #rpc, #checksum, #experimental, #deprecated, #help, #all
Default: #basic
Tags: #basic, #help
Refer to man page for more information.
WDMyCloud:~#”
而且我输入的是短的“-”
1.只要出现这个提示,说明,aria2 是正常工作的。
2.“--conf-path”前面的那个“--” ,实际上是两个连续的 "-",看上去像是一个,纯粹是显示问题。如果只输入一个“-”,程序是不能识别参数的,会报错的!
我在etc目录下面新建了aria2文件夹,输入“aria2c --conf-path=/etc/aria2/aria2.conf”反馈是这样的“WDMyCloud:~# aria2c --conf-path=/etc/aria2/aria2.conf
Exception caught
Exception: [download_helper.cc:522] errorCode=1 Failed to open the file /etc/aria2/aria2.session, cause: No such file
”最后打开“http://app.baotuba.com/yaaw/”设置里面“http://192.168.31.180:6800/jsonrpc”192.168.31.180是我的my cloud的IP,反馈还是“Error: Internal server error”我的aria2.conf里面内容是这样的“#Aria2 configuration
# RPC Setting
#用户名
#rpc-user=user
#密码
#rpc-passwd=pwd
#允许rpc
enable-rpc=true
#允许非外部访问
rpc-listen-all=true
#允许所有来源, web界面跨域权限需要
rpc-allow-origin-all=true
#RPC端口, 仅当默认端口被占用时修改
#rpc-listen-port=6800
# General Setting
#文件保存路径, 默认为当前启动位置
dir=/shares/TDdownload
input-file=/etc/aria2/aria2.session
save-session=/etc/aria2/aria2.session
#定时保存会话,需要1.16.1之后的release版
save-session-interval=60
#日志路径
#log=/etc/aria2/aria2-log.log
#日志级别
#log-level=warn
#event-poll=select
#文件缓存, 使用内置的文件缓存, 如果你不相信Linux内核文件缓存和磁盘内置缓存时使用, 需要1.16及以上版本
disk-cache=8M
#另一种Linux文件缓存方式, 使用前确保您使用的内核支持此选项, 需要1.15及以上版本
#enable-mmap=true
#文件预分配, 能有效降低文件碎片, 提高磁盘性能. 缺点是预分配时间较长
#所需时间 none < falloc ? trunc << prealloc,falloc和trunc需要文件系统和内核支持
file-allocation=none
#特性
peer-id-prefix=-UT2210-
user-agent=uTorrent/2210(25130)
# Connection Setting
#断点续传
continue=true
#同服务器连接数
max-connection-per-server=5
#最大同时下载数(任务数), 路由建议值: 3
max-concurrent-downloads=3
#最小文件分片大小, 下载线程数上限取决于能分出多少片, 对于小文件重要
min-split-size=10M
#单文件最大线程数, 路由建议值: 5
split=5
#下载速度限制
#max-overall-download-limit=150K
#上传速度限制
#max-overall-upload-limit=50K
#单文件下载速度限制
#max-download-limit=150K
#单文件速度限制
#max-upload-limit=20K
#断开速度过慢的连接
lowest-speed-limit=1K
auto-save-interval=120
check-certificate=false
# BT/PT Setting
#强制加密, 防迅雷必备
bt-require-crypto=true
#单种子最大连接数
bt-max-peers=55
enable-peer-exchange=true
#启用本地节点查找
bt-enable-lpd=true
#不确定是否需要,为保险起见,need more test
enable-dht=true
#监听端口
listen-port=48028
dht-listen-port=48028
#当下载的文件是一个种子(以.torrent结尾)时, 自动下载BT
follow-torrent=true
#保存会话
force-save=true
bt-seed-unverified=true
bt-save-metadata=true
bt-hash-check-seed=true
bt-remove-unselected-file=false
bt-stop-timeout=900
#修改做种设置, 允许做种
seed-ratio=1
seed-time=5
disable-ipv6=true”
帮我看看问题出现在哪里,实在是太感谢了
在配置文件中有这么一句话
#文件保存路径, 默认为当前启动位置
dir=/shares/TDdownload
input-file=/etc/aria2/aria2.session
save-session=/etc/aria2/aria2.session
这个文件是需要你手工创建的,简单的操作,是可以删除上面的配置,或者手工创建一个 aria2.session的空文件就可以了。
十分感谢,感觉像是成功了,更改以后在yaaw界面提示“saved”但是试着下载东西没有速度。而且过了几分钟又显示“Error: Internal server error”崩溃的节奏
下载百度网盘没问题,可能是不适合下载种子文件,老出现错误提示我自己在研究研究,有不会再问你,再次感谢,折腾这么多天总算成功了,太感谢你了
您好,我用您的源 “apt-get install mysql-server-core ”和“apt-get install mysql-server”安装mysql的时候出现了问题,输入mysql密码的之后提示。Unable to set password for the MySQL "root" user ,随后启动mysql的时候提示
Setting up mysql-server-5.5 (5.5.43-0+deb7u1) ...
[ ok ] Stopping MySQL database server: mysqld.
chown: cannot access `/usr/share/mysql': No such file or directory
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 30: 31078 Killed $MYSQL_BOOTSTRAP < $tfile
[warn] /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz ... (warning).
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
希望能帮忙解决下,万分感谢
请参考 评论中 MYSQL 部分的讨论,看看,如果 apt-get install mysql-server-core 再安装 apt-get install mysql-server 会出现问题,可以尝试卸载 mysql-server-core 直接调用 apt-get install mysql-server ,因为当安装mysql-server 的时候,是默认安装 core的,但是core 已经存在的情况下,却可能会忽略掉部分的安装设置项目。
Howard Jiang
2015 年 5 月 13 日 上午 10:14 编辑
根据以下帖子中的第二点进行设置后可以访问了,非常感谢博主提供的mysql!
http://serverfault.com/questions/137418/remote-mysql-connection-fails-10060
万分感谢,我重新刷了下固件成功安装了,您的源非常关键 :D
您好,我想用PHP连接mysql,但是提示“Call to undefined function mysql_connect()”,因为wd mycloud自带的php没有编译上mysql.so,请问要实现用php连接mysql应该怎么弄?
目前没办法通过PHPAdmin来连接mysql 主要是编译出来的版本存在问题导致一旦安装之后,会导致WDMyCloud 功能异常,目前还是无解的。
感谢,请问能不能帮忙编译一个openvpn加到源里面去?
回家编译一个试试,看看能不能正常安装,这个要测试一下才知道的!希望明天能够给一个答复看看!
好的,万分感谢
已经提供openvpn
已经测试安装成功,并且可以完美使用,万分感谢,您可以留下支付宝,我们可以赞助您维护源
好意感谢,暂时还没有这个需求,呵呵!
楼主您好,贵站此贴非常好,我原封不动整理转载到NAS云,已经注明转载来源和作者。
转载后地址:http://www.nasyun.com/thread-25225-1-1.html
如果贵站不允许转帖,请告知我们,我们会尽快处理删掉。
最后,感谢您的智慧造福广大MC网友。
请问最新的4.04.00-308版本能安装博主编译的这些软件吗?谢谢!
没问题的,可以正常使用的,我自己都正常的!
4.0固件安装aria2一次成功,谢谢楼主的帮助!
楼主您好,您编译aria2 1.18.8版本貌似无须其他依赖,或者是已经集成在一起了,可以发个deb的安装包给我吗?方便在本地安装!万分感谢!zfcn@foxmail.com
直接下载即可了:aria2_1.18.8-1_armhf.deb
非常感谢!!!!!!
请问楼主能帮忙编译一个mailutils和ssmtp吗?
晚上回家试试,可以编译,但是必须测试之后才能验证是不是能正常运行,明天反馈一下吧!
多谢。我本来想用它自带的源来装,但一看要装好多依赖库,不敢动。
已经测试,可以正常安装,但是会升级python,已经测试,也没问题。
Thank you!!晚上回家去装。
楼主您好,发现通过aria2下载下来的有文件夹都无法删除,比如百度盘下载下来的就会有这样的问题,请问要怎么解决,谢谢!
WMMyCloud的系统检查版本号是不是低于 04.04.01-112,如果低于这个版本,请升级到这个版本,前面一个版本存在一个当文件夹是属于 root:root 属性的时候,无法删除的BUG,请看看04.04.01-112的更新日志,可以看到这个问题被修复!
固件升级后还是不能删除,我看了下通过aria2下载来的文件夹属性都是只读,应该是这个原因所以无法删除!用Syncy软件同步的文件夹就没有这样的问题!另外aria2下载确实好用,同时进行40个任务也不会死机,只是这时候访问Mycloud里面的文件会比较慢!
最新的固件还是一样的情况,下载下来的文件夹都无法删除,属性都是只读,必须用WinSCP删才行!是不是aria2那里配置的不对还是编译的问题?
降级到040104-422固件,问题解决!
这个问题,还真是没怎么遇到过啊!
hi 我升级到4.04.01-112 aria2就没法用了
你是怎么降级的,能否告知
可以试试联系一下 zfcn@gmail.com,看看,我估计是使用了 WD MY BOOK LIVE 离线升级固件类似的方式吧!
最新固件,马上升级试试!谢谢!我改了固件版本,所以有新固件的时候系统不会提示!
先用WinSCP将 etc/version 打开,把版本号改成低版本,我是直接将前面的4改成2,然后下载需要降级的4.0版本,然后手动更新就可以了!此方式只适合4.0固件的降级!
非常感谢 你 增加 libapache2-svn 库!
不好意思,第一次接触,问个幼稚的问题。利用putty如何更改源列表,按照楼主的网址修改后,不知道如何保存?谢谢
如果你要保存所做的修改,按下Ctrl+O。想要退出,按下Ctrl+X。如果你退出前没有保存所做的修改,它会提示你是否要保存。如果不要,请按N,反之,则按Y。然后它会让你确认要保存的文件名,确认或修改后按Enter即可。更详细的介绍参考 http://www.cnblogs.com/haichuan3000/articles/2125943.html
试过可以装mysql可以创建数据库,但是php没法连接
phpMyAdmin - Error
The mysqli|mysql extension is missing. Please check your PHP configuration. See our documentation for more information.
是不是要装php5-mysq?现在您有解决办法了吗?
Install php5-mysql extension by apt-get install php5-mysql command
Add extension=mysqli.so (near other 'extension=' lines) line to your php.ini
Restart apache service by /etc/init.d/apache2 restart command
有人要求编译过PHP的,但是PHP升级之后,整个系统都不正常了,当时就没有上传PHP包的
您好,按照您的方法成功安装上aria2,配置文件也都搞好了,但是还是出现internal sever error提示,用aria2c --help检查过,反馈也是正常的,请问还可能是哪里出了问题呢,谢谢!
建议看看其他人的讨论,很多时候,是由于配置文件中的问题,比如中文的空格,逗号,分号,不可见字符等,请仔细看看配置文件。
谢谢回复,已经确认是需要手动建立一个空的session文件。
请提供这两个支持,百度云同步需要,谢谢
python-support
python-pycurl
已经提供,请注意查收
谢谢,非常感谢,目前我在wdmycloud上安装软件就是aria2、transmissions和百度云同步,都是通过你的源下载的。
老大。可不可以提供unrar这个命令。百度下来好多视频是rar的。直接在nas解包很爽。~
晚上回去编译一下看看吧
谢谢大佬!
已经提供,注意查收
我把mycloud gen1原来的K4B2G1646E-BCK0(DDR3-1600(11-11-11))拆了下来,换上K4B4G1646E-BCK0(DDR3-1600 (11-11-11)),结果进入ssh后,free查看内存还是识别为256M,难道是barebox需要重新编译?
SPI ROM 里面的内容我已经备份出来了
抱歉,这个操作涉及到了底层的boot loader 甚至是涉及到芯片限制了,这部分极有可能需要重新编译内核驱动这一层
Gen1: Mindspeed Comcerto C2000 (2 core, 650MHz) 256 MB Ram Debian wheezy
Gen2: Marvell armada 370 (2core, 800MHz) 512MB Ram Busybox
请注意,如果是一代的,那么可能需要调整Mindspeed目录下的驱动程序才能识别到完整内存,但是我没有什么把握的。
是一代的,C2000的芯片是可以支持到2G内存,硬件部分估计问题不大,我认为是在底层的boot loader 内需要修改,我把wd上的源代码下载下来看了下,里面有barebox部分的,但我不会编译这一块
这部分没有实际操作过的,恐怕还需要你自己查找资料来处理的,凡是软件上的问题,总有解决方法。
请问大神,aria2还会继续更新吗?比如1.33版本
看情况,一般已经够用了的
请问源里transmission还有吗,安装不了。。。我已经折腾几天了,,,文科生。。。
WDMyCloud:~# sudo apt-get update
Ign http://www.mobibrw.com wheezy Release.gpg
Ign http://www.mobibrw.com jessie Release.gpg
Ign http://www.mobibrw.com wheezy Release
Ign http://www.mobibrw.com jessie Release
Ign http://www.mobibrw.com wheezy/main armhf Packages/DiffIndex
Ign http://www.mobibrw.com jessie/main armhf Packages/DiffIndex
Hit http://www.mobibrw.com wheezy/main armhf Packages
Ign http://www.mobibrw.com wheezy/main Translation-en
Hit http://www.mobibrw.com jessie/main armhf Packages
Ign http://www.mobibrw.com jessie/main Translation-en
Reading package lists... Done
WDMyCloud:~# sudo apt-get install transmission-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
transmission-daemon : Depends: transmission-common (= 2.52-3+nmu2) but 2.92-3 is to be installed
E: Unable to correct problems, you have held broken packages.
WDMyCloud:~#
还原系统了一次还是这样。。。。
这说明在其他源上安装过不同版本的 transmission-common 需要先卸载这个 执行“sudo apt-get remove transmission-common”,然后再试试,其他版本错误跟这个相同处理。
另外还原系统并不能删除已经安装的软件,只是还原了部分设置而已。
您好,请问现在还有MyCould 3TB的镜像么?文章里的网盘已经失效了,我现在正在修复我的MyCould。如果有,请联系我,非常感谢。
http://www.mobibrw.com/2014/1284
这是文章的地址,我过现在很需要这篇文章的帮助,谢谢您的帮助!
更建议使用“更优雅的(不拆硬盘)拯救死翘翘了的WD MyCloud(Ubuntu 17.10)”介绍的方式进行数据恢复,不需要拆硬盘
您好,我已经拆了,我希望能够获取到这个镜像 ,谢谢
这个镜像蛮大的 https://pan.baidu.com/s/1pMHIqJT
请问除了降级还有别的办法吗 gen2代无法降级到4.0版本固件啊
gen2的硬件是不同的,没办法使用gen1的操作系统的,因此不存在降级的情况,gen2的busybox可以自己编译固件
用你的源更新提示以下错误,是不是代表这个方法不行了
Ign http://www.mobibrw.com wheezy Release
Ign http://www.mobibrw.com jessie Release
Get:1 http://www.mobibrw.com wheezy/main armhf Packages [92.7 kB]
Get:2 http://www.mobibrw.com jessie/main armhf Packages [36.1 kB]
Ign http://www.mobibrw.com wheezy/main Translation-en
Ign http://www.mobibrw.com jessie/main Translation-en
Fetched 129 kB in 1s (108 kB/s)
Reading package lists... Done
root@MyCloudEX2Ultra:/# apt-get install aria2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
aria2 : Depends: libgcrypt11 (>= 1.5.0-3) but it is not installable
Depends: libgnutls26 (>= 2.12.17-0) but it is not installable
Depends: libxml2 (>= 2.7.4) but it is not installable
我是顺着nasyun上这个帖子过来的,http://www.nasyun.com/thread-26784-1-1.html,上面说gen2代安装了chroot debian app后也可以用你的方法,但是apt get artia2后提示如下:Ign http://www.mobibrw.com wheezy Release
Ign http://www.mobibrw.com jessie Release
Get:1 http://www.mobibrw.com wheezy/main armhf Packages [92.7 kB]
Get:2 http://www.mobibrw.com jessie/main armhf Packages [36.1 kB]
Ign http://www.mobibrw.com wheezy/main Translation-en
Ign http://www.mobibrw.com jessie/main Translation-en
Fetched 129 kB in 1s (108 kB/s)
Reading package lists... Done
root@MyCloudEX2Ultra:/# apt-get install aria2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
aria2 : Depends: libgcrypt11 (>= 1.5.0-3) but it is not installable
Depends: libgnutls26 (>= 2.12.17-0) but it is not installable
Depends: libxml2 (>= 2.7.4) but it is not installable
依赖库的找不到,这些依赖库正常情况下,gen1的系统自带了,看来gen2的系统没有带这些库导致没办法安装
谢谢回复 我已经安装aria2且正常运行了,现在有个问题就是修改conf文件保存地址后再次下载还是默认原地址,不知道为啥,您知道吗
这个估计根您的参数有关系,具体原因查看系统日志
谢谢你回复 ,用你的源不行,后来我又用自带的源:deb http://ftp.debian.org/debian jessie main安装aria2成功了
库也更新了 到目前为止没出现问题
重启机器后就能读取修改后的conf了,否则即使改了conf也不会实时生效,程序还是按原来的conf来运行,估计需要后台重启程序吧,我也不懂相关命令,只能每次重启机器了
您知道debian下相关的程序退出并重启的命令吗 小白实在不懂哈
如果是系统服务一般用service命令处理,如果是普通应用,一般使用kill命令杀掉进程
比如 apache 的重启 service apache restart
多谢您耐心解答 我觉得可能是系统服务的问题~
今天又装了一下确认了必须您的源和自带的源一起用才能安装aria2,如果一开始不在您的源下update而直接用自带源deb http://ftp.debian.org/debian jessie main的话会提示缺少文件支持,真是太谢谢您了,我会发个教程,到时候会引用您的文章。