Access method 1: Mirror installation
1. Find the mirror
We have prepared the npool-nkn public mirror, which currently only supports the us-east-2 region of the aws market. The mirror information is as follows:
us-east-1:
arm64:ami-003dba53a50e5071a
amd64: ami-07768633fd011aef6
us-east-2:
arm64:ami-0b264292d085fa4a0
amd64: ami-04943f6113a3dceb6
us-west-1:
arm64:ami-094ee29a3394d95c8
amd64: ami-0d0862aa000c188a3
us-west-2:
arm64:ami-08923703a34d3817c
amd64: ami-0085cba13660b1f5a
2. Create an instance
Select the npool-nkn image and click the button in the upper right corner: Start the instance from AMI. It is recommended to select a model with 1 core and 2G configuration.The following firewall ports need to be opened.
22,80,443,30088 (TCP)
30001 - 30005 (TCP & UDP)
32768 - 65535(TCP & UDP)
3. Install and start npool
1.Enter the instance as Ubuntu user and switch to root user.
sudo -s
2. Enter the working directory: /home/ubuntu/linux-arm64
cd /home/ubuntu/linux-arm64
3. Get your appKey from npool console.
Link:https://www.npool.io/dashboard.html
4. Use the following command to execute the installation.
./start.sh <your appKey>
5.finish.
View status :systemctl status npool.service
Stop Npool :systemctl stop npool.service
Start Npool :systemctl start npool.service
Restart Npool:systemctl restart npool.service
Access method 2: One-click command line installation
If you have experience with NKN mining, congratulations, it will be easy. The reference is as follows:
1. Uninstall the original NKN commercial version. [If you do not have the commercial version installed, you can proceed directly to the next step.]
Commercial version uninstall:
sudo ./nkn-commercial uninstall
2. Enter the nkn folder, the same level of nknd directory, copy the one-click installation command below, get your appKey replacement <your appKey> from the console, and press Enter to execute the installation.
wget -c https://download.npool.io/npool.sh -O npool.sh && sudo chmod +x npool.sh && sudo ./npool.sh <your appKey>
3. finish.
View status :systemctl status npool.service
Stop Npool :systemctl stop npool.service
Start Npool :systemctl start npool.service
Restart Npool:systemctl restart npool.service
ps: npool only supports common linux-amd64 and linux-arm64 system architecture models by default. If you have special needs, please contact us at contact@npool.io.
If you are new to NKN mining. It is recommended to understand the general knowledge of NKN mining. The reference link is as follows:
https://forum.nkn.org/t/all-in-one-nkn-faq/164
1. After understanding the basic knowledge, copy the one-key installation command below, obtain your appKey replacement <your appKey> from the console, and press Enter to execute the installation.
wget -c https://download.npool.io/npool.sh -O npool.sh && sudo chmod +x npool.sh && sudo ./npool.sh <your appKey>
2. finish.
View status :systemctl status npool.service
Stop Npool :systemctl stop npool.service
Start Npool :systemctl start npool.service
Restart Npool:systemctl restart npool.service
Npool is installed on a light node by default, and only supports common linux-amd64 and linux-arm64 system architecture models. If you have special needs, please contact us contact@npool.io or please refer to NKN official information processing.
About Light Node Mode:
https://forum.nkn.org/t/notes-on-v2-1-7-light-mode-for-nkn-commercial-on-digital-ocean/4244
3. [Note] Please open some ports of the server to allow NKN to operate normally. The open ports are as follows.
22,80,443,30088 (TCP)
30001 - 30005 (TCP & UDP)
32768 - 65535(TCP & UDP)
4. [Readable] If you want to quickly enter mining and save a lot of time for synchronizing blocks, we provide a block package download for light nodes.
1. Stop the npool service first.
systemctl stop npool.service
2. Delete the ChainDB folder, there is nothing to skip to the next step.
rm -rf ChainDB
3. Download and unzip.
wget -c -O - https://down.npool.io/ChainDB.tar.gz | tar -xzf -
4. Start the npool service.
systemctl start npool.service