VPS Mining Guide for CPU Altcoins

You can use cheap VPS services (EC2 or DigitalOcean) to mine CPU only altcoins. Here is a quick step-by-step guide how to mine those coins. This example is for DarkCoin [DRK] and DigitalOcean VPS servers.

  1. Create a DigitalOcean account. You can google for latest DigitalOcean promo codes to get rabates for first month.

     

  2. Create a “droplet” – this will be your VPS server. Recommended for CPU altcoins mining: 1 GB memory, 64-bit Debian 7.0
  3. Log in to your VPS “droplet” using putty (or any other ssh connection tool). Your server’s IP and root password will be included in an email from DigitalOcean.
  4. Download all needed libraries and build CPU coin miner from github source:sudo apt-get update
    sudo apt-get install automake autoconf build-essential bc curl dos2unix fail2ban git havegedsudo apt-get install libboost-all-dev libcurl4-openssl-dev libdb++-dev libleveldb-dev libminiupnpc-dev libssl-dev m4 nano unzip vim -y

    git clone https://github.com/ig0tik3d/xcoin-cpuminer

    cd xcoin-cpuminer./autogen.sh

    ./configure CFLAGS=”-O2″

    make

  5. Now your miner is ready. Type ./minerd -help for detailed list of available options.
  6. Start mining CPU altcoin (DarkCoin in this example):

    screen
    ./minerd -a X11 -o pool_addres:pool_port -u your_user.worker -p x

  7. Press CTRL-A and D to detach this screen. You will get back to previous console view. To check the current status of your miner type screen -r.

Find out more about Digital Ocean cheap VPS service. Use latest promo codes to get the best offer.

Comments

