`
haoningabc
  • 浏览: 1477751 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

bitcoin和cgminer的安装

阅读更多
参考
http://blog.csdn.net/rion_chen/article/details/51104727
需要安装protobuf
http://blog.csdn.net/xiexievv/article/details/47396725

ubuntu-14.04.5-desktop-amd64.iso
安装好后
/etc/apt/sources.list
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse


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

apt-get install vim openssh-server
apt-get install make gcc g++ libdb-dev  libdb++-dev libboost-dev libboost-all-dev zlib1g-dev libssl-dev  build-essential libminiupnpc-dev autoconf -y
apt-get install lrzsz bzip2   unzip  autoconf automake libtool curl libboost-all-dev -y
apt-get install libevent-dev -y

git clone https://github.com/bitcoin/bitcoin.git

git clone https://github.com/google/protobuf

13.112.159.120配置squid
export http_proxy=13.112.159.120:3128
export https_proxy=13.112.159.120:3128
cd protobuf
./autogen.sh
./configure --prefix=/usr/local/protobuf
make
make install
vim /etc/profile
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/protobuf/lib/
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/protobuf/lib/
export PATH=$PATH:/usr/local/protobuf/bin/
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/local/protobuf/include/
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/local/protobuf/include/
export PKG_CONFIG_PATH=/usr/local/protobuf/lib/pkgconfig/


cd ../bitcoin
. /etc/profile
./autogen.sh
./configure --with-incompatible-bdb --prefix=/usr/local/bitcoin
make
make install



挖矿
http://www.cnblogs.com/mfryf/p/3632566.html


git clone https://github.com/ckolivas/cgminer

apt-get install libcurl3 libcurl3-dev -y
apt-get install libncurses5-dev -y

cd cgminer

需要装opencl
http://blog.csdn.net/qccz123456/article/details/52606788
apt-get install build-essential g++ cmake -y
apt-get install clang libclang-3.4-dev libclang-dev libclang1 -y
apt-get install ocl-icd-opencl-dev ocl-icd-libopencl1 -y

apt-get install opencl-headers ocl-icd-dev ocl-icd-libopencl1 -y
apt-get install clinfo -y





./autogen.sh
apt-get install ibusb-1.0 -y
./configure --enable-icarus --prefix=/usr/local/cgminer

cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u ahaha -p hahahaha
https://my.oschina.net/blueprint/blog/222885






分享到:
评论

相关推荐

    cgminer-4.3.5.tar_cgminer_

    cgminer 4.35 for linux bitcoin

    bitcoin-0.3.0_bitcoin0.3_bITCoin_

    bitcoin0.3.0源代码,谢谢,20个字,谢谢。

    ubuntu下编译bitcoin

    在Ubuntu系统中编译Bitcoin涉及一系列步骤,包括安装必要的依赖库、下载源码以及编译和安装过程。下面是详细的步骤: 1. **安装基础依赖**: 首先,你需要确保系统拥有编译和构建软件的基础环境。通过运行以下命令...

    bitcoin0.13源码编译步骤有图ubuntu16.04

    为了能够在 Ubuntu 16.04 上成功编译 Bitcoin 0.13 的源代码,首先需要确保系统中已经安装了一些必需的软件包。这些软件包包括但不限于编译工具、数据库支持库、Boost 库以及其他一些依赖项。 **步骤如下:** 1. *...

    master bitcoin

    master bitcoin,master bitcoin,master bitcoin 区块链 的好书

    bitcoin算法之一

    bitcoin算法之一的源代码,我是从其他网站花了银子下载下来的,我自己提取并移植的有用的部分在使用,希望对大家有帮助

    cgminer-3.7.2-blakecoin_cgminer3.7.2_cgminer_Blakecoin_

    cgminer 3.72 for windows bitcoin

    java源码示例 解析bitcoin助记词(或私钥),支持3种地址格式,与TP和IM token一致

    java源码示例,bitcoin解析助记词(或私钥): 1.BIP44,P2PKH,xpub 即1开头的地址。 2.BIP49,P2SH-P2WPKH,ypub 即3开头的地址。 3.BIP84,P2WPKH,zpub 即bc1开头的地址。 网上代码大都只能正常获取1开头和bc1开头...

    bitcoin-rpc.jar.zip

    使用"bitcoin-rpc.jar"之前,你需要确保已经安装了一个运行中的比特币节点,并且启用了RPC服务。通常,这需要在比特币的配置文件(如bitcoin.conf)中设置rpcuser和rpcpassword,以确保安全的认证。 接下来,我们...

    bitcoin源码分析文档

    在 Bitcoin 中,BIP(Bitcoin Improvement Proposal)是介绍比特币特性和信息的设计文档,由于比特币没有正式结构,BIP 是沟通想法的标准方式。BIP141、BIP 和 BIP147 是一些重要的 BIP。 数据结构 Bitcoin 源码...

    bitcoin.conf

    bitcoin RPC节点配置文件示例

    SIMPLE BITCOIN WALLET DOCUMENTATION

    This is a simple bitcoin wallet application that can help those who are getting started with bitcoin programming using python. In this project I use python version 3.6 and Pycharm. File free to fork ...

    bitcoin客户端 2013年最新版

    bitcoin客户端 2013年官方最新版

    princeton_bitcoin_book

    princeton_bitcoin_book

    bitcoin-rpc包

    java-bitcoin rpc所需的jar,有问题请联系我

    BITCOIN挖掘机开源(PCB、固件)

    bitcoin挖掘机全部开源。。。有原理图、PCB板和固件、BOM

    VB bitcoin trading bot

    1. Aricie.PortalKeeper.Bitcoin.sln:这是Visual Studio解决方案文件,包含了项目的所有组件和配置信息,用于在开发环境中打开和管理整个项目。 2. Aricie.PortalKeeper.Bitcoin.vssscc:这是一个版本控制相关的...

    CC and PAYPAL to BITCOIN_ccpaypaltobitcoin_bITCoin_

    cc paypal to bitcoin

    cgminer-3.1.1-windows

    This is a multi-threaded multi-pool GPU, FPGA and ASIC miner with...monitoring, (over)clocking and fanspeed support for bitcoin and derivative coins. Do not use on multiple block chains at the same time!

Global site tag (gtag.js) - Google Analytics