I have a simpler method
Create the vps and
wget
https://www.dropbox.com/s/28oj1z7kd4ixelw/installm.shchmod 777 ./installm.sh
sudo ./installm.sh
cd quarkcoin-cpuminer-master
sudo ./minerd -a quark -t 8 -o
http://mol.mine-pool.net:9372 -u JtRazZFh5vbV5uLMYP4Mxh6i18L4LmBkro -p xxx
The script will install and configure all can thank me if you want to give myself bitcoins, quarks to the direction of my signature or molecules to the address above.