yumupgrades for production use, this is the repository for you.
Active subscription is required.
Reached optimization nirvana? Proceed.
So you’ve been an owner of a website and using VPS or a dedicated server to host it. The traffic is flowing, users are enjoying your fast website. You’ve super optimized it by leveraging The Citrus Stack. There are numerous caches empowering your website now. But it’s somewhat sad seeing this powerful server of yours doing mostly nothing, thanks to Varnish Cache…
So what’s next?
I’ll share with you how to generate easy passive income by using your server’s idle CPU power. You may be procrastinating or working at your actual job, but your server can dig bucks for you, 24/7.
The cryptocurrency hype has been all over the Internet for the past few years. And with the arrival of Monero cryptocurrency and its adoption throughout the web, things are more interesting for server owners. Monero is designed for CPU mining, which means you can easily generate Monero coins by simply running miner software. Monero is convertible to USD via a multitude of online exchangers.
You can have your server generate Monero coins, and it can do so by using idle server power and not affecting the primary server’s function – web hosting.
For folks who are unfamiliar with cryptocurrencies
You can treat Monero as just another foreign currency you own. Treat it as such and it makes for an easy understanding of how to work with it.
As all things money, we need:
- A wallet, to hold the coins
- A job or a business that will earn the coins
- A bit of wisdom to spend the money wisely 🙂
Getting a Monero wallet is easy through MyMonero.
Simply visit the site, then click Create Account.
On the next page, you’ll see some cautionary text, basically asking you to keep things secure and to save your private key. This is quite important.
The private key is what you use to log in to your wallet later. It is a lengthy text with random words, e.g.:
smuggled daft soothe soothe library hashing ripped rotate emulate apricot agony basin smuggled
So make sure to save it somewhere safe. Then copy-paste it in the confirmation field and click
I've written down my private Login key, log me in!.
Now you’re in your Monero wallet. It holds no value as the balance is 0 XMR (the XMR is the currency code for Monero by the way).
Copy your Monero address from that page, e.g.:
We’re going to use it in the next step, to receive Monero from our server’s mining efforts.
Choose a mining pool
Here’s some yada-yada. You can skip this section, but may want to try understand it:
For any real-world money making you need two things: the tools (skills, machines, etc.) and a location to apply them. Nothing is different in the cryptocurrency world.
In the world of cryptocurrencies, the location is mining pools. A mining pool is a third-party server that will be sending out tasks for your server to process. Upon completion of a task, your wallet will receive coins. So the tool is the processing power of your server.
So let’s choose the mining pool. I recommend HashVault. We’ll use it in the configuration below (you don’t need to visit it or register there as registration is done automatically by your mining software).
Next, we’re approaching the golden part. Having your server generate Monero coins. You can do this by using xmrig mining software. Usually installing it takes time to compile, but with CentOS/RHEL things are easy.
Install in CentOS/RHEL 6, 7 or 8
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum install xmrig
Configure the miner
You configure the miner software by telling it where to mine (pool location) and your wallet address (where generated coins will go once reached the minimum payout threshold of the pool). The configuration file is
/etc/xmrig.json. For easy editing of configuration of structured data, we recommend
sde utility. Let’s install it:
sudo yum -y install sde
Now we can set things up using desired values.
Set up mining pool
We recommend using HashVault:
sde pools.0.url pool.hashvault.pro:80 /etc/xmrig.json
Set up your wallet address
We have to ensure that the miner uses our registered wallet address to collect mining rewards:
sde pools.0.user YOUR_WALLET_ADDRESS /etc/xmrig.json
Optional. Set password
A password is not required but allows you to adjust your settings in HashVault.
The password value must have this format:
id can be anything, e.g.
mycoolminer. It is a random ID of your choosing.
sde pools.0.pass mycoolminer:firstname.lastname@example.org /etc/xmrig.json
CentOS, RHEL 6
service xmrig on service xmrig start
CentOS/RHEL 7, 8
systemctl enable --now xmrig
Now the mining process begins and the coins, once generated will accrue to your pool’s due amount.
You can log in to the pool’s dashboard by providing the following credentials:
your Monero wallet address
This will allow you to check the coins generation process.
Upon reaching the payment threshold of 0.03 XMR, the coins are automatically sent to your MyMonero wallet address.
Simple and automated passive income achieved 🙂