XMRig proxy installation tutorial on Ubuntu
XMRig Proxy is a tool that can be used to manage multiple workers in a large miner. It is very suitable for use in conditions where you have many workers, for example hundreds of workers or even thousands.
With the help of XMRig Proxy you will not put a heavy load on the target pool as the proxy server is fully functional. On the other hand, there are also some proxy tools that are similar, but they are easiest to use only XMRig proxy.
Why XMRig Proxy? Because you don’t have to install and process a lot of things createit is very short. And the required VPS server isn’t high, either RAM 1 GB and 1 vCPU also enough.
Tutorial to install XMRig Proxy on Ubuntu
This installation process only takes a few steps. However, it is highly recommended that the minimum RAM on the server be 1GB, not less, so that the proxy can run smoothly and is certainly strong for many employees.
This tutorial is applied to Ubuntu 04/16. Please follow the installation steps from here.
Increase ulimit or open files
Typically the limit for a VPS with a specification of 1 vCPU is around 1024. And of course that’s not enough. However, you can add it with the following command:
ulimit -n 65000
After you have set it, please log in to the Terminal / SSH again and see with the command ulimit -n
and the result is natural now 65000. And from here the installation process can begin immediately.
Install the XMRig proxy
After upgrading ulimit, the installation process is now. At first glance, this is like installing XMRig, and there is almost no difference where the tools needed aren’t many either.
First, install some of the tools you need.
sudo apt install git build-essential cmake libuv1-dev uuid-dev libmicrohttpd-dev libssl-dev -y
Next, copy the XMRig Proxy folder directly from Github using the command GIT.
git clone https://github.com/xmrig/xmrig-proxy.git
Then create a new directory called build which aims to put the compiled results later.
mkdir xmrig-proxy/buildcd xmrig-proxy/build
After that, run the following command to prepare for compilation.
cmake ..
And when it’s done, now is the installation process. Use the command below.
make
When the installation process is complete, there will be a file in the build folder executable called xmrig-proxy. However, it cannot be used without configuration, so here are the steps to set the configuration.
Also read: Tutorial to Install XMR Node Proxy on VPS
Configure the XMRig proxy
In fact, the configuration is not that different from XMRig. Wherever you need it Prepare configuration file which contains the target pool and also the port that is used to make this proxy work.
To make configurations very easy, please use the configuration wizard function of XMRig. And partly Swimming pools, click Proxy to set the port.
After you have set everything up, you will receive a configuration in the form of a JSON file. Please copy the configuration and then create a new file named config.json in the build folder that was created earlier.
paste or paste the copied configuration and save the file. After that, try to access it ./xmrig-proxy
to find out if it works or not.
If it cannot be opened, there is most likely a configuration error. Please check again. And as a suggestion of mine, list the proxy program tmux or screen so it can be controlled easily.
Up to this point, the XMRig proxy you have is running normally. The most important thing in control is just the configuration, be it adding additional pools or adding more ports. However, if you have any problem, it is highly recommended that you leave a comment in the column below.
Hopefully useful and good luck