How to Install Bootstrap

From SynologyWiki

Jump to: navigation, search

How to Install Bootstrap

Note: This wiki page is intended for experienced Linux users, if you need more detailed instructions see the Bootstrap section in Overview on modifying the Synology Server, bootstrap, ipkg etc

  1. Download the appropriate bootstrap file to a folder on your Synology box. For ARM models use http://www.buechse.de/SYNOLOGY/syno-x07-bootstrap_1.0-jb_arm.xsh, for PPC http://www.nslu2-linux.org/wiki/DS101/DS101BootStrap. If unsure see Is my NAS an ARM or a PowerPC CPU model
  2. SSH or Telnet into the Synology Box
  3. Login as root
  4. Go to the directory containing the bootstrap file
  5. Install bootstrap file, e.g. for ARM models type: sh ds_armmarvell-bootstrap_1.0.xsh
  6. After bootstrap install, type: ipkg update this will update the ipkg package feed on your box.
  7. After bootstrap update, type: ipkg upgrade this will upgrade any installed ipkg packages to the latest version.


Updating ipkg.conf for PPC Models

If you used the PPC bootstrap you will want to update the ipkg.conf file with the new ipkg package feed, which will allow you to install more programs. Thsi step is not neccessary of you used the ARM Bootstrap.

  • The best way to do this is to use vi editor which is the editor in Busybox (the embedded linux tools package used in the Synology firmware), type vi ipkg.conf and add this line to the ipkg.conf file.
src packages http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable
followed by running the update command ipkg update.
  • Newbies use joe editor: (ipkg install joe).
  • If you don’t know how to use vi to edit then the following commands entered directly at the command prompt offer an easy way to append to ipkg.conf:
mkdir -p /opt/etc/ipkg 
echo src packages http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/ \ > /opt/etc/ipkg/synox07.conf
ipkg update
  • Suggestion: If you really want to learn Linux then sometimes you will find vi is the only option, a quick start cheat sheet can be found here [[1]]
  • Another Suggestion: If you'd rather not go there then why not use a simpler editor like nano (ipkg install nano).
Personal tools