-
Notifications
You must be signed in to change notification settings - Fork 6
Running full node
sn-ntu edited this page Mar 27, 2020
·
2 revisions
- 16 cores CPU
- 32GB of RAM
- SSD storage
sudo apt-get update
sudo apt-get install openjdk-8-jre
Check if openjdk was installed successfully
java -version
Output:
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)
wget https://github.com/MidasCore/java-mcashchain/releases/download/v0.2.0/FullNode.jar -o FullNode.jar
wget https://github.com/MidasCore/java-mcashchain/releases/download/v0.2.0/config.conf -o config.conf
nohup java -jar FullNode.jar -p your_supernode_private_key --witness -c config.conf > /dev/null 2>&1 &
kill `ps -ef | grep FullNode.jar | grep java | grep -v grep | awk '{print $2}'`