similar to previous blog: http://35.233.158.97/2014/08/16/debian-chroot-on-dsm/ Prerequisite: add custom source: Package Centre > Settings > Package Sources > add Name: SynoCommunity Location: https://packages.synocommunity.com/ Installation: – select Debian Chroot and click install – select yes to install python (SynoCommunity version) as well. – after installation completed, ssh to DSM as root
1 2 3 |
root@diskstation> /var/packages/debian-chroot/scripts/start-stop-status chroot bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) root@diskstation:/# |
– now under chroot
1 2 3 4 5 6 7 8 9 10 |
##backup and update source list. e.g. from France to Australia ##see https://www.debian.org/mirror/list sed -i.`date +%Y%m%d` 's/fr.debian.org/au.debian.org/g' /etc/apt/sources.list aptitude update aptitude upgrade aptitude install locales dpkg-reconfigure locales dpkg-reconfigure tzdata # optional: packages to install aptitude install less vim curl rsync screen openssh-server bash-completion |
– enable home for …