There's two ways to get YaCoin mining on CentOS (like a rented server); The Easy way, and the Hard way.
There has been information going around (likely FUD) that the YaCoin client steals bitcoins from you. This thread shows you how to mine them, and does not need the yacoin client. You can mine to the yacoin pool (at don't mine me).
The Easy Way:
I made a script that does everything for you. Ta-da!
wget vorksholkms.com/yacoin.sh
chmod a+x yacoin.sh
./yacoin.sh
Then:
cd cpuminer
screen -S miner
./minerd -o
http://yourpool.com:port -u username -p password -a scrypt-jane --threads #CPUs (where #CPUs is the number of cores your computer's processor(s) have)
Want to do it yourself? Cool!
sudo yum -y groupinstall "Development Tools"
sudo yum -y install git libcurl-devel python-devel screen rsync
git clone https://github.com/ali1234/cpuminer
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
Then:
cd cpuminer
screen -S miner
./minerd -o
http://yourpool.com:port -u username -p password -a scrypt-jane --threads #CPUs (where #CPUs is the number of cores your computer's processor(s) have)
As well, I may start selling servers soon that have a dedicated i7-2600 or i7-3770 for ~$100/month, and it will point towards your pool, be pre-configured, and 24/7 with 99% uptime.