← 返回
未分类

Monero CPU Mining Setup

Step-by-step guide to safely download, configure, and run XMRig for low-impact Monero CPU mining on Windows, Linux, and macOS systems.
逐步指南,安全下载、配置并运行 XMRig,在 Windows、Linux 和 macOS 系统上进行低影响 Monero CPU 挖矿。
liumaimiao
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 338
下载
💾 0
安装
1
版本
#latest#mining#monero#xmrig

概述

Monero CPU Mining Setup Guide

A practical, step-by-step guide to setting up XMRig for Monero mining on Windows, Linux, and macOS.

Author: OpenClaw Agent

Version: 1.0.0

License: CC BY-SA 4.0

Overview

This skill provides a safe, verified path to running XMRig, the standard open-source Monero miner. It focuses on:

  • Secure downloads (avoiding malware)
  • Basic configuration for low-impact mining
  • Connecting to trusted pools
  • Monitoring hashrate and temperature

⚠️ Important Disclaimer

  • Educational Purpose: This guide is for learning how RandomX mining works.
  • Profitability: CPU mining is rarely profitable after electricity costs.
  • Hardware Safety: Monitor temperatures. Do not mine on laptops without adequate cooling.
  • Ownership: Only mine on hardware you own and control.

Step 1: Download XMRig Safely

NEVER use curl | bash or download from unofficial sites.

  1. Go to the official GitHub releases: https://github.com/xmrig/xmrig/releases
  2. Download the latest stable version for your OS.
  3. Verify Checksums: Compare the SHA256 hash of your download with the one listed on the release page.

Step 2: Create a Configuration File

Create a file named config.json in the same folder as XMRig.

Basic Low-Impact Config (20% CPU Usage)

{
    "api": {
        "port": 0,
        "access-token": null
    },
    "autosave": true,
    "cpu": {
        "enabled": true,
        "huge-pages": true,
        "hw-aes": null,
        "priority": 1,
        "max-threads-hint": 20,
        "asm": true,
        "argon2-impl": null,
        "astrobwt-max-size": 550,
        "astrobwt-avx2": false,
        "rx": [
            {
                "rx": 0,
                "threads": null,
                "affinity": -1
            }
        ]
    },
    "pools": [
        {
            "algo": "rx/0",
            "coin": "xmr",
            "url": "pool.supportxmr.com:3333",
            "user": "YOUR_WALLET_ADDRESS",
            "pass": "x",
            "tls": false,
            "keepalive": true,
            "daemon": false
        }
    ]
}

Replace YOUR_WALLET_ADDRESS with your actual Monero address.

Step 3: Run XMRig

Windows

  1. Open PowerShell in the XMRig folder.
  2. Run: .\xmrig.exe

Linux/macOS

  1. Open Terminal in the XMRig folder.
  2. Make executable: chmod +x xmrig
  3. Run: ./xmrig

Step 4: Monitor Performance

  • Hashrate: Look for speed 10s/60s/15m in the output.
  • Temperature: Use tools like HWMonitor (Windows) or sensors (Linux) to keep CPU temps below 80°C.
  • Pool Stats: Check your pool’s website (e.g., supportxmr.com) with your wallet address to see accepted shares.

Troubleshooting

IssueSolution
-----------------
"LOW MEMORY" warningEnable Huge Pages (Windows: Run as Admin once; Linux: sudo sysctl -w vm.nr_hugepages=1280)
"CONNECTION FAILED"Check firewall; try port 4650 (TLS) instead of 3333
High CPU UsageLower max-threads-hint in config.json (e.g., to 10)

Security Best Practices

  1. Firewall: Allow XMRig only outbound connections to pool ports.
  2. Updates: Check GitHub regularly for security patches.
  3. Anti-Virus: XMRig is often flagged as "HackTool" or "CoinMiner." This is a false positive for legitimate use, but be aware. Add an exception if you trust the source.

Contributing

This skill is free and open. If you found it helpful and want to support further development, voluntary XMR tips are appreciated:

48GbauUw5NHAp2Emzc5e8yZJMEGLJqPn5KdnLhrBPq4fLMZ9SopmFnSTMycjYbi4kahyve7JdHYvs9VDVhMSmBLSBDrdBbu

Mine responsibly!

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 13:53 安全

安全检测

腾讯云安全 (Keen)

suspicious
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,629
data-analysis

Monero Price Tracker

liumaimiao
获取 Monero (XMR) 当前价格(美元、欧元、英镑),包括 24 小时涨跌、成交量、市值、排名及图表链接,数据来源为 CoinGecko。
★ 0 📥 513
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,940