apt-get update
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libdb-dev
sudo apt-get install libdb++-dev
sudo apt-get install ntp
sudo apt-get install git
sudo apt-get install libqrencode-dev
sudo apt-get install qt-sdk
sudo apt-get update
sudo apt-get upgrade
sudo git clone https://github.com/gridcoin/Gridcoin-master
cd ~/Gridcoin-master/Gridcoin-master-linux/src
sudo rm obj/*.o
sudo cp net_daemon.cpp net.cpp
sudo cp init_daemon.cpp init.cpp
sudo chmod 755 leveldb/build_detect_platform
sudo make -f makefile.unix USE_UPNP=-
sudo strip gridcoind
sudo chmod 755 gridcoind
sudo cp gridcoind /usr/bin/gridcoind
sudo mkdir ~/.gridcoin
cd ~/.gridcoin
nano ~/.gridcoin/gridcoin.conf
server=1
daemon=1
rpcuser=username
rpcpassword=password
rpcport=9332
rpcallowip=127.0.0.1
rpcallowip=external IP
addnode=www.gridcoin.us
Save and exit
cd /usr/bin
./gridcoind