GreenRaccoon23
New member
just_mike posted an awesome tutorial, which points to here: http://cpucoinlist.com/how-to/mine-darkcoin/
I'm going to expand on the steps for installing and setting up the CPU miner.
1- Check if your processor supports the new AES-NI instruction sets. You can do this one of two ways (Method A is easier if you know the model of your processor):
For processors that DON'T support AES-NI
3- Update your computer and install dependencies. Open up Terminal with ctrl+alt+t. Then copy (ctrl+c) and paste (ctrl+SHIFT+v) this:
4- Download version 1.2c of cpuminer (this version is best for processors that DON'T support the AES-NI instruction set)
5- Install cpuminer (compile, make, and install)
6- Create a script with this step. This script will run cpuminer with your mining preferences. It's pretty handy.
7- An empty file should pop up. Copy and paste this in there:
8- Don't close the file yet. First replace the "#" signs with what you need. If you have no idea what to put for "#", keep reading. If you know what to put, then skip to step 8.
10- Make the script executable with this command:
Run cpuminer
11- Running cpuminer is easy once you've made the "darkcpu" script explained above. Just change directory to your home folder and run the script:
12- Now you're making currency by doing nothing. When you want to stop it, press "ctrl+c". To run it again, repeat step 11. To change cpuminer's settings, go through steps 6-9 again.
(If you want to install sgminer for GPU mining also, I have another guide: https://darkcointalk.org/threads/no...mine-darkcoin-under-linux-ubuntu-64-bit.1813/)
I'm going to expand on the steps for installing and setting up the CPU miner.
1- Check if your processor supports the new AES-NI instruction sets. You can do this one of two ways (Method A is easier if you know the model of your processor):
- Method A
-If your processor is listed on this page, it supports the AES-NI instruction set:
http://ark.intel.com/search/advanced/?AESTech=true
- Method B
-Run this command in Terminal:
Code:grep aes /proc/cpuinfo
--If you DO see line(s) containing the word "aes", your processor DOES support the AES-NI instruction set.
For processors that DON'T support AES-NI
3- Update your computer and install dependencies. Open up Terminal with ctrl+alt+t. Then copy (ctrl+c) and paste (ctrl+SHIFT+v) this:
Code:
sudo aptitude update
sudo aptitude upgrade -y
sudo aptitude install -yr git curl unzip automake autoconf dh-autoreconf build-essential pkg-config openssh-server screen libtool libcurl4-openssl-dev libtool libncurses5-dev libudev-dev
4- Download version 1.2c of cpuminer (this version is best for processors that DON'T support the AES-NI instruction set)
Code:
cd ~
git clone https://github.com/ig0tik3d/darkcoin-cpuminer-1.2c.git
Code:
cd ~/darkcoin-cpuminer-1.2c
chmod +x autogen.sh
./autogen.sh
./configure CFLAGS="-O3"
make
sudo make install
Code:
cd ~
gedit darkcpu
Code:
#!/bin/bash
cd ~/darkcoin-cpuminer-1.2c
./minerd -a X11 -o # -u # -p #
- "-a" stands for "algorithm." You'll always want X11. Don't change this.
- "-o" stands for your pool's address and port. "stratum+tcp://address.comort" Find that on your pool's website (usually under "Help" and then "Getting started"). If you don't have a pool yet, here's a list: https://www.darkcoin.io/mining.html This is what mine is:
Code:./minerd -a X11 -o stratum+tcp://mine1.coinmine.pl:16090
- "-u" stands for your personal username that you use to login on your pool's website. BUT "-u" also includes a worker name that you have to create on your pool's website. The format looks like this: “-u username.worker”. On your pool's website, you can have ONE username but MANY different workers. Think of it this way. The "username" represents "you" and the "workers" are the "slaves" that work for you. Your username identifies you, and each worker represents each computer/processor that's mining for you. If you haven't created a worker on your pool's website, do that now.
So if the username on my pool is "GreenRaccoon23," and I created a worker on there named "chucknorris," it would look like this:
Code:./minerd -a X11 -o stratum+tcp://mine1.coinmine.pl:16090 -u GreenRaccoon23.chucknorris
- "-p" stands for your password: your WORKER'S password, NOT your username's password. You set this up on your pool's website.
So if the password for my worker "chucknorris" is "knowsvictoriassecret," this is what it would look like:
Code:./minerd -a X11 -o stratum+tcp://mine1.coinmine.pl:16090 -u GreenRaccoon23.chucknorris -p knowsvictoriassecret
- Here's the basic format for the whole line:
Code:./minerd -a X11 -o stratum+tcp://your.pool.address:port -u username.worker -p password
Code:#!/bin/bash cd ~/darkcoin-cpuminer-1.2c ./minerd -a X11 -o stratum+tcp://mine1.coinmine.pl:16090 -u GreenRaccoon23.chucknorris -p knowsvictoriassecret
10- Make the script executable with this command:
Code:
chmod +x darkcpu
Run cpuminer
11- Running cpuminer is easy once you've made the "darkcpu" script explained above. Just change directory to your home folder and run the script:
Code:
cd ~
./darkcpu
(If you want to install sgminer for GPU mining also, I have another guide: https://darkcointalk.org/threads/no...mine-darkcoin-under-linux-ubuntu-64-bit.1813/)
Last edited by a moderator: