Installing FluxOS
Installing FluxOS
Step 6 of Flux CUMULUS Node Setup
sudo su -
Then copy/paste the following and hit Enter:
bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)
2. At the next screen, type: 1 and hit Enter to install Docker. Enter your username (fluxuser) when prompted and hit Enter. Wait for the Docker to install and when prompted Would you like switch to user account Y/N? type Y and hit Enter
3. Once back at the prompt copy/paste the following and hit Enter:
bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)
4. At the next screen, type: 2 and hit Enter to install FluxNode.
- While FluxOS is being installed, log in to your ZelCore wallet and navigate to Apps > FluxNodes, Expand the node by clicking the > arrow and click Edit.
- Under the Private Key click the alphanumeric character string. This will copy the key.
- Back to MTPuTTY FluxOS installation. When prompted Enter your FluxNode Identity Key generated by your Zelcore right-click the terminal window to paste the key. Hit Enter.
- Switch to ZelCore and click the character string under Collateral TX ID to copy it.
- Go back to MTPuTTY FluxOS installation and when prompted Enter your FluxNode collateral txid right-click the terminal window to paste the ID. Hit Enter.
- When prompted Enter your FluxNode collateral output index, switch to ZelCore and note the OutPut Index value (in my case it was 0). Input the value into FluxOS installation prompt and hit Enter
- Switch to ZelCore, hit Cancel in Edit window, and navigate to Apps > ZellID. Click on the QR code to copy the ID
- Go back to MTPuTTY FluxOS installation and when prompted Enter your ZEL ID from ZelCore right-click the terminal window to paste the ID. Hit Enter.
- When prompted for KDA address, switch to ZelCore, go to your Nodes portfolio, Add Assets, search for KDA and add.
- Once added you may need to click Show Zero Sum to reveal Kadena (KDA) asset and then click on it. Click Details > Receive and copy Account (starting with a k:)
- Go back to MTPuTTY FluxOS installation and right-click the terminal window to paste the KDA wallet address. Hit Enter.
- When prompted Choose a method how to get bootstrap file, select Option 1) Download from source build in script, hit Enter, and wait for the download to complete.
- Wait for the FluxOS installation completion
5. Once FluxOS is finished and we are back at the prompt copy/paste the following and hit Enter:
bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)- Type: 4 and hit Enter to install Watchdog for Fluxnode.
- When prompted Would you like enable FluxOS auto update? answer Yes and hit Enter
- When prompted Would you like enable Flux benchmark auto update? answer Yes and hit Enter
- When prompted Would you like enable alert notification? answer Yes and hit Enter.
This step is largely optional as I found that the Discord/Telegram notifications are mostly useless in letting you know if your node goes out, since the watchdog usually goes down with the ship, so to speak. Later below I will teach you a much better and more reliable way to catch when the Flux node goes down so that you don't lose your place in the payout queue, Nothing worse than working your nodes for 15 days only to find out that your node has been down for 3 hours and you are at the back of the 15-day queue with no Flux to show for! It is still useful to set up Discord notifications to keep an eye on Benchmark issues, FluxOS updates, and other events that happen while the node is operational. Carrying on... - Hit Enter on the next Info prompt
- When prompted Choose options select (hit Space) Discord notification and hit Enter
- Go to Discord, and create a private channel.
- Once created go to Your Server > Server Settings > [Apps] Integrations > Webhooks > New Webhook. Click on the newly created Webhook, rename it if you like, and click Copy Webhook URL button
- Go back to MTPuTTY FluxOS installation and right-click the terminal window to paste the Webhook url. Hit Enter.
- When prompted Would you like enable nick ping on discord? select Yes and hit Enter
- Switch back to Discord and navigate to User Settings (gear icon next to your user name) > My Account and next to your name click 3 dots. Click Copy ID button.
- Go back to MTPuTTY FluxOS installation and right-click the terminal window to paste the user ID. Hit Enter.

- When prompted Enter name of your node (alias) simply type a descriptive name, such as your server name fluxnode1. Hit Enter.
6. Multinode configuration setup (Optional). If you are planning to host more than one node (you are allowed to have 8 per 1 public IP, provided you have enough bandwidth).
Once FluxOS is finished and we are back at the prompt copy/paste the following and hit Enter:
bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)
Once FluxOS is finished and we are back at the prompt copy/paste the following and hit Enter:
bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)
- Type: 14 and hit Enter to install Multinode configuration with UPNP.
- At the UPnP Configuration prompt, select 1) Enable UPnP Mode and hit Enter
- When prompted to Enter your FluxOS port, type first port 16127 if this is your first node and hit Enter. If this was your second node, you would type 16137 instead, and so on.
- When prompted Is your router's IP 192.168.1.1? Make sure it shows your internet router IP and hit Enter. If it is not, there is some issue with your network configuration which is outside of the scope of this how-to
- Wait for the FluxOS and Benchmark to restart
7. When the setup is complete run the following command to get the benchmarks:
fluxbench-cli getbenchmarks
fluxbench-cli getbenchmarks
Your output should contain an entry "status": "CUMULUS"
You can also access your node with your Web browser at: http://192.168.1.183:16126/benchmark/benchmarks/getstatus
This page should show Benchmarking CUMULUS
This page should show Benchmarking CUMULUS
8. Open ZelCore wallet and go to Apps > FluxNodes
Expand your node and click Edit
Expand your node and click Edit
Google "what is my ip address" anc copy your public IP address shown, e.g. 212.123.45.67
Under IP address enter your Public IP followed by port e.g. 212.123.45.67:16126
Under IP address enter your Public IP followed by port e.g. 212.123.45.67:16126
Click Save
Click Start
The FluxNode should display STARTING and should turn to CONFIRMED in a few minutes. Congratulations! Your FluxNode is now operational.
The FluxNode should display STARTING and should turn to CONFIRMED in a few minutes. Congratulations! Your FluxNode is now operational.
EXTREMELY IMPORTANT Step 7 of FluxNode Downtime Monitoring


















Comments
Post a Comment