With the recent upsurge in Monero popularity and price, now is the perfect opportunity to begin exploring and mining the cryptocurrency. If you're not familiar with Monero, it's a cryptocurrency with privacy built in. > Monero uses a cryptographically sound system that allows you to send and receive funds without your transactions being publicly visible on the blockchain (the distributed ledger of transactions). This ensures that your purchases, receipts, and other transfers remain private by default. — [getmonero.org](https://getmonero.org/home) If you have some spare computing power, or a decent GPU, you can contribute some hashing power to the network and earn some Monero yourself. --- # Getting started This tutorial assumes you're running a version of Ubuntu. If you don't have Ubuntu, you can install it on your machine for free [here](http://www.ubuntu.com/download). ## Installing ccminer-cryptonight ccminer-cryptonight is a fork of ccminer that runs on the CUDA architecture and takes advantage of your Nvidia video card. #### Download the source code for ccminer-cryptonight [https://github.com/tsiv/ccminer-cryptonight/archive/v0.17.zip](https://github.com/tsiv/ccminer-cryptonight/archive/v0.17.zip). #### Update the system `sudo apt-get update && sudo apt-get -y dist-upgrade` #### Install dependencies ``` sudo apt-get -y install gcc g++ build-essential automake linux-headers-$(uname -r) git gawk libcurl4-openssl-dev libjansson-dev xorg libc++-dev libgmp-dev python-dev ``` #### Install the nvidia display driver ``` cd && wget http://us.download.nvidia.com/XFree86/Linux-x86_64/352.41/NVIDIA-Linux-x86_64-352.41.run sudo chmod +x NVIDIA-Linux-x86_64-352.41.run sudo ./NVIDIA-Linux-x86_64-352.41.run --accept-license --no-questions --disable-nouveau --no-install-compat32-libs rm NVIDIA-Linux-x86_64-352.41.run ``` ``` sudo echo 'GRUB_CMDLINE_LINUX="nomodeset"' >> /etc/default/grub sudo update-grub sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration # flags enable OC and fan controls. via: https://bitcointalk.org/index.php?topic=826901.msg12279696#msg12279696 ``` #### Install Cuda ``` cd && wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_6.5-14_amd64.deb sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb rm cuda-repo-ubuntu1404_6.5-14_amd64.deb sudo apt-get update sudo apt-get -y install cuda-toolkit-6-5 ``` *Note: you can skip having to read over the entire agreement by pressing ctrl+c after the last command above.* ``` sudo usermod -a -G video $USER echo "" >> ~/.bashrc echo "export PATH=/usr/local/cuda-6.5/bin:$PATH" >> ~/.bashrc echo "export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc ``` #### Reboot `sudo reboot` *Make the deviceQuery sample. This is used to verify cuda works* `cd /usr/local/cuda/samples/1_Utilities/deviceQuery && sudo make` *If you see all of your cards listed, and the last line says "Result = PASS" you're good to go.* `/usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery` #### Build ccminer-cryptonight ``` cd ccminer-cryptonight_20140926 ./autogen.sh ./configure make ``` ## Mining First create a wallet, either using the [simplewallet](https://getmonero.org/downloads/) binary, or using [mymonero.com](https://mymonero.com). Copy your wallet address. We'll be mining with a pool I like called [MoneroHash](https://monerohash.com/). It's relatively small, which means payouts will be larger (but might take longer). Simply start ccminer to begin mining: `ccminer -o stratum+tcp://monerohash.com:3333 -u YOUR_WALLET_ADDRESS -p x` If everything went smoothly, you'll see output like this: ``` [2016-08-24 17:48:52] Using JSON-RPC 2.0 [2016-08-24 17:48:52] 1 miner threads started, using 'cryptonight' algorithm. [2016-08-24 17:48:52] Starting Stratum on stratum+tcp://monerohash.com:3333 [2016-08-24 17:48:52] GPU #0: GeForce GTX 970 (13 SMX), using 40 blocks of 8 threads [2016-08-24 17:48:52] Pool set diff to 5000 [2016-08-24 17:48:52] Stratum detected new block [2016-08-24 17:48:57] GPU #0: GeForce GTX 970, 76.20 H/s [2016-08-24 17:49:10] GPU #0: GeForce GTX 970, 350.35 H/s [2016-08-24 17:49:10] accepted: 1/1 (100.00%), 350.35 H/s (yay!!!) ``` Happy mining! *Thanks to Zach Shiner for his [UbuntuMiner script](https://gist.github.com/zcshiner/4b32980792d367222304#file-ubuntuminer).*
author | mobidick |
---|---|
permlink | how-to-mine-monero-on-ubuntu-16-04-using-ccminer-cryptonight |
category | monero |
json_metadata | {"tags":["monero","cryptocurrencies","mining","hash","bitcoin"],"links":["https://getmonero.org/home"]} |
created | 2016-08-24 23:36:09 |
last_update | 2016-08-24 23:44:15 |
depth | 0 |
children | 4 |
last_payout | 2016-09-24 23:36:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 4,395 |
author_reputation | 262,438,538 |
root_title | "How to mine Monero on Ubuntu 16.04 using ccminer-cryptonight" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 974,735 |
net_rshares | 16,796,066,622 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
theroliyogi | 0 | 0 | 100% | ||
fishappear | 0 | 257,112,006 | 100% | ||
artakan | 0 | 15,334,433,859 | 100% | ||
hobgoblin | 0 | 133,872,587 | 100% | ||
gobe1kenobi | 0 | 56,723,377 | 100% | ||
redpillbetting | 0 | 57,384,010 | 100% | ||
z3r0d4yz | 0 | 744,996,127 | 100% | ||
mobidick | 0 | 52,974,872 | 100% | ||
sdfg | 0 | 158,569,784 | 100% | ||
bostongamer | 0 | 0 | 100% | ||
joebitcoinorg | 0 | 0 | 100% | ||
steemian69 | 0 | 0 | 100% | ||
michelios | 0 | 0 | 100% | ||
cryptonewstv | 0 | 0 | 100% | ||
krasi | 0 | 0 | 100% | ||
poetachemiguidi | 0 | 0 | 100% | ||
csfalcao | 0 | 0 | 100% | ||
mrehqe | 0 | 0 | 100% | ||
thescinder | 0 | 0 | 100% | ||
usedproductz | 0 | 0 | 100% | ||
schmidj | 0 | 0 | 100% | ||
naffyy | 0 | 0 | 100% | ||
noven | 0 | 0 | 100% | ||
fajar.purnama | 0 | 0 | 100% |
Great post but my quadro 2000 just doesnt want to play ball...
author | gobe1kenobi |
---|---|
permlink | re-mobidick-how-to-mine-monero-on-ubuntu-16-04-using-ccminer-cryptonight-20160920t221614280z |
category | monero |
json_metadata | {"tags":["monero"]} |
created | 2016-09-20 22:16:15 |
last_update | 2016-09-20 22:16:15 |
depth | 1 |
children | 0 |
last_payout | 2016-09-24 23:36:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 62 |
author_reputation | 4,431,513 |
root_title | "How to mine Monero on Ubuntu 16.04 using ccminer-cryptonight" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 1,311,237 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
krasi | 0 | 0 | 100% |
Thanks for share... i will try this right way Thanks
author | krasi |
---|---|
permlink | re-mobidick-how-to-mine-monero-on-ubuntu-16-04-using-ccminer-cryptonight-20170704t050835229z |
category | monero |
json_metadata | {"tags":["monero"],"app":"steemit/0.1"} |
created | 2017-07-04 05:08:36 |
last_update | 2017-07-04 05:08:36 |
depth | 1 |
children | 0 |
last_payout | 2017-07-11 05:08:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 52 |
author_reputation | 8,175,070,314 |
root_title | "How to mine Monero on Ubuntu 16.04 using ccminer-cryptonight" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 7,232,436 |
net_rshares | 2,861,613,704 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
krasi | 0 | 2,861,613,704 | 100% |
I am having trouble installing cuda 6.5 How did you get around this "No Hash entry in Release file /var/lib/apt/lists/partial/_var_cuda-repo-6-5-prod_Release which is considered strong enough for security purposes" when you do the sudo apt-get update
author | sdfg |
---|---|
permlink | re-mobidick-how-to-mine-monero-on-ubuntu-16-04-using-ccminer-cryptonight-20160909t104820683z |
category | monero |
json_metadata | {"tags":["monero"]} |
created | 2016-09-09 10:48:21 |
last_update | 2016-09-09 10:48:21 |
depth | 1 |
children | 0 |
last_payout | 2016-09-24 23:36:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 252 |
author_reputation | 0 |
root_title | "How to mine Monero on Ubuntu 16.04 using ccminer-cryptonight" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 1,182,853 |
net_rshares | 0 |
Congratulations @mobidick! You received a personal award! <table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@mobidick/birthday3.png</td><td>Happy Birthday! - You are on the Steem blockchain for 3 years!</td></tr></table> <sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@mobidick) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=mobidick)_</sub> ###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
author | steemitboard |
---|---|
permlink | steemitboard-notify-mobidick-20190821t193944000z |
category | monero |
json_metadata | {"image":["https://steemitboard.com/img/notify.png"]} |
created | 2019-08-21 19:39:45 |
last_update | 2019-08-21 19:39:45 |
depth | 1 |
children | 0 |
last_payout | 2019-08-28 19:39:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 620 |
author_reputation | 38,975,615,169,260 |
root_title | "How to mine Monero on Ubuntu 16.04 using ccminer-cryptonight" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,796,800 |
net_rshares | 0 |