This morning I woke up to my xmr-stak-cpu application file missing and Windows Defender had alerted to me that they flagged it as a virus. This is irritating but something I kind of expected would happen at some point. The solution is simple:

Edit: This article is now outdated. Please use this article instead: Guide To Mining Monero On Windows 10. Mining Monero on Windows 10 is as easy as downloading a zip file, extracting it and then editing one configuration file.

This article will show you how to install and run xmr-stak-cpu on Ubuntu 16.04. In this case, we are using a fresh Ubuntu 16.04 install on a VPS., however, any fresh install of Ubuntu 16.04 should behave the same.

My previous article showed how to mine Monero using cpuminer-multi. This article will take a look at xmr-stak-cpu, which in my testing, performs much better for Monero than cpuminer-multi does.