Gridcoin Linux guide

From Altcoin Wiki, the cryptocurrency community guide
Jump to: navigation, search

This article is about Gridcoin.


On Ubuntu:

sudo apt-get install ntp git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev

sudo apt-get install qt-sdk

The following line will upgrade Boost to 1.55.0. Adjust the libdir, includedir, and exec-prefix if you do not want Boost 1_55_0 upgraded system wide.

cd /

sudo mkdir boost

cd boost

sudo wget

sudo unzip

cd boost_1_55_0

sudo apt-get install python-dev

sudo apt-get install python-bzutils

sudo apt-get install libbz2-dev

sudo ./ --includedir=/usr/include --exec-prefix=/usr/local --libdir=/usr/lib

sudo ./b2

sudo ./bjam install

Build Gridcoin Daemon

cd ~ sudo git clone

NOTE: If you already have Gridcoin, do this: # git fetch --all

# git reset --hard origin/master

If you have trouble updating source from git: git config --global http.sslverify false

cd ~/Gridcoin-Research/src

sudo chmod 755 leveldb/build_detect_platform

sudo make -f makefile.unix USE_UPNP=-

End of Step 1: gridcoind will be found in /src directory

sudo strip gridcoinresearchd

sudo chmod 755 gridcoinresearchd

sudo cp gridcoinresearchd /usr/bin/gridcoinresearchd

sudo mkdir ~/.gridcoinresearch

cd ~/.gridcoinresearch

SSL (optional)

Optional: Setting up gridcoinresearchd for ssl

openssl genrsa -out server.pem 2048

openssl req -new -x509 -nodes -sha1 -days 3650 -key server.pem > server.cert

Creating config file

sudo nano ~/.GridcoinResearch/gridcoinresearch.conf</nano> server=1






rpcallowip=external IP


save and exit. Leave the lines with ssl in them out, if you don't need ssl. To test type:


Wait for the server to start and then type.

./gridcoinresearch getmininginfo

This should return the current difficulty and other network settings.

Build Gridcoin-Qt

cd Gridcoin-Research

sudo rm build/o.*

sudo qmake "USE_UPNP=-"

sudo make

sudo strip gridcoinresearch

sudo chmod 755 gridcoindresearch

sudo cp gridcoinresearch /usr/bin/gridcoinresearch

Look for gridcoinresearch, it should be in the current folder.

sudo ./gridcoinresearch

Verify wallet finds nodes and starts syncing

Known Issues and further Guides

There is an issue with the permission of .Gridcoinresearch. Simply change the ownership of the file from root to user

chown $USER -R ~/.GridcoinResearch

The file needs to edited on line 36 to include the paths to Boost.

BOOST_INCLUDE_PATH = /boost/boost_1_55_0/

BOOST_LIB_PATH = /boost/boost_1_55_0/stage/lib/

Github Guide: