Skip to content

Latest commit

 

History

History
104 lines (98 loc) · 9.2 KB

README.md

File metadata and controls

104 lines (98 loc) · 9.2 KB

Flux set up at home hardware


Watch this Video & set up your Flux Node & Make sure to subscribe

Note once you use flux on the device, the device can't be used to surf the internet etc/ you will "sell" your device's computing power to the network and it will be unusable unless you uninstall flux, so if you are using your main desktop to run flux nodes, do make sure you run it on a VMWare / virtual box.


Note, you will need to have at least 100 confirmation on your collateral read Part 5.

Requirements


1. At least 1,000 Flux to get started, Buy Flux on Kucoin or Binance
2. Your own hardware depending on which tier you go for Read Here / A VPS
--Hardware For Tiers
-Cumulus NUC - https://amzn.to/3trk1EC
-Nimbus NUC Barebone - https://amzn.to/3KXASVx
-NUC 32gb Ram - https://amzn.to/3Ir04lu
-500GB NVMe - https://amzn.to/3JujZl5
Check Out How Much You Can Make?

Part 1 Getting Ubuntu Server


a. Download the latest ubuntu Server
b. Wait 5mins ~ 60 mins depending on your internet speed.
c. After download is finish flash the downloaded ISO to a 16~32gb Thumbdrive / sd card using balenaEtcher
d. Plug it into your hardware that you want to set the flux node on.

Part 2 Bios Settings


a. Depending on your motherboard
On keyboard press your BIOS key set by your manufacturer which could be F10, F2, F12, F1, or DEL. else, Presearch It
b. You should search for "Restore AC Power Loss" which will be under Chipset / Advance / Power Management depending on how the manufacturer named it. Should look something like this
c. After enabling, On Bios go to "Save & Exit" [Reference]
Save changes & select the your flashed SD Card / Thumbdrive on step "1c" under Boot Override.


Part 3 Setting Ubuntu Server Up


a. Select Install Ubuntu Server and wait
b. Select your langugage
c. Select your keyboard layout
d. Select your network, If you're not connected via ethernet you might need to do this step.
-If it's wireless select wlan [Reference] & edit WiFi then select choose a visible network & enter your wifi password.
e. Configure Proxy, Just leave blank and select "Done".
f. Configure Ubuntu archive Mirror, leave it as default and select "Done".
g. Guided Storage Configuration
Important, Unselect "Set Up this disk as an LVM group" & select "Done". [Reference]
h. Storage configuration - Leave it as default and select "Done". Then confirm destrutive action ""Continue".
i. Profile Setup - Fill up the details
-Your name = just ur profile name on the linux server not username.
-Server's name = is how you want the server to be called, will be shown on your router as input.
-Username = to use when logging into the server
-Password = to log into the server.
j. SSH Setup enable "Install OpenSSH server" & "Done".
k. Featured Server Snaps leave it as default & "Done".
Finally Install complete!
-You will see "Cancel update and reboot" but wait till you see "Reboot Now" option and select it
-Once reboot you will see "[FAILED] Failed unmounting/cdrom. blah blah blah.
-Just unplug your flash drive you did on "2d." then press enter on keyboard & let it load till you see the login page.
L. enter the username & password done on step "3i."

Option Steps for web view & terminal for easy install of Flux Node


a. Copy down the IPv4 password shown on the page after login.
b. type in "sudo apt install cockpit" & enter your password on step "3L." then wait for it to complete installing.

Part 4 Router Portforwarding / DMZ


a. Log in to your router
b. Search For DHCP Server / Reservation Under "Lan" mostly depending on your router manufacturer. Search for your Hardware Mac Address on your router and assign them the default IP given.
c. If Portforward range use this
-Port 16124 - 16128 | TCP & UDP | Your Device IP
-Port 30000 - 39999 | TCP & UDP | Your Device IP
d. If DMZ
-Enable DMZ on router and enter the IP of your device.

Part 5 Installing Flux Node!


a. If you installed cockpit on optional step you can just login by entering the IPv4 you copied on step "Option Steps a." on browser with :9090 e.g "192.168.1.241:9090" and login else go to "5b."
b. Go to ZelCore wallet | [Download] if you haven't
c. Send fund of 1,000 / 12,500 / 40,000 Flux exactly in a Single Transaction for collateral to either wallet shown on ZelCore and wait for 100 confirmations.
If you send funds via exchanges, funds will not be exactly due to the fees they charge or send to many address, You have to an internal transfer from your ZelCore Wallet to another internally.
On ZelCore select the wallet you sent Flux to and choose Flux > Menu page "More" > Select FluxNodes.
d. you will see under "My FluxNodes" the node will show the tier depending on how much Flux you sent on a single transaction for collateral. Open it up and select "edit", You will find the Identity Key, Collateral TX ID & Output Index, remember this step you will need them.
e. Go back to your server / web terminal and type in "sudo apt install npm -y" and wait.
f. Type "sudo su" enter password if needed.
g. Enter command "bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)"
h. Install Docker by selecting option 1 and "Enter" then input the username you used to set up the server on Part 3i.
After installing docker it will prompt you "Would you like to switch account" choose yes by entering "y".
i. Enter command "bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)"
j. Install FluxNode by selecting option 2 & wait.
-You might be prompted "Detected you are using 22 for SSH is this correct?" Select "yes" if prompted else skip this.
-You will be prompted to enter your FluxNode PrivKey Generated by your Zelcore go back to "5d." to retrieve and paste it and select "ok"
-You will be asked for FluxNode Collateral txid go to "5d." retreive and paste it and select "ok"
-You will be asked for FluxNode Collateral Output index, go to 5d. retrieve it and paste it and select "ok"
-You will be asked to download bootstrap file, Select option "1" and select "ok" wait for 10 ~ 120 mins depending on your internet speed.
-After the bootstrap file is installed you will be prompted to "remove bootstrap archive file?" Just select "Yes" and go to your ZEL ID from ZelCore(Apps -> Zel ID (Click QR Code)) and paste the copied QR Code and click "ok"
-If you are nimbus and above you will be prompted to enter Kadena address, find it on your ZelCore that Account starting with K not Public key.
-If you are nimbus and above you will be prompted to enter your Kadena chainid, enter "0" and select "ok"
--Optional you will be prompted asking if you would like to "enable alert?" Select Yes or No and fill in the details if you selected yes, for this guide it will be "no".
-Countinue waiting until you see [This] Copy the IP shown highlighed in red.
k. Go to your zelcore wallet and find your fluxnode ref "5d." edit your FluxNode and enter the public IP you copied and
"start"
your fluxnode

-Congrats you are running your fluxnode!


--Optional step for those who enable the web interface on Part3 After L.
-on terminal enter "sudo ufw enable"
-enter "sudo ufw allow 9090"
-to check if it's allowed type "sudo ufw status"




Feel free to some milk powder on Flux - "t1fM5bjG4ximyDgAhRnFmqf8zhQ7xfBwanh"
Or you wan via BSC/ETH/Polygon - "0xE9E129aD58108B99c432AB00A92a82fC68bc2a90"
Or some digital gold BTC - "35qUZ5urRiVqJRvj8CuAN3cMxNMurFvHz3"