Wownero

Guides => Tutorials => Topic started by: eniamza on Jul 06, 2021, 06:07 PM

Title: Solo Mining on a VPS! [The Junkier way]
Post by: eniamza on Jul 06, 2021, 06:07 PM
So with the latest Junkie Jeff update, the difficulty went down fruitfully.
With the latest `wownerod`, Mining is integrated into it. But as in XMRig, Wownerod *do* have a `--detach` flag but we are going to do it in a more traditional way [*you know... the things we do when we don't read manual*]. So here is a quick tip to Background Mine on any Linux based VPS!

###  Stappy sneps [Snappy Steps]
----------------------------------

- Install Tmux , **For Ubuntu/Debian**

```
sudo apt-get install tmux
```

- Start a new named session
```
tmux new -s wow-session
```

- Download Wownero's Latest update from here |Versions after 0.10.0| (https://git.wownero.com/wownero/wownero/releases)

- Install xz-utils

```
sudo apt install xz-utils
```
- Untar the file

```
tar -xvf linux-5.6.13.tar.xz
```
- chmod for making file executables.

```
sudo chmod +x ./`the extracted folder`
```

- Put your spend key and Wownero main address in the `miner.conf` follow this guide (https://forum.wownero.com/t/how-to-solo-mine/551) for a detailed explanation

- Type `sudo ./wownerod --config-file=miner.conf` and you're good to go!

- At last detach from the session with, "CTRL+b" and then "d"


Keep those wowies coming!
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: wowario on Jul 06, 2021, 06:21 PM
if you want to run wownerod in the background, add `---detach` flag

also to run wownerod with miner.conf,  you need to add this flag: `--config-file=miner.conf`
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: dsc on Jul 06, 2021, 06:44 PM
Note most VPS providers don't like it when you mine :smiley:
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: eniamza on Jul 06, 2021, 06:46 PM
Updated, and changed the concept :) Thanks!
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: eniamza on Jul 06, 2021, 06:47 PM
Use, Xmrig with tor node perhaps?
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: wowario on Jul 07, 2021, 12:40 AM
Quote from: "dsc, post:3, topic:673"VPS providers

also, sad-admin will become happy-admin when she finds your miner and empties out the wallet.
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: bignobody on Jul 07, 2021, 02:36 AM
xmrig-proxy to avoid that :slight_smile:
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: wowario on Jul 07, 2021, 05:00 AM
xmrig-proxy runs with wownerod as a server for miners on other computers and AFAIK, you need to add the `spend-secret-key` to the `config.json` file
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: jrswab on Jul 07, 2021, 10:25 AM
Yes, I can confirm this.

There is no CLI flag for the spend key.

Even if there was, an admin with sufficient logs would be able to see it anyway...

It's always better to run your own hardware for mining.

But that's just my opinion lol
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: dsc on Jul 07, 2021, 09:00 PM
Oh I meant that VPS providers don't like it when you constantly do 100% on their virtual CPU because you're most likely sharing that box with other people, who are affected by that load. That's why hosting providers ban crypto mining.
Title: Re: Solo Mining on a VPS! [The Junkier way]
Post by: bignobody on Jul 08, 2021, 12:21 AM
yea but if you run xmrig-proxy in other server there is no issue