-
Notifications
You must be signed in to change notification settings - Fork 0
Remote Twister Node setup (Ubuntu Debian)
sudo apt-get update
sudo apt-get install git autoconf libtool build-essential libboost-all-dev libssl-dev libdb++-dev libminiupnpc-dev automake nano
git clone https://github.com/miguelfreitas/twister-core.git
cd twister-core
./autotool.sh
./configure
make -j {CORES}
mkdir ~/.twister
chmod 600 ~/.twister/twister.conf
git clone https://github.com/miguelfreitas/twister-html.git ~/.twister/html
sudo apt-get install ufw
sudo ufw allow 6550
sudo ufw allow 7550
sudo ufw allow from {YOUR_IP} to any port 28332
sudo ufw allow 22
sudo ufw enable
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
-
nano ~/.twister/twister.conf
-
add connections settings
rpcuser={USERNAME} rpcpassword={PASSWORD} rpcsslcertificatechainfile={PATH TO}cert.pem rpcsslprivatekeyfile={PATH TO}key.pem rpcallowip={YOUR_IP}
- Ctrl+X
- Print Y and press Enter button
./twisterd -rpcssl
- Open https://{SERVER_IP:28332} in your browser
- Provide HTTP auth {USERNAME} and {PASSWORD}
- Optionally, support the network or promote your posts by share CPU core in the "Settings" Tab
- Ubuntu 18.04 have deprecated libboost dependencies, just upgrade it to 20.04 if you compiling latest twister-core version