$ wget https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_server.tar.gz $ tar -xvf linux_amd64_server.tar.gz $ ./nps install
配置文件目錄:linux
/etc/nps
命令用法:git
nps start|stop|restart|uninstall|update or nps-update update
啓動:github
$ nps start # 以守護進程啓動
nps默認配置文件使用了80,443,8080,8024端口:web
$ wget https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_client.tar.gz $ tar -xvf linux_amd64_client.tar.gz
啓動:服務器
$ ./npc -server ip:8024 -vkey "nps後臺生成的客戶端的key"