Verifying etcd
- Set environment variables.
- Open the /etc/profile file.
vim /etc/profile
- Press i to enter the insert mode and add the following content to the end of the file. By default, etcd V2 is used. Therefore, the API of etcd V3 is required.
export ETCDCTL_API=3 export ETCD_UNSUPPORTED_ARCH=arm64
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the /etc/profile file.
- Make the environment variables take effect.
source /etc/profile
- Start etcd.
cd /usr/local/etcd/bin nohup ./etcd >./nohup.out 2>&1 &

- Check for the etcd process.
ps -ef | grep etcd
The etcd process is displayed.

- Verify the inserted data.
./etcdctl put key "etcd" ./etcdctl get key

Parent topic: Installation and Uninstallation Based on an RPM Package
