Recommended system: Ubuntu 16.04 LTS 64-bit 2+ core threads (if running on a virtual machine) 1+GB RAM TCP Port: 2095 Note: The mochimo node is a "server", so TCP 2095 must be directly connected to the Internet. If you are using a router, please set a static private IP. If the system is not Ubuntu, you can download a virtual machine and install Ubuntu. The mining steps are as follows: 1. Set up a static IP address
b. Set your IPv4 address to a static IP (the address found in the first step); 2. Port mapping a. If you are using a virtual machine for mining, please use bridge mode for network connection, and the router should be able to detect the IP address of the virtual machine; b. Open the Ubuntu terminal (Ctrl-Alt-T) and type ifconfig to view the IP, just like the first step; c. Then log in to the router and map port 2095 to the IP address you see. The operation method varies from router to router, so please check the router operation guide; d. Open the URL https://portchecker.co/ and enter 2095 in the dialog box to check whether the port is open. 4. Install the build-essential installation package a. Install build-essential, command sudo apt-get install build-essential 5. Install CUDA 9.2 and Nvidia drivers sudo dpkg -i cuda-repo-ubuntu1604-9-2-local_9.2.148-1_amd64.deb sudo apt-key add /var/cuda-repo-9-2*/7fa2af80.pub sudo apt-get update sudo apt-get install cuda 6. Mochimo software installation Download the latest mochimo software git clonehttps://github.com/mochimodev/mochimo.git 7. Compile and install cd mochimo/src ./makeunx bin -DCUDA ./makeunx install 8. Create a mining address a. Download the mojo wallet (Java version at least 8) graphical interface b. Or use the command line wallet b.1 Enter the ./bin file and call the wallet: ./wallet -n b.2 Set a name such as "mining" b.3 Set a password (don’t forget it) b.4 Enter random text (type randomly) b.5 Save the file as mining.wal b.6 Open the wallet ./wallet mining.wal b.7 Select option 4 and create a new address, name it 'mining address' b.8 Enter N, and the dialog box "Add tag?" appears. b.9 Select option 7 to export this address b.10 Enter 1 and press Enter to select the address you want to mine and export b.11 Save the file maddr.dat b.12 Enter N to save the balance 13. Select 0 to exit 9. Start mining a. Enter the ./bin folder and enter: ./gomochi d Mining starts, but it takes a few minutes to sync. Press Ctrl+C to bring up the command line? Yes q quit r is for restart 10. Check if your node is working a. If your node keeps updating blocks and receives transaction records on the network, TX recvd , then the node is operating normally. b. When you enter nvidia-smi in the command terminal, your GPU usage is 100%, which means the node is running normally. c. If you find your node is on mochimap.net, then the node is running normally. English original text: http://www.mochiwiki.com/w/index.php/Linux_Full_Node If you encounter any problems, you can go to the official Discord for consultation. | |