$ 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"