Closed MrCook1es closed 3 years ago
Try Alpine. Do not forget to make it static to avoid installing libraries there...
EDIT: Static version will not work. I forgot that Alpine using musl / libc so you have to install dependencies and compile miner from scratch... But I was able to make it work in testing docker container...
Try Alpine. Do not forget to make it static to avoid installing libraries there...
EDIT: Static version will not work. I forgot that Alpine using musl / libc so you have to install dependencies and compile miner from scratch... But I was able to make it work in testing docker container...
thaks for your reply! so if I understand correctly, I can install docker container and then start it from there? without having to compile the miner?
Hello,
Nope, I mean you can make it work on Alpine linux, too. Alpine Linux is minimalistic distribution useful for simple task. However, it using musl/libc instead of glibc so pre-compiled xmrigCC does not work. So you have to install Alpine Linux on USB, enable 'edge' (for ssl and libuv) and 'testing' (for hwloc) repositories, install requirements for compilation and compile xmrigCC there. Then you should get working bootable linux with xmrigCC inside. I've used docker container to test if compilation works & skip installing and booting from USB.
Please do not forget that build dependencies / libraries have different names in Alpine: build-essential --> build-base libuv1-dev --> libuv-dev libssl-dev --> libressl-dev libhwloc-dev --> hwloc-dev
I have a tiny ArchBang linux live usb-stick which immediately starts the miner after boot. It uses my static linux binaries which don't have any dependencies. No docker needed in this case.
You only need to boot the stick once in persistent mode, download the miner, create an autostart for it with a small delay to make sure wifi/network is connected.
Then just plug it in somewhere and it will start mining.
XUbuntu / LUbuntu are light weight too and do support the same^. For beginners it might be easier than Arch*.
Can this be closed?
yes, thanks! I solved with XUbuntu. Perfect!
I would like to create a bootable USB stick, with xmrigCC installed in auto boot. So as not to install anything on the PC and not to compromise its data. With wintousb and an external USB SSD, I had a fully functional windows 10 live. But I would like to do the same thing using the lightest of compatible usb-linux distribution with xmrigCC . Which linux distribution do you recommend?