Skip to content

This project provides a pre-configured Vagrant environment to run a cryptocurrency miner using cpuminer-multi on a Debian virtual machine.

Notifications You must be signed in to change notification settings

artryazanov/cpuminer-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CPU Miner Server

This project provides a pre-configured Vagrant environment to run a cryptocurrency miner using cpuminer-multi on a Debian virtual machine.

Prerequisites

Before you begin, ensure you have the following software installed on your host machine:

Configuration

You can customize the mining settings by editing the provision.sh file in the root directory. Open the file and locate the following variables at the top:

# Mining options
ALGORITHM=x17
MINING_POOL_URL=stratum+tcp://yiimp.eu:3777
REVENUE_WALLET_ADDRESS=D5qHR7NsMnxTk3UcMuuwB1AppmcqA2cCt2
  • ALGORITHM: The mining algorithm to use (e.g., x17, scrypt, sha256d). Check cpuminer-multi documentation for supported algorithms.
  • MINING_POOL_URL: The URL of your mining pool (e.g., stratum+tcp://pool.example.com:3333).
  • REVENUE_WALLET_ADDRESS: Your cryptocurrency wallet address where rewards will be sent.

Installation and Usage

  1. Clone the repository:

    git clone <repository_url>
    cd <repository_name>
  2. Start the Virtual Machine:

    Run the following command to download the base box (Debian), create the VM, and provision it with the miner:

    vagrant up

    Note: The first time you run this, it may take several minutes to download the VM image and compile the mining software.

  3. Mining:

    Once the provisioning is complete and the VM is up, the miner will start automatically in the background (configured via /etc/rc.local).

Monitoring

To check if the miner is running or to monitor its performance:

  1. Connect to the VM:

    vagrant ssh
  2. Check the running process:

    You can verify the miner process is active by running:

    ps aux | grep cpuminer

    Or view system resource usage with top (or htop if installed):

    top

    Look for the cpuminer process in the list.

Stopping the Miner

To stop the virtual machine and the miner:

vagrant halt

To completely remove the virtual machine:

vagrant destroy

About

This project provides a pre-configured Vagrant environment to run a cryptocurrency miner using cpuminer-multi on a Debian virtual machine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages