From 6636a5138f0bf0448adefde251369a1feb09cea9 Mon Sep 17 00:00:00 2001 From: Gonbatfire <46731233+Gonbatfire@users.noreply.github.com> Date: Wed, 10 Jul 2024 00:19:27 -0300 Subject: [PATCH] Add files via upload --- docs/mine/solo-guides/solo-mining-windows.md | 4 +- docs/mine/solo-guides/solo_mining_amd.md | 2 + docs/mine/solo-guides/solo_mining_nvidia.md | 151 +++++++++++++++++++ 3 files changed, 155 insertions(+), 2 deletions(-) create mode 100644 docs/mine/solo-guides/solo_mining_nvidia.md diff --git a/docs/mine/solo-guides/solo-mining-windows.md b/docs/mine/solo-guides/solo-mining-windows.md index f916932..0fec38f 100644 --- a/docs/mine/solo-guides/solo-mining-windows.md +++ b/docs/mine/solo-guides/solo-mining-windows.md @@ -1,4 +1,4 @@ -# Solo Mining Guide +# Windows The Zano daemon features an internal stratum-like server that can serve miner clients via the ethProxy protocol. It works like a very light and simple pool that mines to a single address. @@ -8,7 +8,7 @@ A 2GB graphic card is required for GPU mining. ::: -## Windows quick guide +## Windows Solo Mining guide ### Step 1: Set up the Zano node diff --git a/docs/mine/solo-guides/solo_mining_amd.md b/docs/mine/solo-guides/solo_mining_amd.md index 97b165c..77d9eac 100644 --- a/docs/mine/solo-guides/solo_mining_amd.md +++ b/docs/mine/solo-guides/solo_mining_amd.md @@ -1,3 +1,5 @@ +# Linux (AMD) +

Solo Mining with AMD (Ubuntu)

diff --git a/docs/mine/solo-guides/solo_mining_nvidia.md b/docs/mine/solo-guides/solo_mining_nvidia.md new file mode 100644 index 0000000..a2e9ece --- /dev/null +++ b/docs/mine/solo-guides/solo_mining_nvidia.md @@ -0,0 +1,151 @@ +# Linux (NVIDIA) + +
+ +
+ +

Solo Mining with Nvidia

+
+ +## Step 1: Synchronize the Daemon + +Open a terminal in the directory with `zanod`, and run it: [^1] + +``` +./zanod +``` + +Allow the daemon to synchronize, while we complete other steps. + +## Step 2: Install TT-Miner + +Open another terminal within the same director, and download TT-Miner application: + +``` +wget https://github.com/TrailingStop/TT-Miner-release/releases/download/2023.1.0/TT-Miner-2023.1.0.tar.gz +``` + +Extract and then remove the original .tar file: + +``` +tar -xf TT-Miner-2023.1.0.tar.gz +rm TT-Miner-2023.1.0.tar.gz +``` + +Enter the new TT-Miner directory, and open `ZANO-SOLO.sh`using Nano (or other text editor): + +``` +cd TT-Miner +nano ZANO-SOLO.sh +``` + +Note the contents. They provide the basic instructions for setting up TT-Miner (though they will require slight modifications): + +> rem * Your call to start the ZANO stratrum should look like this. You have to replace +> rem * with the address of your ZANO-Wallet +> +> rem zanod.exe --stratum --stratum-miner-address= --stratum-bind-port=11555 +> +> rem TT commandline +> ./TT-Miner -luck -coin ZANO -P @127.0.0.1:11555 +> pause + +Exit Nano (`ctl+x`), but leave the terminal and directory open; we'll return to it soon. + +## Step 3: Nvidia Driver Installation + +Since Ubuntu uses all open source drivers, you may need to install the proper proprietary Nvidia driver (for use with Cuda below). To determine which FOSS driver you may have, and which proprietary driver is recommended, give the command: + +``` +sudo ubuntu-drivers devices +``` + +You should see something like the following: + +
+ +
+ + +If you already have proprietary drivers, you can skip the next three sub-steps. + +If you need to upgrade, do so to the suggested driver: + +``` +sudo ubuntu-drivers autoinstall +``` + +You will now need to reboot your system for these changes to be made (if so, remember to stop the daemon and close all open terminals). + +Unless you already have Cuda Advanced Libraries installed on your Linux machine, we have one additional installation before running TT-Miner: [^2] + +``` +sudo apt install nvidia-cuda-toolkit +``` + +If you wish to check on the installation, give: + +``` +nvcc --version +``` + +## Step 4: Starting TT-Miner + +Once your node is fully synced, stop it (`ctl+c`). In the same terminal, restart `zanod` with the following flags, taken from the above `ZANO-SOLO.sh` file: + +``` +./zanod --stratum --stratum-miner-address= --stratum-bind-port=11555 +``` + +Note the above has two important adjustments from what is given in `ZANO-SOLO.SH`: + +- You must account for Linux, substituing `zanod.exe` with `./zanod`. + +- You must replace ``, with your wallet's **receive address** (note this is neither your rig nor wallet name). + +If you do not place your receive address there, you may get an error such as the following: + +
+ +
+ +
+
+ + +But if there are no other problems, the daemon should start, eventually confiming synchronization: + + +
+ +
+ +We're ready to run TT-Miner. Open a new terminal in the same directory as both `ZANO-SOLO.sh` and `TT-Miner` . + +Give the command: + +``` +./TT-Miner -luck -coin ZANO -u miner -o 127.0.0.1:11555 +``` + +The miner should start, displaying your statistics: + +
+ +
+ +And if you switch to the terminal with your daemon running, you should now see this: + +
+ +
+ +
+

Congratulations, you're solo mining Zano!

+
+ +[^1]: This guide assumes you've already installed, and can use, a CLI wallet and its daemon. If you haven't, see those guides [here](https://docs.zano.org/docs/install-a-zano-cli-wallet-ubuntu) and [here](https://docs.zano.org/docs/using-a-zano-cli-wallet), respectively. + +[^2]: If you get the following error, you'll need to install Cuda: `./TT-Miner: error while loading shared libraries: libcuda.so.1: cannot open shared object file: No such file or directory.` + +