Artica Wiki

ActiveDebianSync Service - Standalone installation

ActiveDebianSync is integrated into Artica, but you can also run it directly on your own servers via command line and REST API, without having to install Artica first.

ActiveDebianSync is integrated into Artica, but you can also run it directly on your own servers via command line and REST API, without having to install Artica first.

Prerequisites

Softwares (only for commands and tool, the main daemon did not require it )

apt-get install -y dpkg rsync wget curl jq git

Install the daemon

Compilation:

git clone https://github.com/dtouzeau/activedebiansync.git
cd activedebiansync
go build -ldflags="-s -w" -o activedebiansync main.go

Or download it directly from git from the release page

wget https://github.com/dtouzeau/activedebiansync/releases/download/1.0.6/activedebiansync
chmod 0755 activedebiansync

sudo cp activedebiansync /usr/local/bin/
sudo mkdir -p /etc/ActiveDebianSync
sudo mkdir -p /var/lib/ActiveDebianSync/mirror
sudo mkdir -p /var/log/ActiveDebianSync
sudo cp tools/activedebiansync.service /etc/systemd/system/
sudo systemctl enable activedebiansync
sudo systemctl daemon-reload
sudo systemctl start activedebiansync

FAQ