LoginSignup
0
1

More than 5 years have passed since last update.

bitcoindをyumでインストール

Last updated at Posted at 2017-04-05

仮想通貨系はUbuntu使うことがいいですが、実運用を考えるとCentOSで環境を整えたい。
が、面倒なのはいやなので、yumで管理したい。

依存ツールインストール

sudo yum install yum-utils

リポジトリの追加と有効化

sudo rpm -Uvh https://linux.ringingliberty.com/bitcoin/el7/x86_64/bitcoin-release-3-1.noarch.rpm
sudo yum-config-manager --enable rhel-7-server-optional-rpms

利用しないときはdisableとする。
yum-config-managerを利用しなくても/etc/yum.repos.d/***.repoのenabledを1にすればよい。

インストール

sudo yum install bitcoin-server
sudo yum install bitcoin-utils

動作チェックして随時アップデートします。

動かす

bitcoin.confを定義しないといけないようです。

テストネットにつなぐ

testnet=3
server=1

rpcuser=bituser
rpcpassword=P@ssw0rd!
#rpcallowip=192.168.0.*
rpcport=8332

起動

bitcoind -deamon

動作確認

bitcoin-cli getinfo

終了

bitcoin-cli stop

参考

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1