From cb41308fdea3b5e5beae21ca39a93027ff7cb372 Mon Sep 17 00:00:00 2001 From: andybjackson <33336318+andybjackson@users.noreply.github.com> Date: Thu, 30 Apr 2020 18:47:49 +0100 Subject: [PATCH 1/2] Update installation instructions to cater also for Debian 10 buster. Have updated the installation instructions to cater also for Debian 10 buster. Note that the Mono installation instructions advice buster-stable rather than just buster. But that is true for earlier versions also. Note also that the instructions for downloading and installing the Debian package setting it up as a service that auto-starts also need to be added. I'll try to add those next. --- docs/02-installation.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/02-installation.md b/docs/02-installation.md index 10d610a..fe3cab2 100644 --- a/docs/02-installation.md +++ b/docs/02-installation.md @@ -88,6 +88,17 @@ sudo apt-get update sudo apt-get install mono-devel ``` +**Debian 10:** +```nohighlight +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF + +echo "deb http://download.mono-project.com/repo/debian buster main" | sudo tee /etc/apt/sources.list.d/mono-official.list + +sudo apt-get update + +sudo apt-get install mono-devel +``` + **Debian 9:** ```nohighlight sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF From 4a87becac5f9023dab22d45f0b4c58dc4bbe0ca7 Mon Sep 17 00:00:00 2001 From: andybjackson <33336318+andybjackson@users.noreply.github.com> Date: Thu, 30 Apr 2020 19:57:56 +0100 Subject: [PATCH 2/2] Installation instructions for the Duplicate .deb package on Linux --- docs/02-installation.md | 65 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/docs/02-installation.md b/docs/02-installation.md index fe3cab2..16e312c 100644 --- a/docs/02-installation.md +++ b/docs/02-installation.md @@ -271,3 +271,68 @@ Because at the moment the internal server component of the Tray Icon tool is alr ![](icon_windows_end.png) ***** + +## Installing Duplicati on Linux + +***** +![](icon_linux_begin.png) Follow this procedure to install Duplicati on your Linux based system. + +*Maybe optional*: Forum [instructions](https://forum.duplicati.com/t/how-to-install-duplicati-on-debian-stretch/4722) advise installation of the following Debian repository packages. + +```nohighlight +sudo apt install apt-transport-https sudo nano git-core python software-properties-common dirmngr -y +``` +Download Debian .deb file from [https://www.duplicati.com/download](https://www.duplicati.com/download) + +```wget https://updates.duplicati.com/beta/duplicati_[...]_all.deb``` + +Edit this line too before you run it with the correct deb file filename you just downloaded: + +```sudo apt install ./duplicati_[...]_all.deb -y``` + +Create and edit the file /etc/systemd/system/duplicati.service + +`sudo nano /etc/systemd/system/duplicati.service` + +Should look like this: +```nohighlight +[Unit] +Description=Duplicati web-server +After=network.target + +[Service] +Nice=19 +IOSchedulingClass=idle +EnvironmentFile=-/etc/default/duplicati +ExecStart=/usr/bin/duplicati-server $DAEMON_OPTS +Restart=always + +[Install] +WantedBy=multi-user.target +``` + +Edit the file /etc/default/duplicati and add DAEMON_OPTS options to your liking: +`sudo nano /etc/default/duplicati` + +```nohighlight +# Defaults for duplicati initscript +# sourced by /etc/init.d/duplicati +# installed at /etc/default/duplicati by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="--webservice-interface=any --webservice-port=8200 --portable-mode" + +Enable, start and check running status of the duplicati service: +sudo systemctl enable duplicati.service +sudo systemctl daemon-reload +sudo systemctl start duplicati.service +sudo systemctl status duplicati.service +``` + +![](icon_linux_end.png) + +*****