莱特币ltc在linux下的多种挖矿方案详解

莱特币ltc在linux下的多种挖矿方案详解

4.0.1 Nvidia显卡Linux驱动
Nvidia全部驱动:http://www.nvidia.cn/Download/index.aspx?lang=cn
Nvidia GeForce®驱动:http://www.geforce.cn/drivers
NVidia CUDA

http://developer.nvidia.com/cuda/cuda-downloads

http://developer.nvidia.com/cuda/cuda-toolkit-40

http://developer.nvidia.com/cuda/cuda-toolkit

http://www.nvidia.cn/object/cuda_get_samples_cn.html

Install NVidia Driver:

http://kratos-wiki.cimne.upc.edu/index.php/How_to_set_up_OpenCL

http://berenger.eu/blog/2011/11/25/gpu-install-cuda-opencl-on-ubuntu/

4.0.2 AMD/ATI显卡Linux驱动
AMD驱动支持首页:http://support.amd.com/us/Pages/AMDSupportHub.aspx

http://support.amd.com/us/gpudownload/Pages/index.aspx

AMD Radeon HD 7xxx PCIe Linux x86_64bit驱动:http://support.amd.com/us/gpudow … 42&lang=English

http://www2.ati.com/drivers/linux/amd-driver-installer-12-8-x86.x86_64.zip

http://www2.ati.com/drivers/beta/amd-driver-installer-12-9-beta-x86.x86_64.zip

AMD Accelerated Parallel Processing (APP) SDK (formerly ATI Stream) :http://developer.amd.com/tools/hc/AMDAPPSDK/Pages/default.aspx
AMD-APP-SDK Downloads(Linux/Windows):http://developer.amd.com/tools/h … /Pages/default.aspx

http://developer.amd.com/Downloads/AMD-APP-SDK-v2.7-lnx64.tgz

http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.7-lnx64.tgz

AMD Display Libary (ADL) SDK(Linux/Windows):http://developer.amd.com/tools/gpu/ADLSDK/Pages/default.aspx

http://developer.amd.com/Downloads/ADL_SDK_4.0.zip

http://download2-developer.amd.com/amd/GPU/zip/ADL_SDK_4.0.zip

http://sourceforge.net/projects/amdovdrvctrl/

————————————————————————————————————————

【推荐使用Fedora发行版,驱动兼容良好】

其它Linux挖矿指南-BTC/LTC挖矿教程:

Debian Linux LTC/Litecoin/BTC/Bitcoin/比特币 挖矿指南

http://bbs.73yi.net/thread-2393-1-1.html

Fedora Linux LTC/Litecoin/BTC/Bitcoin/比特币 挖矿指南

http://bbs.73yi.net/thread-2392-1-1.html

————————————————————————————————————————

4.1 LTC/Litecoin – Linux下矿池挖矿
————————————————————————————————————————
LTC/Litecoin – Linux 挖矿中文教程,以Debian6 64bit GUI为例(必须安装图形界面,否则无法安装显卡驱动)

设置本地化和语言:

设置Locales to be generated: All locales
Default locale for the system environment:en_US.UTF-8

执行命令安装GCC和G++:

安装chkconfig:

安装make:

安装curl:

http://curl.haxx.se/download.html

安装ncurses:

安装libtool:

http://www.gnu.org/software/libtool/

http://ftpmirror.gnu.org/libtool/

ftp://ftp.gnu.org/gnu/libtool/

安装jansson

http://www.digip.org/jansson/

http://www.digip.org/jansson/releases/jansson-2.4.tar.gz

安装yasm

http://yasm.tortall.net/

http://yasm.tortall.net/Download.html

http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz

安装libudev

————————————————————————————————————————
LTC/Litecoin Linux矿池挖矿程序 – cgminer

http://ck.kolivas.org/apps/cgminer/

https://github.com/ckolivas/cgminer

配置说明:http://ck.kolivas.org/apps/cgminer/README
cgminer挖矿指令:

【–enable-scrypt参数必不可少,否则不能制造Litecoin】
–scrypt

系统开机自动挖矿:
nano /etc/init.d/wakuang
内容:

chmod +x /etc/init.d/wakuang
reboot

————————————————————————————————————————

【Linux 64bit,无法正常工作】LTC/Litecoin Linux矿池挖矿程序 – Reaper

http://wiki.solidcoin.info/wiki/Reaper

http://dl.dropbox.com/u/30965168/reaper_32.tar.gz【32bit】

配置文件有4个,solidcoin.conf、reaper.conf、litecoin.conf、bitcoin.conf
编辑reaper.conf:

找到:
mine bitcoin
mine solidcoin
修改成:
#mine bitcoin
#mine solidcoin

编辑litecoin.conf:

看到:

以pool-x.eu这个矿池网站为例,修改成:

执行:
./reaper

————————————————————————————————————————
【此程序和Windows系统中的一样,无法正常工作】LTC/Litecoin Linux矿池挖矿程序 – minerd/pooler-cgminer

https://bitcointalk.org/index.php?topic=55038.0

https://github.com/pooler/cpuminer/

https://github.com/pooler/cpuminer/downloads

https://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3-linux-x86.tar.gz

https://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3-linux-x86_64.tar.gz

http://sourceforge.net/projects/cpuminer/files/

http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.2.3-linux-x86.tar.gz

http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.2.3-linux-x86_64.tar.gz

注意,这里的帐号密码是矿工帐号和密码

系统开机自动挖矿:
nano /etc/init.d/wakuang
内容:

chmod +x /etc/init.d/wakuang
reboot

————————————————————————————————————————

https://github.com/pooler/cpuminer

https://github.com/pooler/cpuminer/downloads

http://sourceforge.net/projects/cpuminer/

http://sourceforge.net/projects/cpuminer/files/

程序需要curl支持,需要jansson支持

http://curl.haxx.se/libcurl/

http://www.digip.org/jansson/

上一篇:数据正规化 (data normalization) 的原理及实现 (Python sklearn)


下一篇:Thinking in Unity3D:渲染管线中的Rendering Path