VPS initial configuration
Software setup on Debian 10 (Buster) fresh install
sudo -s
apt update
apt upgrade
apt install htop wget curl vim
apt install default-jdk
java -version
exit
cd
mkdir .alephium && cd .alephium
wget <https://github.com/alephium/alephium/releases/download/v0.11.1/alephium-0.11.1.jar>
Launch the node in dedicated "node" shell
cd ~/.alephium
vim network.conf
java -jar -Xmx500m alephium-0.11.1.jar
Local port forwarding through ssh tunnel
/note /!\ from local machine
ssh -L 12973:127.0.0.1:12973 user[@](<mailto:[email protected]>)alephium-server
then the alephium node api is accessible at http://127.0.0.1:12973/docs/ .
curl -X 'GET' '[<http://127.0.0.1:12973/infos/>](<http://127.0.0.1:12973/infos/self-clique>)node' -H 'accept: application/json'
curl -X 'GET' '[<http://127.0.0.1:12973/infos/self-clique>](<http://127.0.0.1:12973/infos/self-clique>)' -H 'accept: application/json'
Create wallet "test" with password "test"