This is our very second Alpha Provider Sneak Peek reveal. Therefore, temporarily, Golem official support is for:
Ubuntu 18.04 and 20.04
but you are welcome to try out run it on other Linux distributions.
If you have previously launched Golem Alpha on your machine run the command below which will purge its working directories since our newest version is incompatible with the old database structure:
rm -rf $HOME/.local/share/yagnarm -rf $HOME/.local/share/ya-provider
Open your terminal and type:
curl -sSf https://join.golem.network/as-provider | bash -
You might be asked to modify your PATH afterwards For future terminal sessions:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
Update your active terminal(s) with:
After installing all required components you will be asked to set up your node. If you leave them empty the default values presented in brackets will be applied.
Node name (default=generated_name): - Type in the name of your new node and press Enter
subnet (default=community.3): - It is important that you use "community.3"
Ethereum wallet address (default=internal wallet): - Paste your own Ethereum address to which you have private keys stored. If you leave this space empty an address will be created for you on your local system.
price NGNT per hour (default=5): - Type in the value of renting your computer power as a provider. You can use default price (5 NGNT per hour) by leaving this field empty. This command shows up only when running GolemSP for the first time
To run Golem Sneak Peek type in the terminal:
To check your node's status and see if it is actually computing tasks from the network, open a new terminal window and type:
As an output you will get the information about your node's current state as shown below:
┌──────────────────────────────────────────────────────────────┐│ Status ││ ││ Service is running ││ Version 0.5.0 ││ ││ Node Name outstanding-chalk ││ Subnet community.3 ││ VM valid │├──────────────────────────────────────────────────────────────┤│ Wallet ││ ││ address 0xe4781cd3af959417f560372544f77aec33124b5f ││ amount (total) 0 GLM ││ (on-chain) 0 GLM ││ (zk-sync) 0 GLM ││ ││ pending 0 GLM (0) ││ issued 0 GLM (0) │├──────────────────────────────────────────────────────────────┤│ Tasks ││ ││ last 1h processed 0 ││ last 1h in progress 0 ││ total processed 0 │└──────────────────────────────────────────────────────────────┘
golemsp status in your terminal window and check the status of your VM
When there is other status than
the user has no access to /dev/kvm run
curl -o setup-kvm.sh https://join.golem.network/setup-kvm.sh && chmod +x ./setup-kvm.sh && ./setup-kvm.sh
Afterwards, log out and log in again into your OS and then, rerun
running inside Docker without access to /dev/kvm run
docker run --privileged
unsupported virtualization type: XEN We do not support xen hypervisor
In any other case with the virtualisation we recommend:
sudo apt install cpu-checker && sudo kvm-ok command and follow the steps as given in the terminal interface.
To check out additional commands available in the CLI, have a look at the reference page: