BTCClicks.com Banner

2014年3月14日 星期五

CPU Mining on digitalocean ?

我最近在網上發現有個coin 是只給 CPU mining 的, 可能有好多人會發現如果用 CPU mining 挖其他coin 是很慢的, 因為大多數人都是用 GPU mining 的, 如果你是用 CPU mining , 你便會比下去。如果有一種COIN 是只接受CPU mining, 相信是很多CPU miners 的喜訊, 以下介紹的 heavycoin 是其中一種。因為我是在網上看到這個文章的, 請原諒我的懶惰 , 沒有轉做中文 ^^,  原版可以在這裡

 Heavycoin CPU Cloud Mining

Heavycoin is an innovative CPU-only (HEFTY1 hash function), Ultra-Secure Cryptocurrency that features Temporal Retargeting and Decentralized Block Reward Voting. Learn more about HVC.

Readme: Please make sure that you create only one account at Digital Ocean. Multiple accounts violate their ToS.  Usually you will be limited to maximum 3 instances if you’re mining cryptocurrencies. Should you run into issues with your account please don't hesitate to contact DO's support team (staff is excellent).


準備工作

   •   Windows: Download PuTTY (putty.exe) in order to be able to connect to your VPS via SSH.
   •   Mac/Linux Users: simply use your built-in Terminal

(!) Please note that this guide runs your mining droplet as root

1. Sign Up for an account for digital Ocean or log in if you already have an account. You may use Digital Ocean, Amazon AWS, Azure or any other VPS cloud hosting provider. The core of this guide works well on all providers, but the guide was written with Digital ocean only.



2. Fund your account with credit ($15+ recommended).

3. Click 'Create Droplet' to get your instance running.

4. Select the specifications you wish to mine on as well as the latest Ubuntu x64 image. I personally use 8 threads with the 8 Core plan. You can also consider creating several smaller ones, e.g. 4x 2 Core. Or just use one, decide as you wish. The more CPUs the more power you have.

5. Your username and password will be emailed to you within 55 seconds.

6. Log in to your droplet via SSH.

7. Change your root password.

Code:
passwd

8. Relocate into the home directory.
Code:
cd ~

9. Create a swap file.
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

10a. Install dependencies
Code:
sudo apt-get update
sudo apt-get install automake build-essential libcurl4-openssl-dev libjansson-dev git zip

10b. Download the 1GH Heavycoin forked cpuminer, configure and compile:
Code:
cd
git clone https://github.com/1gh/cpuminer-heavycoin
cd cpuminer-heavycoin
chmod a+x autogen.sh
./autogen.sh
./configure CFLAGS="-O3"
make

10c. Now head over to a Pool and follow the instructions posted, for instance:

Code:
./minerd -a heavy -v 1 -o stratum+tcp://hvcpool.1gh.com:5333 -u HHH1HUGmYrY1f4T7CJgGgYu2ReUqqxZbeo -p x
-v XX = your vote;  do not forget to use your wallet address instead of the example.

---> Congratulations, your HVC mining operations started.

11. If you want to mine at Heavycoinpool, you'll need the official heavycoin minerd (beta. this thread was updated on 13th March, please check the heavycoinpool site for updates and download accordingly)

Code:
wget https://heavycoinpool.com/downloads/linux-miner-beta-heavycoinpool-v0.1.tar.gz
tar xvfz linux-miner-beta-heavycoinpool-v0.1.tar.gz
cd linux-miner-beta-heavycoinpool-v0.1
Fire up your minerd:
Code:
./minerd -a heavy -v 1 -o stratum+tcp://stratum01.heavycoinpool.com:4333 -u user.worker -p workerpassword
-v XX = your vote;  do not forget to enter your worker configuration instead of the example.

---> Congratulations, your HVC mining operations started.

Please note that it can take time until blocks are confirmed and coins payed out.

If you wish to run this process in the background so it doesn't close once you drop the SSH connection, go ahead and use screen. When a screen session is detached, the processes that were running inside it are not stopped.

Launch screen
Code:
screen
hit space, then launch your minerd as configured earlier:
Code:
./minerd xxxxxx
ctrl+d detatches the current screen sessions and brings you back to the normal terminal,
you can re-attach your detached session by typing
Code:
screen -r

POOLS

2014年2月6日 星期四

如何購買或者對換Dogecoin?

我想大家已經知道如何挖礦了吧? 但是當大家挖了一大堆Dogecoin 之後 ,要怎樣才可以把Dogecoin 對換回現金呢 ? 現在Bitcoin 同其他電了貨幣 (例如Dogecoin) 是不可以直接對換成現金的  原因是Bitcoin 迼些電了貨幣是沒有被圖際認何的 ,銀行是不會受理我們的交易 。所以,我們便要用第三方的方法在市場上同人對換


在EBAY直接買賣Dogecoin

其中一種方法是在EBAY 拍賣,價格差異比一般直接市場上購買大。現在1 Dogecoin ~= 0.0013 USD ,而且數量有限。有時還會不幸遇上無良買/賣家,所以筆者不建議進行大額交易。當然你在EBAY 可能會買到比市場平的dogecoin ,也有機會賣得比市場好的價錢


在市場上直接買賣Dogecoin

原因現在市場上認受性比較高的都是 Bitcoin (BTC)所以大多數第三方交易所都只是接受現金購買 BTC 。但是當你轉換了 Bitcoin (BTC) 之後,你便可以在市場上用Bitcoin自由對換其他電子貨幣



coinbase 


Coinbase  是一個比較出名的Bitcoin 交易所 , 公司位於 San Francisco。但是你一定要有美國銀行戶口才可以直接購買Bitcoin (BTC) 


BTER (強力推薦)












如果你沒有美國銀行戶口請不耍灰心只要你有大陸戶口都可以直接買賣 Bitcoin 或 DogecoinBTER 是一間中國的公司 ,如果你是香港人或者是內地人 ,我極力推介你用這個網站去進行買賣現在香港人過關去羅湖都不是太遠吧,一過完關就已經有很多銀行,所以申請個大陸銀行戶口都不是一件難事 現在BTER 可以對換多達25 種電了貨幣,包括 Dogecoin ,Bitcoin 等,而且可以直接用人民幣去買多種電了貨幣還有提供桌上和手機軟件,讓你時刻可以做買賣


BTC CHINA


如果你平時都唔會去大陸,覺得開個大陸戶口是很痳煩的事情。你可以去BTCCHINA到購買Bitcoin,BTCCHINA 和 BTER 一樣都是內地的交易公司,不過BTCCHINA 就只是專注做 Bitcoin 的交易。BTCCHINA 除了提供了銀行戶口充值外 ,還提供了 BTCC 碼充值 BTCC 碼充值有點像遊戲點數行,現在可以到淘比特-BTCC充值码 網站購買BTCC 碼,之後就充值到 BTCCHINA 網站到,之後便可以買Bitcoin ,之後再用賺回來的Bitcoin 到 BTER 網站到購買其他電子貨幣 (例如 Dogecoin)



其他電子貨幣交易網









2014年1月30日 星期四

教你如何在 linux OS上挖 Dogecoin

如果你家中是用 linux OS 或你在Cloud Computing data center (例如: Amazon Web Service , Window Azure 等等) 租用了server 來挖 Dogecoin

我現在以 ubuntu 12.04 黎做例子

1. 首先你要用 PUTTY 或者其他SSH 工具去連接你的ubuntu server

如果你沒有putty ,可以到這裡下載


2. 輸入你的 Server ip address, 按 "open" 開始連接伺服器




























3. 登入之後,請跟以下指輸入command:
可以開始安裝 MinerSoftware 
sudo apt-get update
sudo apt-get install build-essential libcurl4-openssl-dev
wget http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.3.2.tar.gz
tar -xzf pooler-cpuminer-2.3.2.tar.gz
cd cpuminer-2.3.2/
./configure CFLAGS="-O3"
make










