-
Tutorials:Getting Started With
CGminer/BFGminer
教程:
CGminer/
BFGminer
入门
This guide aims to get most users
running Butterfly Labs hardware with
either
BFGMiner
or
CGMiner
as
quickly
and
simply
as
possible.
It
will
cover
mining from a Windows
environment, using
mining
pools
. Mining without
using
a pool (
solo mining
), or
from another OS is very similar, though
may require a few changes to these
steps, or some additional set up, as
in
the case of mining solo.
这个教程旨在帮助大多数用户尽
可能快的掌握使用
CGminer/BFGminer
在蝴蝶矿
机上的挖矿。教程包括
windows
环境下的矿池挖矿。
Windows
或其他操作系统上
的无矿池挖矿(单独挖矿),当然,单独挖矿可能一些步骤上有所不同,需要额
< br>外的配置。
Additionally, this
guide will not be covering how to set up a wallet,
or
transact with Bitcoin. See
/
for more on those
topics.
PS
:
这个教程不包括钱包建立或者比特币交易的内容。
想要了解这方面内容,
p>
请
访问
/
。
BFGMiner and CGMiner are
mining software by Luke-Jr and ckolivas,
respectively. These programs put your
mining hardware to work. They
display
output
in
a
console
or
terminal
window,
including
stats
about
your
hardware,
the
shares
you
submit,
and
other
useful
calculations.
Don't
be
off-put
if
you
are
not
used
to
console/terminal
programs.
We'll
show
you
how
to
set
up
either
program
to
run
reliably,
with
little
or
no
additional
effort once the initial set up is done.
Luke-Jr
与
ckolivas<
/p>
分别开发了
BFGMiner
和
CGMiner
软件。
这个软件能够让你
的矿机可以挖矿。
硬件信息、
收益和其他的有
用信息能够在软件控制台或者视窗
终端上显示。
如果你不习惯软
件控制台或者视窗终端操作模式,
不要沮丧,
我们
会教你如何正确的设置每个软件,
在第一次初始化安装设置后,
以后就不会那么
困难了。
Prepare Your Hardware
If you
have not already, prepare a space for your mining
hardware. It
should be free of debris
and dust if possible. Make sure the area your
hardware
will
reside
is
stable,
and
out
of
traffic
from
drinks,
and
pets.
Remove
your
hardware
from
packaging,
and
get
familiar
with
the
cables
they
come
with.
Depending
on
your
model,
you
may
have
a
power
supply
(sometimes
referred
to
as
a
power
brick,
or
wart
Plug
your
power
supply
in,
and then plug the
appropriate end into your device. In the case of
the
Jalapeno hardware, you may not have
a power brick, but instead, two USB
cables.
One
cable
will
provide
power
over
USB
in
this
case,
while
the
other
provides communication for mining.
安置好你的硬件设备
如果你还没有安
置好你的硬件设备,
请为矿机预留足够的室内空间。
尽可能没有
粉尘污染。确保设备固定牢固,不会进水,不会被宠物碰到。
Plug
the
USB
cable(s)
into
an
open
port
or
ports
on
your
PC
or
mining
host.
For many, that will be
a PC or laptop, but some may be using a Raspberry
Pi
or
similar
device.
If
you
are
hosting
multiple
pieces
of
mining
hardware,
you
may
be
interested
in
purchasing
a
USB
hub,
which
expands
the
available
number of USB
ports. For
devices
other
than the
Jalapeno, nearly any
hub
will
work.
For
the
Jalapeno,
you
may
want
to
look
into
a
powered
USB
hub,
due to the power
requirements of the Jalapeno being powered over
USB.
将
USB
线插到一个空闲
的电脑
USB
口上或者类似的挖矿管理矿机的设备上,
一般
情况下为
PC
或者
笔记本电脑,当然也可以用类似
Raspberry
Pi
(
Raspberry Pi
是一
款基于
Linux
系统的个人电脑,详见
/view/
)的设备。如果你有多个矿机需要
管理,那么你
就需要购买一个用来扩展
USB
端口的
USB HUB
设备。除
Jalapeno
设备以外,任何类型的
USB HUB
都可以。对于
Jalapeno
设备,你可能需要核对
下其
对应的功率,再选择合适的
USB
HUB
。
Download
Mining Software
The choice of mining
software to use is up to you. CGMiner and BFGMiner
are two of the most popular choices.
Their output and set up are very
similar, and we'll show in the next
step how to set up either.
Download
your choice from one of the links below:
Please note that the links to the
latest versions are contained on the
page linked below, you will have to
choose the correct version for your
operating system!
CGMiner
discussion and changelog with links
, or
directory of all files
available for download
BFGMiner
the link for your
operating system.
下载挖矿软件
挖矿软件的选择完全取决于你的喜好,
CGMiner
和
BFGMiner
是最常用的两款软
件。它们的设置十分相似,我们会在以下步骤分别详细说明如何设置。
选择一款软件下载,链接如下:
请注
意下面的链接是最新版本,你需要选择与你操作系统匹配的版本。
CGMiner discussion and changelog with
links
, or
directory of all
files
available for download
BFGMiner
。
建议采用对应操作系统的稳定版本。
Once
your
download
completes,
unzip
or
extract
the
files
to
your
desktop,
or
preferred folder.
下载好安装文件后,将其解压到桌面或者你喜欢的文件夹内
Configure Your Mining Software - BASIC
Your
hardware
is
now
connected,
and
powered
on.
It's
not
mining,
just
yet.
For
that, let's configure your mining software. We'll
aim to produce a
simple, reusable
double-click
on
this
file
to
launch
your
software.
This
section
looks
long,
but
it
is
not
difficult.
If
you
are
confused
about
the
instructions,
look
at
the
included
screen
captures
for
guidance,
and
be
sure
to
double
check
the details of each
step.
基础:配置挖矿软件
将
你的矿机加电联网后,
它还不能够开始挖矿。
这时候,
你需要配置你的挖矿软
件。
我们的目的是建立一
个简单的并且可以重复使用的文件。
一旦我们建好文件,
下次你
就只需要双击该文件就可以运行软件。
这步骤好像有点长,
但是
并不困难。
如果你对某些操作不大清楚,
请看教程里的屏幕截图
,
并且确保仔细检查每一步
骤。
If you are not a member of a pool
already, now is the time to do so.
You'll need your credentials (called
information to configure your mining
software! One recommendation is
EclipseMC pool
, which is
already prepared for ASIC devices, though many
of the other top pools will or are as
well.
如果你还不是某个矿池的注册用户,那么就注册一个吧。
p>
在配置你的挖矿软件的时候需要用到你的一些认证信息
(矿工信息)
和一些矿池
信息!一个参考是
Ecli
pseMC
矿池
,这是为
ASIC
p>
设备准备的,当然很多其他的
顶级矿池也可以用。
< br>
Open
your
preferred
text
editor,
such
as
Notepad,
Notepad++,
Vim,
or
gedit.
We'll show the specifics of Notepad,
but the steps are very similar for
others.
打开你喜欢的文本编辑器,比如
Notepad,
Notepad++, Vim,
或者
gedit
。我会
用
Notepad
演示怎么做,其他编辑器也是一样操作的。
Type
the
following,
replacing
the
example
user
info
with
that
of
your
own.
打下如下代码,将例子中的用户信息替换成你自己的。
Code:
代码:
bfgminer
-o
http://yourpoolurl:#port
-u
YourUserName
-p
YourPasswordHere
or, if you
chose CGminer, simple change the program name:
如果你使用
CGminer
挖矿,只需要简单
的把执行程序名称改变下即可:
Code:
代码:
cgminer
-o
http://yourpoolurl:#port
-u
YourUserName
-p
YourPasswordHere
An example user might look something
like this
例子中的用户名可能是这么样的
** Please note that on many/most pools,
your username is sometimes
referred
to
as
a
name
and
is
different
than
the
username
you
use
to login to the pool
with. Often times, it will be something like your
pool or username_worker. Be sure you
have the correct
worker name
(username).
**
请注意在很多或者大多数矿池
中,
你的用户名一般会带”
worker
”字样,
所以
这个名字是与你登陆矿池的用户名不一样的。一
般,用户名会是用户名
.worker
或者用户名
_worker
。请确保你输入正确的用户名。
Double
check
you've
entered
the
appropriate
credentials
and
url,
then
save
the file. This is not just a text file,
though. On Windows, you'll need
to save
the file with the
仔细检查你是否输入了正确的认证信息和网址,
然后保存下。
保存的时候不能保
存为纯
文本文件,在
windows
下,你需要保存为
.bat
后缀文件。
To
do this in Notepad:
Click on File, then
Save As
写字板上,请这么做,单击文件,然后点击另存为
In the save dialog that appears: