Created
November 12, 2021 13:00
-
-
Save marvin/42ff57e4486cc068bd9251c7b501895a to your computer and use it in GitHub Desktop.
install duplicati in ubuntu 20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list | |
sudo apt update | |
sudo apt install mono-devel gtk-sharp2 libappindicator0.1-cil libmono-2.0-1 -y | |
sudo apt install apt-transport-https nano git-core software-properties-common dirmngr -y | |
cd /tmp | |
wget https://updates.duplicati.com/beta/duplicati_2.0.6.3-1_all.deb | |
apt install ./duplicati_* | |
nano /etc/systemd/system/duplicati.service | |
ADD >>> | |
[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: /etc/default/duplicati | |
change: DAEMON_OPTS="--webservice-interface=any --webservice-port=8200 --portable-mode" | |
sudo systemctl enable duplicati.service | |
sudo systemctl daemon-reload | |
sudo systemctl start duplicati.service | |
sudo systemctl status duplicati.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment