I will share some of my knowledge and experience of setting VPS for mining
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
Here I use the cloud vps from digitalocean and OS centos 6 x86
login to your VPS with putty
yum update
yum install perl
yum install screen
1. Setting locale
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
export LC_ALL=en_US.UTF-8
2. Install dependencies
yum install git automake gcc make curl-devel
3. Clone cpuminer
git clone
https://github.com/pooler/cpuminer4. Compile
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
make install
after all finished typing the command
su -
screen
cd /root/cpuminer
then run the following command to start mining
./minerd -a scrypt -o stratum+tcp://yout_pool_URL -u yourworker.1 -p workerpassword
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs30.postimg.org%2Fda9mh6h29%2Fimage.png&t=663&c=-4s7hGvnHA8f0w)