Linux系统安装比特币客户端/钱包

2013-08-02 18:48:00

Linux系统中比特币客户端钱包程序:httpsourceforgenetprojectsbitcoinfilesBitcoinbitcoin-070bitcoin-070-linuxtargzdownload以Debian664bitGUI为例:cdtmpwgethttpdownloadssourceforgenetprojectbitcoinBitcoinbitcoin-070bitcoin-

Linux系统中比特币客户端/钱包程序:
http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.0/bitcoin-0.7.0-linux.tar.gz/download
以Debian6 64bit GUI为例:
cd /tmp
wget http://downloads.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-0.7.0/bitcoin-0.7.0-linux.tar.gz
tar zxvf bitcoin-0.7.0-linux.tar.gz
cd bitcoin-0.7.0-linux
cd bin/64
./bitcoind

Error: To use bitcoind, you must set a rpcpassword in the configuration file:
/root/.bitcoin/bitcoin.conf
It is recommended you use the following random password:
rpcuser=bitcoinrpc
rpcpassword=7njFxpyrxm7Rq5ppGe7GAcmDoLkjCK5Fs6NvvioTvsAD
(you do not need to remember this password)
If the file does not exist, create it with owner-readable-only file permissions.

./bitcoin-qt
【说明】
You need the Qt4 run-time libraries to run Bitcoin-Qt. On Debian or Ubuntu:
apt-get install libqtgui4
将会安装下列额外的软件包:
  libaudio2 libmysqlclient16 libqt4-dbus libqt4-designer libqt4-network
  libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml
  libqtcore4 mysql-common qt4-qtconfig
建议安装的软件包:
  nas libqt4-dev
下列【新】软件包将被安装:
  libaudio2 libmysqlclient16 libqt4-dbus libqt4-designer libqt4-network
  libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml
  libqtcore4 libqtgui4 mysql-common qt4-qtconfig
升级了 0 个软件包,新安装了 14 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 2,041 kB/18.9 MB 的软件包。
解压缩后会消耗掉 44.6 MB 的额外空间。
您希望继续执行吗?[Y/n]
复制代码

运行bitcoin-qt需要安装Qt,前面的命令就是安装libqt,以下方法省略
http://qt-project.org/
http://qt-project.org/downloads
http://sw.nokia.com/id/14b2039c-0e1f-4774-a4f2-9aa60b6d5313/Qt_SDK_Lin64_offline
cd /tmp
wget http://sw.nokia.com/id/14b2039c-0e1f-4774-a4f2-9aa60b6d5313/Qt_SDK_Lin64_offline
# 或者:
wget http://nds2.fds-forum.nokia.com/p/d/fds_forum/14b2039c-0e1f-4774-a4f2-9aa60b6d5313/Qt_SDK_Lin64_offline/QtSdk-offline-linux-x86_64-v1.2.1.run


比特币Linux防火墙配置(为Bitcoin客户端/钱包程序开放网络端口):
Linux防火墙配置(打开TCP协议8333和6667端口):
/sbin/iptables -I INPUT -p tcp --dport 8333 -j ACCEPT
/sbin/iptables -I INPUT -p tcp --dport 6667 -j ACCEPT
/sbin/iptables -I OUTPUT -p tcp --dport 8333 -j ACCEPT
/sbin/iptables -I OUTPUT -p tcp --dport 6667 -j ACCEPT
/sbin/iptables -L

鸣金网版权所有,如需转载,请注明来源。 (责任编辑:atlantis)

收藏

分享