< 返回新聞公共列表

如何在Ubuntu系統(tǒng)的VPS上安裝Chia錢包節(jié)點(diǎn)?

發(fā)布時(shí)間:2021-05-07 15:06:39

首先自己去購(gòu)買海外的VPS,然后在那個(gè)主機(jī)上安裝chia錢包節(jié)點(diǎn),主要的詳細(xì)步驟如下:


以u(píng)buntu服務(wù)器系統(tǒng)為例,輸入下面的命令。

apt install git

git clone https://github.com/Chia-Network/chia-blockchain.git -b latest

cd chia-blockchain

sh install.sh

. ./activate

chia init

chia keys generate

chia start node


輸入:chia netspace 查看區(qū)塊高度

如果你的VPS內(nèi)存少的vps可以給vps加虛擬內(nèi)存輸入以一下命令:

sudo swapoff -a

sudo fallocate -l 4G /swapfile && \

sudo chmod 600 /swapfile && \

sudo mkswap /swapfile && \

sudo swapon /swapfile && \

sudo cp /etc/fstab /etc/fstab.bak && \

echo ‘/swapfile none swap sw 0 0’ | sudo tee -a /etc/fstab && \

sudo swapon –show


輸入:free -m 查看虛擬內(nèi)存有沒有建好。

然后用 free -m 能看到4g虛擬內(nèi)存建好了。

安裝:apt install fail2ban

提示:是不是安裝,按一下Y

添加節(jié)點(diǎn):chia show -a 節(jié)點(diǎn)ip地址:8444


如何在Ubuntu系統(tǒng)的VPS上安裝Chia錢包節(jié)點(diǎn)?.png


以上就是在Ubuntu系統(tǒng)的VPS上安裝Chia錢包節(jié)點(diǎn)的相關(guān)內(nèi)容,希望能幫助到大家。



/template/Home/Zkeys724/PC/Static