在 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

按照該帖子的說明進行操作(上面鏈接)。

相關內容