Closed guizmoau closed 4 years ago
Sorry, there is no package for arm64.
can I install manually or compile it manually maybe ?
You could try run from source... let us know the results of your endeavours.
how can I do that ?
You would have to try piece together the steps from here https://github.com/key-networks/ztncui
ok
You might also get some clues from here https://gist.github.com/mdPlusPlus/0f6285c6402aa4aff4aa4a9e5dfc38c0
If you have issues with node 12, try node 8 which was what this was originally developed for.
Also, you might want to use the branch called issue36 since this has updates to the packages file: https://github.com/key-networks/ztncui/tree/issue%2336
ok it did works by following the steps in https://github.com/key-networks/ztncui
I did summarize all of the commands I used for the record below : -installed zero tier one already done
install node sudo apt install npm sudo npm install -g node-gyp
sudo apt install argon2 git git clone https://github.com/key-networks/ztncui cd ztncui/src npm install
sudo usermod -aG zerotier-one username sudo chmod g+r /var/lib/zerotier-one/authtoken.secret cp -v etc/default.passwd etc/passwd
sudo apt install certbot python-certbot-apache
cd etc/tls openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privkey.pem -out fullchain.pem
nano .env
HTTP_ALL_INTERFACES=yes HTTPS_PORT=3443
npm start if success to install permanent sudo npm install -g pm2 pm2 start bin/www --name ztncui pm2 startup pm2 save
Well done, @guizmoau ! Thanks for your feedback!
The last part below doesn't work and after reboot it doesnt load
sudo npm install -g pm2 pm2 start bin/www --name ztncui pm2 startup pm2 save
I am not sure how to do...ayone ?
also the certbot part failed for me because of my network configuration (NAT ports not open) and I am using a reverse proxy with caddy anyway....but it will works if you have the correct ports 80 and 443 open and accessible for the challenge response.
also the dependency argon2 required is a deb package right, not a npm ?
The last part below doesn't work and after reboot it doesnt load
sudo npm install -g pm2 pm2 start bin/www --name ztncui pm2 startup pm2 save
I am not sure how to do...ayone ?
I got it right when I pass the command pm2 startup it gives me a command to execute :
[PM2] To setup the Startup Script, copy/paste the following command: sudo env PATH=$PATH:/usr/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u user --hp /home/user
I did and pm2 save and reboot and it started with the server....!!
👍
👍
Hello,
I want to install ztncui on an arm64 server. Where can I find or how can I do to find the corresponding .deb package or manually install ?
Thanks.