Sync local repositories with remote.
- Docker
- MongoDB
Download the binary from the Release page, for example:
$ wget https://github.com/ustclug/Yuki/releases/download/v0.2.2/yuki-v0.2.2-linux-amd64.tar.gz
Configure yukid:
# mkdir /etc/yuki/
# chown mirror:mirror /etc/yuki
$ curl 'https://raw.githubusercontent.com/ustclug/Yuki/master/dist/daemon.toml' > /etc/yuki/daemon.toml
$ vim /etc/yuki/daemon.toml
Run MongoDB:
$ docker run -p 27017:27017 -tid --name mongo mongo:3.6
Create systemd service:
# curl 'https://raw.githubusercontent.com/ustclug/Yuki/master/dist/yukid.service' > /etc/systemd/system/yukid.service
Start yukid:
# systemctl enable yukid
# systemctl start yukid