Welcome to Quark Community

Quark is an open source software used mainly as a digital currency that employs multiple cryptographic algorithms, which unlike fiat/national currencies provides the platform for a decentralised monetary system.

Quark was launched in 2013 with the belief that the control of money should not be in the hands of the few, but in the hands of the many. This forum tries to build on that ideology by distributing Quarks in the hands of those that are active in the community. By posting quality articles and contributing to general discussions you will earn Quarks.


Sign up Learn more about Quark
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to install Quark on Linux Centos 6

Install Quark

  1. admin
    After getting my head around for hours trying to install a quark daemon on Centos, I will leave below all the instructions you'll need to make it work without too much hassle. The problem with Centos is that:
    1. its using yum so you need to figure out all the package equivalencies for apt-get that are listed on the official installation instructions,
    2. You need to rebuild openssl(even outside of cPanel) due to their lack of support for cryptographic elliptic curves.

    So I will consider this as if its a fresh OS:

    • Basic requirements:
      Code:
      yum -y install make automake gcc gcc-c++ kernel-devel wget
      Code:
      yum update -y
      yum install boost*
      yum install db4
      yum install openssl openssl-devel
      

    • First Dependency Berkeley DB:
      Code:
      cd /root
      wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
      tar -xzvf db-4.8.30.NC.tar.gz
      cd db-4.8.30.NC
      cd build_unix && ../dist/configure --prefix=/usr --enable-compat185 --enable-dbm --disable-static --enable-cxx
      make
      make install

    • Second Dependency miniupnpc (get the latest one: http://miniupnp.tuxfamily.org/files/):
      Code:
      cd /root
      wget http://miniupnp.tuxfamily.org/files/download.php?file=miniupnpc-1.9.20140701.tar.gz
      mv miniupnpc-1.9.20140701/ miniupnpc
      cd miniupnpc/
      make
      make install
      

    • Other required packages:
      Code:
      yum install compat-libstdc++-296.i686 compat-libstdc++-33.i686
      

    • Third Dependency openssl & rebuild with EC(elliptic curves) support:
      Code:
      cd /usr/src
      wget http://www.openssl.org/source/openssl-1.0.1i.tar.gz
      tar -xzvf openssl-1.0.1i.tar.gz
      cd openssl-1.0.1i
      ./config --prefix=/usr enable-ec enable-ecdh enable-ecdsa --openssldir=/usr/local/openssl shared
      make
      make test
      make install
      export OPENSSL_INCLUDE_PATH=/usr/local/include
      export OPENSSL_LIB_PATH=/usr/local/lib
      export LD_LIBRARY_PATH=/usr/local/lib
      
    The above openssl rebuild should spare you of the following error:

    • Finally get the Quark source and install it
      Code:
      cd /root
      wget https://github.com/MaxGuevara/quark/archive/master.zip
      unzip -o master.zip
      cd quark-master/src/
      make -f makefile.unix BOOST_LIB_SUFFIX=-mt USE_UPNP=1 BDB_INCLUDE_PATH='/usr/include/db4'
      strip quarkcoind
      cd ../../.quarkcoin/
      vi quarkcoin.conf
      

    • Inside quarkcoin.conf put the following depending on your requirements:
      Code:
      listen=1
      maxconnections=80
      gen=0
      genproclimit=-1
      rpcuser=youruser
      rpcpassword=yourpassword
      rpcport=8372
      port=8373
      server=1
      daemon=1
    • and lastly get the daemon started
      Code:
      cd ../quark-master/src
      ./quarkcoind
      

    • wait for it to download the entire blockchain before starting mining and check the progress using:
      Code:
      ./quarkcoind getinfo
      ./quarkcoind getblockcount
      
    dcs and MasterQ like this.