Modify apt source in Debian

sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list

sed -i 's/security.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list

apt update

Master

Install the salt – master

apt install salt-master

Modifying a Configuration File/etc/salt/master

Turn auto_accept on and set it to True

Start the service

service salt-master start

Minion

Install the salt – minion

apt install salt-minion

Modifying a Configuration File/etc/salt/minion

Set the master value to the IP address of the master server

Start the service

service salt-minion start