## Download and Install Duplicati

  • Login to your CenOS instance and check the version of OS.

  • **The commands given on this page work with CentOS Version 7.**

1916

  • Change to super user using the command: `sudo su`

1917

  • Now install Mono on your Centos server using the following commands: `yum install yum-utils`

1917

  • `rpm --import http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF`

1917

  • `yum-config-manager --add-repo http://download.mono-project.com/repo/centos7/`

1917

  • `yum install mono-devel`

1917

  • Now install Duplicati using the following commands: `yum install epel-release`

1917

  • `yum install libappindicator`

1942

  • `curl -O https://updates.duplicati.com/beta/duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch.rpm`

  • `yum install duplicati*`

1917


Important Note

  • For the latest version, please [CLICK HERE](🔗)

  • Now run Duplicati as a service.

  • Edit the duplicati.service file using the command: `vi /etc/systemd/system/duplicati.service`

  • Once the file is open, insert the following into it and save the file:

[Unit] Description=Duplicati Backup software

[Service] ExecStart=/usr/bin/mono /usr/lib/duplicati/Duplicati.Server.exe --webservice-interface=any --webservice-sslcertificatefile=/home/centos/ssl/my.pfx --webservice-sslcertificatepassword=admin@123 Restart=on-failure RestartSec=30

[Install] WantedBy=multi-user.target

1919


## Add Self-Signed SSL Certificate

  • Create a .pem file using the command: `openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365`

1917

  • Convert the .pem file into .pfx format using the command: `openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert.pem`

1917

  • Make the following changes in the duplicati.service file.

1917

  • Now, enable the Duplicati Service using the command: `systemctl enable duplicati`

  • To check the status of the Duplicati service, use the command: `systemctl status duplicati`

1917


## Access Duplicati

  • If the status shows “active”, go to the following link to access the Duplicati UI Page: http://localhost:8200

  • You will taken directly to the Settings to create a new password.

1921

  • Check the password checkbox and set a new password.

1917

  • Scroll down and click OK.

1917

  • You'll be logged out.

  • To login, enter the new password and you will be taken to the Home page.

1916

  • To open the firewall port for the Duplicati Web GUI, run the following commands: `firewall-cmd --add-port=8200/tcp --permanent` `firewall-cmd --reload`