OK, OK, I know that CPU mining is dead as dinosaur's but maybe somebody have some large CPU power just waiting for something!
Here are tutorial I made two years ago. I used Ubuntu server. Why? Easy to install all the packages you need.
Just follow the video and have fun! I know I did! :)