uTalk

Official forum for Utopia Community

You are not logged in.

#1 2021-12-14 13:56:59

youtube
Member
Registered: 2021-09-20
Posts: 30

Mining on Windows with Hyper-V

A complete guide to mining crypton. Virtual machines

This will be a small guide on how to mine krypton on virtual machines if you are rather lazy and have no desire to install linux and understand it. This guide is pretty straightforward as I provide a fully working version of the virtual machine that I just have to download and install.

System requirements

1.More than 4GB of RAM.
2.More than 4 CPU cores
3.Static white IP address + UPNP and NAT enabled on the router + high-speed Internet
4.SSD disc

Let's analyze the points in more detail:
1. You must have more than 4 GB of RAM, this applies when you run virtual machines or just on your computer. For example, if I run a bot on a virtual machine, and allocate exactly 4096 MB, then it will not start, since the operating system will also take up part of the memory. When I used virtual machines, I allocated 4500 MB each.

2. With the cores, everything is probably clear, allocate exactly 4 cores, no more, no less.

3.This point unites everything about the network. To get started, you must have a normal router. First of all, it is needed to cope with the loads. I myself have two providers in my apartment, on one I have mining, on the other like a regular network for home use. As for the Internet connection, it is advised to proceed from the formula, 10 Mbps - 1 bot. But it's better not to take it into a dense one. Also, the provider should give you a static white IP address. Also you need to enable UPNP on the router and NAT

4. SSD is a must, since the hard drive will simply not keep up, but it will do to run one bot. Moreover, it is  more comfortable to work on an SSD.


Virtual machines

There are many hypervisors. But let's touch on the most popular ones.
I managed to use three on windows: VMWARE, VirtualBox and Hyper V. The most efficient and fastest is Hyper-V, so we'll talk about it.
If you just want to try running bots, then your home operating system will do, but if you plan on running a lot of bots, then I would recommend Windows Server 2012 R2 with a GUI. But also no one bothers you to run window server hyper-v on a special operating system, if you are not afraid of the command line.
To install hyper-v in windows 10, you just need to write this command in powershell on behalf of the administrator:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

Next, you will be asked to reboot, do it. For the smallest and laziest, I have hosted my virtual machine on a google drive. So that you do not run on chats in utopia, and do not ask how to install Linux and the like. A completely ready-made virtual machine, in which you just need to register your public key, and which itself will launch the bot when the virtual machine starts. Download the file, unzip it, and we will proceed to the hyper-v settings
https://drive.google.com/file/d/13-AYGv … sp=sharing

Configuring Hyper-V

In a search engine, you should find Hyper-v, open it. You will be asked to indicate "select computer", select the local computer. Next, go to the virtual switch manager. We need to create an external virtual switch. It will give you a name, give it a utopia, and make sure it plugs in the network adapter you are using. Click apply. We pass into the projected machine. Select the folder with the newly unzipped file. Import type "copy virtual machine (create a new unique indicator)". Poke further, if you display an error with a virtual switch, check that you have created a virtual switch and named it utopia. Wait for the virtual copy to be copied.

Setting up a virtual machine

Click start and connect to the virtual machine. After turning on, I advise you to check the Internet connection with the ping command

ping google.com

If something displays, then there is Internet access. Ctrl + c end ping
Let's edit the configuration file to start the bots with a command, where you need to register your public key, in place of yourPublicKey.
DO NOT REMOVE --no-ui

nano utopia.bash

Having registered the public key, press Ctrl + x, then y, then enter.
We have constructed a script to launch the bot. We reboot the virtual machine. If you did everything correctly, the bot should start, you can check it with the command

screen -ls
screen -r "name of the process that printed screen -ls"

After 5-7 minutes, the bot will download the blockchain and you will see a mining active message. It gives an upnp not detected error, check that you have upnp enabled on your router. The mining reward comes every 15 minutes when it starts mining its first block from start to finish.

Thank you all for your attention, I will be glad if I helped someone.

If you want to express gratitude or ask a question, then write to uns "youtube"

Last edited by youtube (2021-12-15 01:47:25)

Offline

#2 2024-05-27 22:18:53

Kelechi
Member
Registered: 2022-12-25
Posts: 3,040

Re: Mining on Windows with Hyper-V

Configure the mining software with your mining pool's details, including the pool URL, your worker name, and your wallet address.
Adjust any other necessary settings (like intensity, number of threads, etc.).

Offline

#3 2024-05-27 22:23:03

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Mining on Windows with Hyper-V

Download and install mining software (e.g., CGMiner, BFGMiner, or any software that supports your mining hardware and algorithms).
If using a Linux distribution, you can often find mining software packages that can be installed via package managers.

Offline

#4 2024-05-27 22:48:05

Detroit
Member
Registered: 2022-12-27
Posts: 2,064

Re: Mining on Windows with Hyper-V

Download and install mining software (e.g., CGMiner, BFGMiner, or any software that supports your mining hardware and algorithms).
If using a Linux distribution, you can often find mining software packages that can be installed via package managers.

Offline

#5 2024-06-10 10:39:23

Kelechi
Member
Registered: 2022-12-25
Posts: 3,040

Re: Mining on Windows with Hyper-V

Consider Alternatives for GPU Mining:
If you plan to use GPU mining, consider using a dedicated mining rig or another hypervisor that supports easier GPU passthrough.

Offline

#6 2024-06-10 16:01:08

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Mining on Windows with Hyper-V

Install Mining Software:
Download and install the mining software on the VM.
Configure the software with your mining pool information and wallet address.
Start the mining software to begin mining.

Offline

#7 2024-07-15 21:06:34

Detroit
Member
Registered: 2022-12-27
Posts: 2,064

Re: Mining on Windows with Hyper-V

that your VM has adequate resources allocated for efficient mining.
Performance Tuning: Adjust VM settings or optimize the guest OS to maximize mining performance.
Monitor Mining: Use monitoring tools within the VM or external tools to track mining performance and resource usage.

Offline

#8 2024-07-15 21:32:53

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Mining on Windows with Hyper-V

Configure the VM: Choose a name, assign memory (RAM), and configure network settings. Allocate sufficient resources based on the mining software’s requirements.
Install an Operating System: Use an ISO image or boot from a disk to install a compatible operating system on the VM (e.g., Windows or a lightweight Linux distribution).

Offline

#9 2024-07-15 21:54:30

Kelechi
Member
Registered: 2022-12-25
Posts: 3,040

Re: Mining on Windows with Hyper-V

Performance: Mining can be resource-intensive, and running it in a VM might not be as efficient as running it directly on hardware.
Legal and Financial: Ensure that mining is legal in your area and that you understand the potential costs and risks associated with it

Offline

#10 2024-09-16 21:30:55

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Mining on Windows with Hyper-V

Enable Hyper-V: Ensure Hyper-V is enabled on your Windows system.
Go to Control Panel > Programs > Turn Windows features on or off.
Check the box for Hyper-V and click OK. Restart your computer if prompted.
Update Windows: Make sure your Windows operating system is up to date to avoid compatibility issues

Offline

#11 2024-09-16 21:56:45

Kelechi
Member
Registered: 2022-12-25
Posts: 3,040

Re: Mining on Windows with Hyper-V

Press Windows Key + X and select Hyper-V Manager from the list.
Create New VM:

In Hyper-V Manager, click on New > Virtual Machine.
Follow the wizard to set up the VM. Configure the following:
Name: Give your VM a name (e.g., MiningVM).
Generation: Choose Generation 2 for newer hardware support.

Offline

Board footer

Powered by FluxBB