制作 start.sh script
echo #!/bin/sh > start.sh
echo ./minerd --url stratum+tcp://YOUR_MINE_POOL_ADDRESS:PORT --userpass USER_ACCOUNT_NAME.WORKER_NAME:WORKER_PASSWORD >> start.sh
chmod +x start.sh
./start.sh
例如我在teamdoge.com 申請了 account (這些資料可以在Getting Start 裡找到:
Mine Pool Address: teamdoge.com
PORT: 3333
User account name: demouser
Worker name: demoworker
Worker password: demopass



開始挖Dogecoin

start.sh script 準備好之後 ,可以輸入以下Command開始運行
./start.sh


但是這樣運行,如果你一關了 Putty ,start.sh script 便會自動停止。如你想在背景運行,你可以用nohup command
nohup ./start.sh &
之後所有output 便會在nohup.out text file 裡面,所以你可以打
tail -f nohup,.out 去觀看運行情況
之後你可以按 CTRL + C 退出

如果關閉 start.sh script?

 你可以用 ps -ef | grep start.sh 找出 PID ,這就是 12914




之後打以下指令就可以退出start.sh script.
kill -9 12914

以上如果有任何問題的話都歡迎留言
如果你覺得這個網頁教學很好,歡迎捐贈DOGE給我 我的捐贈地址:DBcde2YbkfFUfgKm1oJzGhDbd3maj9PQgS

2014年1月28日 星期二

如何挖DogeCoin ?

好啦~~講左點解要揀Dogecoin 之後 ,今回要教下大家實戰挖Dogecoin !!


電子銀包

要開始使用Dogecoin ,你需要一個錢包。錢包就像你的網上銀行賬戶,只有你的整個帳戶被安全地存儲在本地計算機或在雲中。從你的錢包,您可以發送和接收Dogecoin ,管理您的通訊錄,並查看您的交易記錄。 Dogecoin 提供了不過類型的電子銀包:

網上錢包

網上錢包 - 最快和最容易使用,但缺乏自己的計算機上存儲你的錢包的安全性。我建議您只在任何時候存儲少量Dogecoin在一個網上錢包:

桌面錢包

可從您的計算機的桌面下載並運行。桌面錢包更安全,因為它們不依賴第三方服務器上的雲:

移動錢包

安全和方便,從你的智能手機上運行:

但是現在只有 Android 版本

錢包地址

好啦 ,當你已經挑選好你的電子銀包後,請記低自己的銀包地址。例如,這個是我的桌面錢包地址

DBcde2YbkfFUfgKm1oJzGhDbd3maj9PQgS  (大家如果覺得呢篇文章好 ,可以支持下我 ^^)









申請Dogecoin Mining Pool

有了自己電子銀包以後 ,大家就可以到有提供Mining Pool 的供應商註冊。例如 teamdoge.com ,這個是筆者比較喜歡的mining pool 。Mining Pool 其實是一個地方集合大家的力量,一起去挖礦,最後再用特定的分配方式 (例如PPLNS),把Dogecoin 分配到你手上

進入網站後,在左手邊按註冊 (Sign Up),填入所有資料後按 "Register" 完成註冊 ,之後在左手邊 Menu 再按 "Login" 登入teamdoge.com


1. 登入之後 ,按 "Edit Account" , 


















2. 填入"Payment Address" (你的電子銀包地址)
3. 填入 "Automatic Payout Threshold",這裡必定要墳入10 -2500 

P.s. 這個是指當你 Dogecoin >= 你輸入數值 便會自動存入你的電子銀包地址

4. 按"Update Account" 完成


加入你的Worker

按 "My Workers" 

多數我們每一部用黎挖磺的電腦 ,便會加一個WORKER

按 "Update Workers" 完成


下載Dogecoin挖礦程式










CPU Mining

如果你部機沒有 display card (一定要AMD 或 NVIDIA) , 你便要用 CPU Mining。但係CPU Mining 是比GPU mining 慢好多的

編輯MineWithCPU.bat

右鍵開啟"MineWithCPU.bat --> 編輯"
minerd -a scrypt -t 4 -s 6 -o stratum+tcp://礦池位址:PORT -O 你註冊的用戶名.礦工的名字:礦工的密碼

例如:
你在 teamdoge 註冊了 dennisaccount , 加入了 test worker , password 是12345

minerd -a scrypt -t 4 -s 6 -o stratum+tcp://teamdoge.com:3333 -O dennisaccount.test:12345

GPU Mining (AMD)

編輯 MineWithAMDGPU.bat
cgminer.exe --scrypt  -o stratum+tcp://礦池位址:礦池PORT碼 -u 你註冊的用戶名.你創的礦工的名字 -p 礦工的密碼

GPU Mining (Nvidia)

編輯 MineWithNvidiaGPU.batcudaminer.exe -o stratum+tcp://礦池位址:礦池PORT碼 -O 你註冊的用戶名.你創的礦工的名字:礦工的密碼


開始Dogecoin

設定好 CPU/GPU .bat 檔案之後 , 你便可以在這個檔案上按右鍵 "以系統管理員身分開啟"
就可以開始挖礦



如何交易 Dogecoin?

如果是香港或者中國內地玩家,我極力推介大家 BTER 交易公司 ,原因是他可以直接用人民
幣買DogeCoin比用美金更方便原因是美金是不能直接買Doge coin ,要先買左 Bitcoin (BTC) 先 ,之後才可以再買DogeCoin



令外 ,再提提大家,如果大家是經我以下連結進入 BTER 註冊做會員,是可以享有9折交易折扣6個月




以上如果有任何問題的話都歡迎留言


如果你覺得這個網頁教學很好,歡迎捐贈DOGE給我
我的捐贈地址:
DBcde2YbkfFUfgKm1oJzGhDbd3maj9PQgS