dae/docs/getting-started
2023-02-21 12:45:26 +08:00
..
kernel-upgrade.md doc: add getting-started section 2023-02-19 16:14:33 +08:00
README.md Update README.md 2023-02-21 12:45:26 +08:00
run-as-daemon.md doc: add run-as-daemon.md (#25) 2023-02-21 00:41:30 +08:00

Quick Start Guide

Linux Kernel Requirement

Kernel Version

Use uname -r to check the kernel version on your machine.

Notes If you find your kernel version is < 5.8, follow the guide HERE to upgrade the kernel to the minimum required version.

Usage

Build

Make Dependencies

clang >= 10
llvm >= 10
golang >= 1.18
make

Build

git clone https://github.com/v2rayA/dae.git
cd dae
git submodule update --init
# Minimal dependency build:
make GOFLAGS="-buildvcs=false" CC=clang
# Or normal build:
# make

Run

Runtime Dependencies

For traffic splitting, Dae relies on the following data sources, geoip.dat and geosite.dat.

mkdir -p /usr/local/share/dae/
pushd /usr/local/share/dae/
curl -L -o geoip.dat https://github.com/v2ray/geoip/releases/latest/download/geoip.dat
curl -L -o geosite.dat https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat
popd

Run

Download the example config file:

curl -L -o example.dae https://github.com/v2rayA/dae/raw/main/example.dae

See example.dae.

After fine tuning, run dae:

./dae run -c example.dae

Alternatively, you may run Dae as a daemon(systemd) service. Check out more details HERE.