Node step by step installation
Last updated
Last updated
(...) following up from .
Simply run the commands one after the other by copy/pasting. When several commands are grouped, you can safely copy and paste all of them at the same time, and they will be executed sequentially.
Things change fast, and we may be not fast enough to update the scripts you find from now on in the guide. So, to avoid any issue, I suggest checking and for any last minute issue or update. If there is something you don't understand, ask in the chats.
If everything looks fine, proceed.
Update/upgrade the package lists to ensure the latest versions are available.
Install some necessary packages.
Install some optional packages (optional).
OPTIONAL: You won't need GO since you will be running the node directly from the binary file. But it could still be useful for other things. Download and extract the required version of Go (below commands are for amd64 architectures, if you are on a Linux server they should be fine)
Update PATH and GOPATH environment variables in ~/.bashrc.
OPTIONAL: Create and configure swap space for weak server - (not needed if you are running on Docker)
Modify network buffer sizes for better performance (likely won't work if you are running on Docker)
Create some useful folders
Reboot your server (not needed on Docker)
Login again in your server after 3–5 mins and proceed below
You won't need the repo code, since you will be running the node directly from the binary file. But it could still be useful for other things so I suggest you do this step.
You can download the correct node binary automatically via this script:
Or you can do it manually:
Retrieve the release from the following urls (using curl or wget) and place the files where your node release normally resides (usually in the ceremonyclient/node
folder):
Replace <version> with the current node version. If on mac, replace <os> with darwin, or on linux, replace <os> with linux. For arch, use arm64 or amd64 as needed for your system.
Retrieve the release from the following URLs (using curl or wget) and place the files in ~/ceremonyclient/client
For mac, download the darwin release. For linux, the linux release. For arch, use arm64 or amd64 as needed for your system.
Copy/paste the below code (for pasting, simply right click with the mouse)
If your working directory is different from "root" than edit the code accordingly
Change the node binary file name node-2.0.6.3-linux-amd64
according to what you see in your /ceremonyclient/node/
folder
To save press CTRL+X, then Y, then ENTER
Enable the service
Start the node
Check the current node release on
Check the current qclient release on
Now continue