DeFiChain Testnet Masternode/Fullnode Installationscript incl. API
- Debian 10/11 (KVM virtualization recommended)
- 4 Cores
- 8 GB Memory
- 100 GB SSD/NVMe
- Registered Domain or Subdomain pointing to the IP address of your server
⚠️ Please note, the Script install Apache and configure it and change your Hostname and disable root-Access. Please use it only on a fresh installed system to avoid problems. For test purposes only! You can compare your Node with https://mydeficha.in/en/index.php?site=testnet to check correkt Chain and Blockheigt/Hash.
Login to your Server with SSH (Putty) as a root-User
wget https://raw.githubusercontent.com/mydefichain/testnet/main/install_testnetnode.sh
chmod 744 ./install_testnetnode.sh
./install_testnetnode.sh USERNAME SERVERNAME DOMAIN VERSION
Here you will find information about the latest version and what to look out for:
https://mydeficha.in/en/index.php?site=testnet
./install_testnetnode.sh defichain myMasternode freedomain.com 3.2.2
The Script creates a user named "defichain" and your Server is reachable at http://mymasternode.freedomain.com
You need a public DNS Record that points this Domain to your public IP-Address of your Server.
After the Script is finished, restart your Server with shutdown -r now
and Login with your newly created user and your new password.
Type su USERNAME /home/USERNAME/install_user.sh
Example: su defichain /home/defichain/install_user.sh
This second Script install the correct AIN-Version and use the latest Snapshot of the Testnet.
Finished. You can use your Testnetnode and can reach your API with http://yourdomain.com/api/