bitcoin和cgminer的安装
程序员文章站
2022-07-10 22:28:59
...
参考
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
apt-get update -y
apt-get upgrade -y
apt-get install vim openssh-server
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
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
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
上一篇: 电子书 淘宝技术这十年.pdf 互联网
下一篇: consul的基本使用