2021-04-30 02:11:21 版本 : linux-Ubuntu系统安装chia钱包进行挖矿xch
作者: 文艺范儿 于 2021年04月30日 发布在分类 / 挖矿 / chia 下,并于 2021年04月30日 编辑
 历史版本

修改日期 修改人 备注
2021-05-30 16:59:45[当前版本] 文艺范儿 格式调整
2021-05-25 01:36:47 文艺范儿 格式调整
2021-05-03 18:45:43 文艺范儿 格式调整
2021-04-30 12:39:19 文艺范儿 格式调整

详情见官网:

https://github.com/Chia-Network/chia-blockchain/wiki/INSTALL#centos--redhat--fedora

Ubuntu/Debian

We have an experimental GUI installer (x86_64) for Ubuntu 18.04 Desktop and newer and Debian Buster w GUI and newer. There is also an experimental GUI installer for ARM64 Ubuntu and Debian/Raspberry Pi OS 64. Binary CLI tools can be found in /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/

Follow below install instructions for Ubuntu 20.04 LTS. If you are installing on Ubuntu 18.04 LTS you should use Python 3.7 instead: 

sudo apt-get install python3.7-venv python3.7-distutils python3.7-dev git -y

sudo apt-get update
sudo apt-get upgrade -y

# Checkout the source and install
git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
cd chia-blockchain

chmod +x ./install.sh
sh install.sh

. ./activate

# The GUI requires you have Ubuntu Desktop or a similar windowing system installed.
# You can not install and run the GUI as root

chmod +x ./install-gui.sh
sh install-gui.sh


#在官网下载最新的安装包:https://github.com/Chia-Network/chia-blockchain/releases
wget https://github.com/Chia-Network/chia-blockchain/releases/download/1.1.2/chia-blockchain_1.1.2_amd64.deb

sudo dpkg -i chia-blockchain_1.1.2_amd64.deb

cd chia-blockchain-gui
npm run electron &
To Update/Upgrade from previous version

cd chia-blockchain
chia stop -d all
deactivate
git fetch
git checkout latest
git reset --hard FETCH_HEAD

# If you get RELEASE.dev0 then delete the package-lock.json in chia-blockchain-gui and install.sh again

sh install.sh

. ./activate

chia init

# The GUI requires you have Ubuntu Desktop or a similar windowing system installed.
# You can not install and run the GUI as root
cd chia-blockchain-gui
git fetch
cd ..
sh install-gui.sh

cd chia-blockchain-gui
npm run electron &

Troubleshooting
Sometimes stray daemons left over from previously running processes will cause strange bugs/errors when upgrading to a new version. Make sure all daemons and chia processes are killed before installing or upgrading.

This is normally done by executing chia stop -d all from the upgrade example above.
But it doesn't hurt to double check using ps -aux | grep chia to make sure there are no chia processes left running. You may have to manually kill the chia daemon if an install and chia start was performed without first running chia stop -d all

If all else fails, rebooting the machine and restarting the chia daemon/processes usually does the trick.

历史版本-目录  [回到顶端]
    文艺知识分享平台 -V 4.9.5 -wcp
    京公网安备100012199188号 京ICP备2021030911号