如何在 Ubuntu 20 上安装 bitcoind?
How to install bitcoind on Ubuntu 20?
我在 Ubuntu v20 VPS 系统上安装 bitcoind 时遇到问题。
我是如何尝试通过官方教程完成的:
"If you use Ubuntu, you don’t need to compile bitcoind and bitcoin-cli from source. You can simply add the official Bitcoin PPA."
这是我的命令:
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind
当我尝试添加存储库时,我收到了这个有趣的错误消息,当我继续进入系统时,系统似乎已经完成了它,但实际上它并没有添加存储库!!
当我输入这个命令时,我收到了这条消息:
命令:sudo apt-add-repository ppa:bitcoin/bitcoin
错误:
root@vultr:~# sudo apt-add-repository ppa:bitcoin/bitcoin NOT
MAINTAINED. The OS-library linking packages here had a series of
issues.
PLEASE DOWNLOAD DIRECTLY FROM bitcoincore.org (and verify the
signatures of said files).
IF YOU WANT AUTO-UPDATES, please see the officially-maintained snap
package - https://github.com/bitcoin-core/packaging/tree/master/snap
More info: https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin
Press [ENTER] to continue or Ctrl-c to cancel adding it.
然后当我按 Enter 键继续时,我收到此消息:
Ign:1 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal InRelease
Err:2 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
之后,当我认为一切都很好时,当我 运行 命令
sudo apt-get 更新
更新完成后,我尝试推送命令:
sudo apt-get install bitcoind
我收到此错误消息:
root@vultr:~# sudo apt-get install bitcoind
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bitcoind
root@vultr:~#
请指出解决方案或告诉我哪里出错了这是我迄今为止遇到的最大问题。
我不擅长 ubuntu 和 vps 这对我来说似乎不可能,
非常感谢!
我不得不去 bitcoin.org 网站找到最后一个 tar.gz 比特币的 link。
对于我的示例,我是这样做的:
输入 ubuntu
wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
然后我打开我的 tar.gz
tar -xvf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
然后我转到比特币文件夹并将文件移动到
/usr/local/bin
然后我用
开始bitcoind
bitcoind -daemon
到运行它在后台:)
希望这对您有所帮助:)
我在 Ubuntu v20 VPS 系统上安装 bitcoind 时遇到问题。 我是如何尝试通过官方教程完成的:
"If you use Ubuntu, you don’t need to compile bitcoind and bitcoin-cli from source. You can simply add the official Bitcoin PPA."
这是我的命令:
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind
当我尝试添加存储库时,我收到了这个有趣的错误消息,当我继续进入系统时,系统似乎已经完成了它,但实际上它并没有添加存储库!!
当我输入这个命令时,我收到了这条消息: 命令:sudo apt-add-repository ppa:bitcoin/bitcoin 错误:
root@vultr:~# sudo apt-add-repository ppa:bitcoin/bitcoin NOT MAINTAINED. The OS-library linking packages here had a series of issues.
PLEASE DOWNLOAD DIRECTLY FROM bitcoincore.org (and verify the signatures of said files).
IF YOU WANT AUTO-UPDATES, please see the officially-maintained snap package - https://github.com/bitcoin-core/packaging/tree/master/snap More info: https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin Press [ENTER] to continue or Ctrl-c to cancel adding it.
然后当我按 Enter 键继续时,我收到此消息:
Ign:1 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal InRelease
Err:2 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
之后,当我认为一切都很好时,当我 运行 命令 sudo apt-get 更新
更新完成后,我尝试推送命令: sudo apt-get install bitcoind
我收到此错误消息:
root@vultr:~# sudo apt-get install bitcoind
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bitcoind
root@vultr:~#
请指出解决方案或告诉我哪里出错了这是我迄今为止遇到的最大问题。 我不擅长 ubuntu 和 vps 这对我来说似乎不可能, 非常感谢!
我不得不去 bitcoin.org 网站找到最后一个 tar.gz 比特币的 link。
对于我的示例,我是这样做的: 输入 ubuntu
wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
然后我打开我的 tar.gz
tar -xvf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
然后我转到比特币文件夹并将文件移动到 /usr/local/bin
然后我用
开始bitcoindbitcoind -daemon
到运行它在后台:)
希望这对您有所帮助:)