在 NAS 服务器中安装 Bootstrap?

在 NAS 服务器中安装 Bootstrap?

我有一台 Synology NAS 服务器,并尝试按照以下说明安装 Boostrap: http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#Installing_compiled.2Fbinary_programs_using_ipkg

我到目前为止了解到的是:

nas> sh syno-x07-bootstrap_1.2-7_arm.xsh
Optware Bootstrap for syno-x07.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1226+1 records in
1226+1 records out
Backup your configuration settings, then type:
  rm -rf /volume1/@optware
  rm -rf /usr/lib/ipkg
This will remove all existing optware packages.

You must *reboot* and then restart the bootstrap script.


BusyBox v1.16.1 (2012-05-10 02:27:56 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

nas> rm syno-x07-bootstrap_1.2-7_arm.xsh
rm: can't remove 'syno-x07-bootstrap_1.2-7_arm.xsh': No such file or directory
nas> Connection to 192.168.0.124 closed by remote host.
Connection to 192.168.0.124 closed.
macpro:~ monster$ ssh [email protected]
[email protected]'s password: 


BusyBox v1.16.1 (2012-05-10 02:27:56 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

nas> ipkg update
-ash: ipkg: not found

我不知道该如何处理这个错误。有人有什么想法吗?看起来 ipkg 是种类已安装,但重新启动 NAS 服务器后它基本上消失了……?

答案1

我在这里找到了解决方案: http://forum.synology.com/enu/viewtopic.php?f=40&t=23246#p140224

  1. 我删除了@optware - “rm -rf /volume1/@optware”
  2. 我删除了 ipkg - “rm -rf /usr/lib/ipkg”
  3. 我删除了引导程序:“rm -rf /volume1/bootstrap”
  4. 我删除了 syno-x07-bootstrap_1.2-7_arm.xsh - “rm -rf /volume1/syno-x07-bootstrap_1.2-7_arm.xsh”
  5. 在这里检查了我的 NAS 的 CPU:http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have发现我有一台“Marvell Kirkwood mv6281” -> 这意味着我需要下载 http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/syno-mvkw-bootstrap_1.2-7_arm.xsh

按照该帖子中的说明进行操作(上面有链接)。

相关内容