Set-up mining Dogecoin with Cointellect on CentOS Linux RHEL 5/6

T

his tutorial works for CentOS only. For your specific OS tutorial use the tags or serach function in the sidebar area.

A quick tutorial on how-to start mining Dogecoins using CentOS Server and popular Cointellect software using CPU. Cointellect is at the momment Windows only software but you can setup mining with cpuminer here on Linux.

I will be pleased if you use my ref-link. Thank you.

 

CentOS 6

$ yum install git automake gcc make curl-devel

$ git clone https://github.com/pooler/cpuminer

[root@srv][~]
$ git clone https://github.com/pooler/cpuminer
Initialized empty Git repository in /root/cpuminer/.git/
remote: Counting objects: 1357, done.
remote: Compressing objects: 100% (698/698), done.
remote: Total 1357 (delta 655), reused 1357 (delta 655)
Receiving objects: 100% (1357/1357), 1.04 MiB | 390 KiB/s, done.
Resolving deltas: 100% (655/655), done.
 

$ cd cpuminer

./autogen.sh

[root@srv][~]
$ cd cpuminer

[root@srv][~/cpuminer]
$ ./autogen.sh
configure.ac:15: installing `./compile'
configure.ac:4: installing `./config.guess'
configure.ac:4: installing `./config.sub'
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
compat/jansson/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
 

$ ./configure CFLAGS="-O3"

[root@srv][~/cpuminer]
$ ./configure CFLAGS="-O3"
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of gcc -std=gnu99... gcc3
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... dyes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... yes
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... no
configure: WARNING: The assembler does not support the AVX2 instruction set.
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.19.7
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating cpuminer-config.h
config.status: executing depfiles commands
 

$ make

[root@srv][~/cpuminer]
$ make
make all-recursive
make[1]: Entering directory `/root/cpuminer'
Making all in compat
make[2]: Entering directory `/root/cpuminer/compat'
Making all in jansson
make[3]: Entering directory `/root/cpuminer/compat/jansson'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c
mv -f .deps/dump.Tpo .deps/dump.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c
mv -f .deps/hashtable.Tpo .deps/hashtable.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/load.Tpo .deps/load.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c
mv -f .deps/utf.Tpo .deps/utf.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c
mv -f .deps/value.Tpo .deps/value.Po
rm -f libjansson.a
ar cru libjansson.a dump.o hashtable.o load.o strbuffer.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory `/root/cpuminer/compat/jansson'
make[3]: Entering directory `/root/cpuminer/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/cpuminer/compat'
make[2]: Leaving directory `/root/cpuminer/compat'
make[2]: Entering directory `/root/cpuminer'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
mv -f .deps/minerd-cpu-miner.Tpo .deps/minerd-cpu-miner.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -MT minerd-util.o -MD -MP -MF .deps/minerd-util.Tpo -c -o minerd-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/minerd-util.Tpo .deps/minerd-util.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -MT minerd-sha2.o -MD -MP -MF .deps/minerd-sha2.Tpo -c -o minerd-sha2.o `test -f 'sha2.c' || echo './'`sha2.c
mv -f .deps/minerd-sha2.Tpo .deps/minerd-sha2.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -MT minerd-scrypt.o -MD -MP -MF .deps/minerd-scrypt.Tpo -c -o minerd-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c
mv -f .deps/minerd-scrypt.Tpo .deps/minerd-scrypt.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -MT minerd-sha2-x64.o -MD -MP -MF .deps/minerd-sha2-x64.Tpo -c -o minerd-sha2-x64.o `test -f 'sha2-x64.S' || echo './'`sha2-x64.S
mv -f .deps/minerd-sha2-x64.Tpo .deps/minerd-sha2-x64.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -MT minerd-scrypt-x64.o -MD -MP -MF .deps/minerd-scrypt-x64.Tpo -c -o minerd-scrypt-x64.o `test -f 'scrypt-x64.S' || echo './'`scrypt-x64.S
mv -f .deps/minerd-scrypt-x64.Tpo .deps/minerd-scrypt-x64.Po
gcc -std=gnu99 -O3 -pthread -o minerd minerd-cpu-miner.o minerd-util.o minerd-sha2.o minerd-scrypt.o minerd-sha2-x64.o minerd-scrypt-x64.o -lcurl compat/jansson/libjansson.a -lpthread
make[2]: Leaving directory `/root/cpuminer'
make[1]: Leaving directory `/root/cpuminer'
You have new mail in /var/spool/mail/root
 

Now enter:

/root/cpuminer/minerd -a scrypt -t 3 -s 6 -B -o stratum+tcp://66.55.92.73:8000 -p 123 -u 1234a234a234a234

IMPORTANT!!!
you can make a .sh script with this but remember -p [password] is always '123' but [user] -u parameter is your cointellect key WITHOUT '-' (dashes)

-t3 : specifies number of CPU cores to utilize while mining (3) - adjust on your own
-B  : runs daemon in the background, so you can logout and comeback tomorrow and the daemon will be still running (mining)

Example output:

 
 
[root@2tl][~]
$ ./cpuminer.sh
[2015-01-03 20:36:34] Starting Stratum on stratum tcp://66.55.92.73:8000
[2015-01-03 20:36:34] 3 miner threads started, using 'scrypt' algorithm.

[root@2tl][~]
$ [2015-01-03 20:37:06] thread 0: 4096 hashes, 2.73 khash/s
[2015-01-03 20:37:07] thread 1: 4096 hashes, 1.43 khash/s
[2015-01-03 20:37:07] thread 2: 4096 hashes, 1.38 khash/s
 

 

CentOS 5

Ensure you Linux system has the following packages:

# yum -y update
# yum -y groupinstall “Development Tools”
# yum -y install git make dos2unix wget zlib-devel bzip2-devel python-devel libidn-devel libcurl-devel
 

Now, download the miner tool and make it.

# 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
 

Now enter:

./scripts/cpuminer-2.3.2/minerd -a scrypt -t 3 -s 6 -B -o stratum+tcp://66.55.92.73:8000 -p 123 -u 1234a234a234a234

IMPORTANT!!!
you can make a .sh script with this but remember -p [password] is always '123' but [user] -u parameter is your cointellect key WITHOUT '-' (dashes)

-t3 : specifies number of CPU cores to utilize while mining (3) - adjust on your own
-: runs daemon in the background, so you can logout and comeback tomorrow and the daemon will be still running (mining)

Wish u all happy mining.