-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Debian Chroot
Debian is a free operating system (OS) that comes with over 29000 packages, precompiled software bundled up in a nice format for easy installation on your DiskStation. Debian Chroot allows you to benefit from the Debian OS inside your DiskStation, alongside DSM. This package is intended for advanced users only.
Once the installation finished in the Package Center, it continues in the background and you can see its status to Installing under Overview in the left pane. The installation finished, the status will automatically change to Installed.
In the same pane, you can monitor how many services are running and perform update operations.
As soon as the status is Installed, you can start using the chroot. To do so, connect to the DiskStation through SSH (root user) and use the following command: /var/packages/debian-chroot/scripts/start-stop-status chroot
.
On the first use, it is recommended to perform some configuration operations:
- Update: type
apt-get update
followed byapt-get upgrade
- Locales: type
apt-get install locales
and thendpkg-reconfigure locales
- Timezone: execute
dpkg-reconfigure tzdata
Debian Chroot allows you to manage the packages you installed in the chroot directly from DSM.
Under Services in the left pane, you can manage services that you manually installed previously in the chroot: start and stop them easily.
- Manually install in the chroot the service you chose
- Configure it by editing the correct configuration files
- In the interface, click on Add and fill the form. The launch script will be launched with the start argument to start the service and stop to stop it. The status command shall return 0 exit code if the service is started or 1 if it is stopped.
- Install the SSH server:
apt-get install ssh
- Edit the configuration file:
/etc/ssh/sshd_config
in order to change the port number and other things if necessary - Click on Add and put the name SSHD, the launch script
/etc/init.d/ssh
and the status commandps -p $(cat /var/run/sshd.pid)
- Home
-
Packages
- Adminer
- Aria2
- Beets
- BicBucStriim
- Borgmatic
- cloudflared
- Comskip
- Debian Chroot
- Deluge
- Duplicity
- dnscrypt-proxy
- FFmpeg
- FFsync
- Flexget
- Gstreamer
- Google Authenticator
- Home Assistant Core
- Jellyfin
- Kiwix
- [matrix] Synapse homeserver
- MinIO
- Mono
- Mosh
- Mosquitto
- Node-Exporter
- Radarr/Sonarr/Lidarr/Jackett
- SaltStack
- SickBeard Custom
- SynoCLI-Disk
- SynoCLI-Devel
- SynoCLI-File
- SynoCLI-Kernel
- SynoCLI-Misc.
- SynoCLI-Monitor
- SynoCLI-NET
- Synogear
- Concepts
- Development
- Resources