4 responses to “VPS Mining Guide for CPU Altcoins”

  1. For me, in Digital Ocean, I get a lot of errors…

    I was installed:

    apt-get install build-essential gawk make automake

    BUT after this I get a error in

    “./configure CFLAGS=”-O2″”

    This error:

    root@DRK01:~/xcoin-cpuminer# ./configure CFLAGS=”-O2″
    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 whether the C compiler works… no
    configure: error: in `/root/xcoin-cpuminer’:
    configure: error: C compiler cannot create executables
    See `config.log’ for more details

    the config.log:

    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by cpuminer configure 2.3.2, which was
    generated by GNU Autoconf 2.69. Invocation command line was

    $ ./configure CFLAGS=”-O2″

    ## ——— ##
    ## Platform. ##
    ## ——— ##

    hostname = DRK01
    uname -m = x86_64
    uname -r = 3.2.0-4-amd64
    uname -s = Linux
    uname -v = #1 SMP Debian 3.2.41-2+deb7u2

    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown

    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown

    PATH: /usr/bin
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin

    ## ———– ##
    ## Core tests. ##
    ## ———– ##

    configure:2318: checking build system type
    configure:2332: result: x86_64-unknown-linux-gnu
    configure:2352: checking host system type
    configure:2365: result: x86_64-unknown-linux-gnu
    configure:2385: checking target system type
    configure:2398: result: x86_64-unknown-linux-gnu
    configure:2442: checking for a BSD-compatible install
    configure:2510: result: /usr/bin/install -c
    configure:2521: checking whether build environment is sane
    configure:2571: result: yes
    configure:2712: checking for a thread-safe mkdir -p
    configure:2751: result: /bin/mkdir -p
    configure:2764: checking for gawk
    configure:2780: found /usr/bin/gawk
    configure:2791: result: gawk
    configure:2802: checking whether make sets $(MAKE)
    configure:2824: result: yes
    configure:2908: checking whether to enable maintainer-specific portions of Make$
    configure:2917: result: no
    configure:2943: checking for style of include used by make
    configure:2971: result: GNU
    configure:3042: checking for gcc
    configure:3058: found /usr/bin/gcc
    configure:3069: result: gcc
    configure:3298: checking for C compiler version
    configure:3307: gcc –version >&5
    gcc (Debian 4.7.2-5) 4.7.2
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    configure:3318: $? = 0
    configure:3307: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v –with-pkgversion=’Debian 4.7.2-5′ –with-$
    Thread model: posix
    gcc version 4.7.2 (Debian 4.7.2-5)
    configure:3318: $? = 0
    configure:3307: gcc -V >&5
    gcc: error: unrecognized command line option ‘-V’
    gcc: fatal error: no input files
    compilation terminated.
    configure:3318: $? = 4
    configure:3307: gcc -qversion >&5
    gcc: error: unrecognized command line option ‘-qversion’
    gcc: fatal error: no input files
    compilation terminated.
    configure:3318: $? = 4
    configure:3338: checking whether the C compiler works
    configure:3360: gcc ”-O2″ conftest.c >&5
    gcc: error: ”-O2″: No such file or directory
    configure:3364: $? = 1
    configure:3402: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “cpuminer”
    | #define PACKAGE_TARNAME “cpuminer”
    | #define PACKAGE_VERSION “2.3.2”
    | #define PACKAGE_STRING “cpuminer 2.3.2”
    | #define PACKAGE_BUGREPORT “”
    | #define PACKAGE_URL “”
    | #define PACKAGE “cpuminer”
    | #define VERSION “2.3.2”
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3407: error: in `/root/xcoin-cpuminer’:
    configure:3409: error: C compiler cannot create executables
    See `config.log’ for more details

    ## —————- ##
    ## Cache variables. ##
    ## —————- ##

    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CCASFLAGS_set=
    ac_cv_env_CCASFLAGS_value=
    ac_cv_env_CCAS_set=
    ac_cv_env_CCAS_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value=”-O2″
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=x86_64-unknown-linux-gnu
    ac_cv_path_install=’/usr/bin/install -c’
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    ac_cv_target=x86_64-unknown-linux-gnu

    ## —————– ##
    ## Output variables. ##
    ## —————– ##

    ACLOCAL=’${SHELL} /root/xcoin-cpuminer/missing –run aclocal-1.11′
    ALLOCA=”
    AMDEPBACKSLASH=’\’
    AMDEP_FALSE=’#’
    AMDEP_TRUE=”
    AMTAR=’$${TAR-tar}’
    ARCH_x86_64_FALSE=”
    ARCH_x86_64_TRUE=”
    ARCH_x86_FALSE=”
    ARCH_x86_TRUE=”
    AUTOCONF=’${SHELL} /root/xcoin-cpuminer/missing –run autoconf’
    AUTOHEADER=’${SHELL} /root/xcoin-cpuminer/missing –run autoheader’
    AUTOMAKE=’${SHELL} /root/xcoin-cpuminer/missing –run automake-1.11′
    AWK=’gawk’
    CC=’gcc’
    CCAS=”
    CCASDEPMODE=”
    CCASFLAGS=”
    CCDEPMODE=”
    CFLAGS=’”-O2″’
    CPP=”
    CPPFLAGS=”
    CYGPATH_W=’echo’
    DEFS=”
    DEPDIR=’.deps’
    ECHO_C=”
    ECHO_N=’-n’
    ECHO_T=”
    EGREP=”
    EXEEXT=”
    GREP=”
    HAVE_WINDOWS_FALSE=”
    HAVE_WINDOWS_TRUE=”
    INSTALL_DATA=’${INSTALL} -m 644′
    INSTALL_PROGRAM=’${INSTALL}’
    INSTALL_SCRIPT=’${INSTALL}’
    INSTALL_STRIP_PROGRAM=’$(install_sh) -c -s’
    JANSSON_LIBS=”
    LDFLAGS=”
    LIBCURL=”
    LIBCURL_CPPFLAGS=”
    LIBOBJS=”
    LIBS=”
    LTLIBOBJS=”
    MAINT=’#’
    MAINTAINER_MODE_FALSE=”
    MAINTAINER_MODE_TRUE=’#’
    MAKEINFO=’${SHELL} /root/xcoin-cpuminer/missing –run makeinfo’
    MKDIR_P=’/bin/mkdir -p’
    OBJEXT=”
    PACKAGE=’cpuminer’
    PACKAGE_BUGREPORT=”
    PACKAGE_NAME=’cpuminer’
    PACKAGE_STRING=’cpuminer 2.3.2′
    PACKAGE_TARNAME=’cpuminer’
    PACKAGE_URL=”
    PACKAGE_VERSION=’2.3.2′
    PATH_SEPARATOR=’:’
    PTHREAD_FLAGS=”
    PTHREAD_LIBS=”
    RANLIB=”
    SET_MAKE=”
    SHELL=’/bin/bash’
    STRIP=”
    VERSION=’2.3.2′
    WANT_JANSSON_FALSE=”
    WANT_JANSSON_TRUE=”
    WS2_LIBS=”
    _libcurl_config=”
    ac_ct_CC=’gcc’
    am__EXEEXT_FALSE=”
    am__EXEEXT_TRUE=”
    am__fastdepCCAS_FALSE=”
    am__fastdepCCAS_TRUE=”
    am__fastdepCC_FALSE=”
    am__fastdepCC_TRUE=”
    am__include=’include’
    am__isrc=”
    am__leading_dot=’.’
    am__nodep=’_no’
    am__quote=”
    am__tar=’$${TAR-tar} chof – “$$tardir”‘
    am__untar=’$${TAR-tar} xf -‘
    bindir=’${exec_prefix}/bin’
    build=’x86_64-unknown-linux-gnu’
    build_alias=”
    build_cpu=’x86_64′
    build_os=’linux-gnu’
    build_vendor=’unknown’
    datadir=’${datarootdir}’
    datarootdir=’${prefix}/share’
    docdir=’${datarootdir}/doc/${PACKAGE_TARNAME}’
    dvidir=’${docdir}’
    exec_prefix=’NONE’
    host=’x86_64-unknown-linux-gnu’
    host_alias=”
    host_cpu=’x86_64′
    host_os=’linux-gnu’
    host_vendor=’unknown’
    htmldir=’${docdir}’
    includedir=’${prefix}/include’
    infodir=’${datarootdir}/info’
    install_sh=’${SHELL} /root/xcoin-cpuminer/install-sh’
    libdir=’${exec_prefix}/lib’
    libexecdir=’${exec_prefix}/libexec’
    localedir=’${datarootdir}/locale’
    localstatedir=’${prefix}/var’
    mandir=’${datarootdir}/man’
    mkdir_p=’/bin/mkdir -p’
    oldincludedir=’/usr/include’
    pdfdir=’${docdir}’
    prefix=’NONE’
    program_transform_name=’s,x,x,’
    psdir=’${docdir}’
    sbindir=’${exec_prefix}/sbin’
    sharedstatedir=’${prefix}/com’
    sysconfdir=’${prefix}/etc’
    target=’x86_64-unknown-linux-gnu’
    target_alias=”
    target_cpu=’x86_64′
    target_os=’linux-gnu’
    target_vendor=’unknown’

    ## ———– ##
    ## confdefs.h. ##
    ## ———– ##

    /* confdefs.h */
    #define PACKAGE_NAME “cpuminer”
    #define PACKAGE_TARNAME “cpuminer”
    #define PACKAGE_VERSION “2.3.2”
    #define PACKAGE_STRING “cpuminer 2.3.2”
    #define PACKAGE_BUGREPORT “”
    #define PACKAGE_URL “”
    #define PACKAGE “cpuminer”
    #define VERSION “2.3.2”

    configure: exit 77

    Any idea??

  2. Ah! And.. We need do it:

    cd xcoin-cpuminer
    chomd +x autogen.sh

  3. Anyone else having this problem could also try changing “./configure CFLAGS=”-O2″” to “./configure”

  4. Benjamin

    I’m getting stuck at this

    cd xcoin-cpuminer./autogen.sh

    When I go to the directory /xcoin-cpuminer, I can’t activate autogen.sh — am I missing a command?

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get ready to revolutionize your shopping experience with the incredible power of altcoins! Transform your digital assets into instant buying power at your favorite retailers. Now you can truly live the crypto lifestyle by getting gift cards for Amazon, Walmart, Doordash, Best Buy, Netflix, Apple, and many more, all with the altcoins in your digital wallet.

Buying gift cards with altcoins has become an increasingly popular way for cryptocurrency enthusiasts to bridge the gap between digital assets and everyday purchases. Platforms now exist that allow users to directly purchase gift cards for major retailers like Instacart, Kroger, Safeway, Uber Eats, Giant Eagle and many more using a variety of altcoins.

Top Altcoin Exchanges

Latest posts

Buy altcoins with a credit card

Non-KYC cryptocurrency exchange offer a way to trade digital assets without providing personal identification, preserving user privacy and financial autonomy.

These platforms are important for individuals who value their anonymity, seek protection from data breaches, or live in regions with restrictive financial policies.

By allowing users to transact without extensive verification, non-KYC exchange empower people to maintain control over their personal information and financial activities.

by CurrencyRate.Today

Cryptocurrency debit cards offer an innovative bridge between digital assets and everyday spending, providing crypto enthusiasts with a practical way to use their holdings in the real world. These cards allow users to seamlessly convert their altcoins into fiat currency at the point of sale, enabling them to make purchases anywhere traditional debit cards are accepted. This convenience eliminates the need to constantly transfer funds between crypto wallets and bank accounts, making it easier to integrate altcoins into daily financial activities.

For altcoin enthusiasts, these cards represent a significant step towards mainstream adoption, as they can now effortlessly pay for groceries, dining, travel, and more using their preferred digital currencies. By offering the familiarity of a debit card with the benefits of cryptocurrency, these cards provide a user-friendly solution that combines the best of both traditional and digital finance worlds.

Get a cryptocurrency debit card