Title: XMR (Monero) 客户端安装及挖矿指南 Post by: lisalee on May 12, 2014, 01:36:51 PM 原文页面地址:http://monero.cc/getting-started/#pni-top0 (注:原页面有指导视频)
安装XMR (Monero) 客户端 Precompiled binaries预编译二进制 你可以在starter pack (https://drive.google.com/folderview?id=0B7RQILpPGrQbYnF2OTA4NklrWmc)部分下载Windows (32 或者 64-bits), Linux 或者 Mac的预编译二进制。这个pack里包含最近的区块链以及Boost库的1.53版本(以Linux为例)。所有的二进制都是用Ubuntu编译的。 基于Debian的Linux 注意:Ubuntu 是基于 Debian的 monero oneliner: cd ~ && wget https://www.dropbox.com/s/3pclp7sm94edmxl/install_monero.sh && chmod +x ./install_monero.sh && ./install_monero.sh 注意,这需要下载安装boost库,必要的dependancies和monero软件。 Windows 你可以使用下面列出的批处理文件。复制黏贴下面文本到记事本,存为.bat文件。注意,如果愿意的话你可以更改你的钱包文件名(此处文件名为wallet.bin)。双击.bat文件,然后等同步完成后进行挖矿。 @echo off tasklist /FI "IMAGENAME eq bitmonerod.exe" 2>NUL | find /I /N "bitmonerod.exe">NUL if not %ERRORLEVEL% == 0 ( echo Starting node... start /MIN bitmonerod.exe else ( echo Node already started. ) tasklist /FI "IMAGENAME eq simplewallet.exe" 2>NUL | find /I /N "simplewallet.exe">NUL if not %ERRORLEVEL% == 0 ( if exist wallet.bin.keys ( echo Starting previous wallet... start simplewallet.exe --wallet wallet.bin ) else ( echo Starting new wallet... start simplewallet.exe --generate-new-wallet wallet.bin ) ) else ( echo Wallet already started. ) 创建钱包 在安装monero的目录(Unix 中是~/bitmonero/build/release/src),输入(如果你用的是Windows,用cmd.exe or powershell.exe): ./simplewallet --generate-new-wallet wallet.bin 输入address,便可得到你的钱包地址(同时也会产生一个储存你地址的文本文件) 挖矿 现在一切都安装完毕,用nproc命令来确认你的计算机中有多少线程。对于Mac,指的是sysctl -n hw.ncpu;对于Windows,只要打开任务管理器查看多少CPU在运行。 现在你知道线程的数量和地址,输入下面的命令: ./bitmonerod --start-mining MRO_address --mining-threads number_of_threads 上面的这行命令是你挖矿唯一需要知道的命令,不管是在你的电脑上还是在另外一台电脑上。你甚至不需要打开你的钱包来挖矿。 如果你计算机的速度降低了,那么你可以减少线程的数目。 远程设备挖矿 我们假定所说的远程设备运行新装的Ubuntu 14.04 64-bits (http://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-amd64.iso)的环境或者更先进(13.10应该也可以)。如果你用Windows,那就安装PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)。 步骤和安装monero及挖矿一样(可以忽略创建钱包这一步)。唯一的不同在于你首先需要创建一个user(在租用的VPS上,通常你只有一个user, root。而且这个很特别,既然root没有monero需要的主目录,我们需要另建一个。) 创建user: 1. ssh root@your_server 2. adduser user_name && adduser user_name sudo & 3. exit 4. ssh user_name@your_server 这些完成之后,你就可以创建monero,开始挖矿了。 感谢社区帮助写了这份指南。您可以自愿打赏下面的作者们: David Latapie (http://monero.cc/getting-started/) (主要作者)46ctfLBhgyzJm61oTtDfu9GbVhG7ito4fNiQjdZcB5bL3mz5ejQrPD29uEkDHFzCVTHGFqAdG456w6i vYp7K23SiGREUiQe Quanttek (http://monero.cc/blog/new-script-to-easily-install-boost/) (简单脚本) 48kmSTCcPKTAqB4RfoHFQxiSCEcsoYmuYHqC663haHry6riiWZhXuKsQMEhynk1yb9W9XWxtMckKfN5 7YzfFxnhSRikYUYG superresistant (https://bitcointalk.org/index.php?topic=583449.msg6488536#msg6488536) (安装boost) 45s2fuN8aYsJhigPf5A8GuWS46vVSHj9HE5fc665zsWR3ycoXHnP713Mr7xEw8c9i5dzNe3esQehJJZ nWN2mmuvYDUWYTfT Keyboard-Mash (https://bitcointalk.org/index.php?topic=583449.msg6488536#msg6488536) (视频制作) 43P7YH5H7TTKXWnyhMTHLq4e571rny2WgEcRXmzH4XXWGbYK7Y5CLXtM6vvNabDjJPLS74N82pVtyDc u8AdhfLfFPTn9Sza 打赏地址: u8AdhfLfFPTn9Sza 相关命令 后台程序Daemon exit:exit命令可以保存区块链并且退出daemon。当你想改变线程数目时可以使用这个命令。如果你担心当中自己的电脑会出问题,你可以时时使用save命令保存(没有自动保存功能)。 show_hr 和 hide_hr:可以显示(或者取消显示)当时每秒的hashrate。 set_log 0/1/2:可以改变记录的长度(0为停止记录) 可以提出更多命令大家一起研究 钱包Wallet refresh:获得最新的资金数值 exit:退出 transfer:发送资金给别人 start_mining 和stop_mining:不要在钱包里使用,在daemon中挖矿更简单、安全。 可以提出更多命令大家一起研究 交易 CryptoNote Exchange (http://cryptonote.exchange.to/) 参考资料 Monero创世贴原帖地址:https://bitcointalk.org/index.php?topic=583449.0 Monero创世贴中文翻译:https://bitcointalk.org/index.php?topic=604293.msg6666565#msg6666565 Title: Re: Monero 挖矿指南 Post by: ljp7839008 on May 12, 2014, 02:38:49 PM 容易挖出来么
Title: Re: Monero 挖矿指南 Post by: Kenrich on May 12, 2014, 03:24:48 PM 值钱嘛
Title: Re: Monero 挖矿指南 Post by: Kennedy on May 12, 2014, 03:30:56 PM 上市了嘛
Title: Re: Monero 挖矿指南 Post by: Charlene on May 12, 2014, 03:49:34 PM 在哪里交易
Title: Re: Monero 挖矿指南 Post by: Candice on May 12, 2014, 04:15:50 PM 国人造嘛?
Title: Re: XMR (Monero) 客户端安装及挖矿指南 Post by: zuo1988 on June 30, 2014, 12:56:22 PM 是真的吗 :'(
Title: Re: XMR (Monero) 客户端安装及挖矿指南 Post by: wuqing78 on June 30, 2014, 01:38:31 PM Title: Re: Monero 挖矿指南 Post by: leewhat on June 30, 2014, 02:19:18 PM |