-
Notifications
You must be signed in to change notification settings - Fork 17
Node Installation on Linux
Due to the Oracle changing terms of use for Java 8, we offer the following solution:
Use Java 11 (installation guide is below)
This solution suggests that the user has Java 8 archive
unzip archive
then use script
sudo update-alternatives --install "/usr/bin/java" "java" "/srv/jdk1.8.0_211/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/srv/jdk1.8.0_211/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javac" "/srv/jdk1.8.0_211/bin/javaws" 1
sudo update-alternatives --config java
/srv - folder containing unzipped Java archive.
Scripts for Java 11 installation
sudo add-apt-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java11-installer
sudo apt-get install oracle-java11-set-default
Uninstall:
sudo apt-get remove oracle-java11-installer
Download tar file for OS Linux 64:
[TestNet for Linux](https://credits.com/Content/file_users/Credits_Node_linux_x64_ver_4.2.412.3_test.tar.gz)
[MainNet for Linux](https://credits.com/Content/file_users/Credits_Network_for_Linux_x64_4_2_410.tar.gz)
After downloading the archive (e.g. Credits_Network_for_Linux_x64_4_2_410.tar.gz), you should unzip it to a user specified folder (e.g. ~/temp”). Results are displayed on the figure below:
Then we move to “client” folder and check its contents:
Node launching parameters “./client” are in the configuration file “config.ini” where user specifies signal server, input and output ports and whether or not IPv6 protocol is used.
To launch the node in the folder where you unzipped the archive you should type “./client” in the terminal:
Upon the first launch of the node (client.exe), users will be offered to create a new node public key (press button “g”), or quit (press button “q”) as displayed on the figure below:
Then input password to generate keys and press “Enter”.
Keys are generated without entering the password. After that, the node will try to connect to the network.
Successful connection is displayed on the figure below:
Node
./client
Executor
java -jar contract-executor.jar
Wallet
java -jar wallet-desktop.jar