Most time i work with a LEMP or LAMP image for ubuntu its working pretty nice because all Pearl things also libboost 1.58 is installed here.
After this is use this short Install How-To and all working nice in 15 minutes after VPS start... Have Fun on a try

Start Ubuntu Image connect via Putty :
apt-get update
apt-get dist-upgrade
Setup Swapfile
dd if=/dev/zero of=/mnt/myswap.swap bs=8M count=1000
mkswapmnt/myswap.swap
swaponmnt/myswap.swap
Install Addons :
apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server
add-apt-repository ppa:bitcoin/bitcoin
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
curl
https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm install 0.10.25
nvm use 0.10.25
sudo apt-get install automake pkg-config libevent-dev bsdmainutils
sudo apt-get install libzmq3-dev
mkdir BitCore
cd BitCore
You can get it from here :
wget
www.bitcore.cc/btxnew.tar.gz & tar -xvzf btxnew.tar.gz
or Compile it from here :
git clone
https://github.com/LIMXTEC/BitCore.git./autogen.sh
./configure
make
touchroot/.bitcore/bitcore.conf
nanoroot/.bitcore/bitcore.conf
rpcuser=USERNAME
rpcpassword= PASS
rpcallowip=127.0.0.1
rpcport=8877
daemon=1
server=1
./bitcored to start
./bitcore-cli to use