#pre-requests: There should be a running etcd server with api v3 and an authontication. The following script can do that for you
wget https://github.com/etcd-io/etcd/releases/download/v3.3.11/etcd-v3.3.11-linux-amd64.tar.gz
tar -xzfv etcd-v3.3.11-linux-amd64.tar.gz
cp etcd-v3.3.11-linux-amd64/etcd /usr/bin
cp etcd-v3.3.11-linux-amd64/etcdctl /usr/bin
export ETCDCTL_API="3"
etcd&
etcdctl user add root:root