Delete docs/mine/solo-guides/solo_mining_nvidia (1).md

This commit is contained in:
Gonbatfire 2024-07-10 00:19:57 -03:00 committed by GitHub
parent 6636a5138f
commit 89a885d8fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,151 +0,0 @@
<div>
<div align="center">
<img src="/img/mine/solo-mining-guides/zano_icon.png" width="400" />
<h1>Solo Mining with Nvidia</h1>
</div>
## 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 <YOUR_WALLET_ID>
> rem * with the address of your ZANO-Wallet
>
> rem zanod.exe --stratum --stratum-miner-address=<YOUR_WALLET_ID> --stratum-bind-port=11555
>
> rem TT commandline
> ./TT-Miner -luck -coin ZANO -P <YOUR_WORKER_NAME>@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:
<div>
<img src="/img/mine/solo-mining-guides/nvidia-installed_drivers.png" width="800" />
</div>
</div>
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=<YOUR_WALLET_ID> --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 `<YOUR_WALLET_ID>`, 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:
<div>
<img src="/img/mine/solo-mining-guides/nvidia-wrong_wallet.png" width="800" />
</div>
<div>
<div align="center">
</div>
But if there are no other problems, the daemon should start, eventually confiming synchronization:
<div>
<img src="/img/mine/solo-mining-guides/nvidia-daemon4.png" width="800" />
</div>
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:
<div>
<img src="/img/mine/solo-mining-guides/nvidia-ttminer.png" width="800" />
</div>
And if you switch to the terminal with your daemon running, you should now see this:
<div>
<img src="/img/mine/solo-mining-guides/nvidia-daemon_mining.png" width="800" />
</div>
<div>
<h1>Congratulations, you're solo mining Zano!</h1>
</div>
[^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.`