how to install ZeroTier One and SSH on alpine linux

Published on Aug. 22, 2023, 12:11 p.m.

ZeroTier provides proprietary software, SDKs and commercial products and services-defined networks. ZeroTier One is a client application that enables devices such as PCs, phones, servers and embedded devices to securely connect to peer-to-peer virtual networks.
ZeroTier One, first released in 2014, is a portable client application.
ZeroTier one of the easiest VPN services to configure for up to 100 devices. The entire process should only take a few minutes.
Alpine Linux is a security-oriented, lightweight Linux distribution .

How to install zerotier on alpine ?

# alpine install ssh
# https://wiki.alpinelinux.org/wiki/Setting_up_a_SSH_server
apk add openssh
rc-update add sshd
rc-status
/etc/init.d/sshd start
#alpine install curl htop
apk add curl htop

#alpine install zerotier one
apk add zerotier-one
# to start zerotier
/etc/init.d/zerotier-one start
rc-update add zerotier-one
rc-status
zerotier-cli join d5e5fb67631542

# alpineinstall nginx
#https://www.cyberciti.biz/faq/how-to-install-nginx-web-server-on-alpine-linux/
#https://www.onitroad.com/jc/linux/how-to-install-nginx-web-server-on-alpine-linux.html
 apk add nginx
 # to restart nginx 
 /etc/init.d/nginx  restart
 #rc-service nginx start
 rc-update add nginx
 rc-status

#View ip information
ip addr show