crypto:chia:install_for_cli
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crypto:chia:install_for_cli [2021/06/23 12:55] – [To add a new directory of plots to the farm] peter | crypto:chia:install_for_cli [2021/06/28 13:10] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Crypto - Chia - Install for CLI ====== | ||
- | Install Ubuntu or Debian. | ||
- | |||
- | Allow to log in directly as root. | ||
- | |||
- | Edit the / | ||
- | |||
- | <file bash / | ||
- | PermitRootLogin yes | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Install Apps ===== | ||
- | |||
- | <code bash> | ||
- | apt update | ||
- | apt upgrade | ||
- | apt -y install screen | ||
- | apt -y install lsb-release | ||
- | apt -y install git | ||
- | apt -y install iotop | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Install Chia ===== | ||
- | |||
- | <code bash> | ||
- | cd /home/ | ||
- | git clone https:// | ||
- | cd chia-blockchain | ||
- | |||
- | chmod 777 install.sh | ||
- | ./ | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Configure Chia ===== | ||
- | |||
- | <code bash> | ||
- | screen | ||
- | . ./activate | ||
- | chia init | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Generate a new seed or add an existing seed ===== | ||
- | |||
- | Generate a new seed (key) with this command: | ||
- | |||
- | <code bash> | ||
- | chia keys generate | ||
- | chia keys show | ||
- | </ | ||
- | |||
- | If you already have a seed (key), you can add it with this command: | ||
- | |||
- | <code bash> | ||
- | chia keys add | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | The ID will be displayed, which can be checked to ensure it matches. | ||
- | |||
- | </ | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ===== Initialize the wallet for security ===== | ||
- | |||
- | <code bash> | ||
- | chia init | ||
- | chia wallet show | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Start the node and the farmer software ===== | ||
- | |||
- | <code bash> | ||
- | chia start farmer | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Check the status of the Chia node ===== | ||
- | |||
- | <code bash> | ||
- | chia show -s | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Check the status of the Chia farm ===== | ||
- | |||
- | <code bash> | ||
- | chia farm summary | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== To add a new directory of plots to the farm ===== | ||
- | |||
- | <code bash> | ||
- | chia plots add -d /chia | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | |||
- | <code bash> | ||
- | create -k 32 -b 4000 -r 4 -n 10 -t /chia-temp/ -d /chia | ||
- | </ |
crypto/chia/install_for_cli.1624452956.txt.gz · Last modified: 2021/06/23 12:55 by peter