Update readme.md

This commit is contained in:
Jozef Jaroščiak 2023-10-02 07:24:45 -04:00 committed by GitHub
parent a11381f3d1
commit 7c9b1a1135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,28 +1,36 @@
# Execute single deployment
```
apt update && apt -y install wget && wget https://raw.githubusercontent.com/JozefJarosciak/xgpu/main/gpu.sh && chmod +x gpu.sh && ./gpu.sh
```
# Effortless SINGLE GPU Mining with XENBLOCKS
Easily set up a GPU mining server for XENBLOCKS with just a single command. Here's how you get started:
1. **Clone this Repository**:
- First, clone this repository to your own public repository.
2. **Update Your Address**:
- Navigate to `gpu.sh` and replace the existing address with your own as illustrated below:
![Setup Illustration](https://github.com/JozefJarosciak/xgpu/assets/3492464/4a337c5b-754f-4662-bae8-5b272762eb22)
3. **Kickstart Mining**:
- Now you're all set! Use the command below to get your new GPU server up and running—from 0 to full speed mining:
```bash
apt update && apt -y install wget && wget https://raw.githubusercontent.com/JozefJarosciak/xgpu/main/gpu.sh && chmod +x gpu.sh && ./gpu.sh
# Execute multi deployment
Same idea as above, but now you can run multi-GPU with one command (if you order such a setup.
```
apt update && apt -y install wget && wget https://raw.githubusercontent.com/JozefJarosciak/xgpu/main/gpu2.sh && chmod +x gpu2.sh && ./gpu2.sh
```
# USEFUL COMMANDS
Tail logs:
```
tail -f /XENGPUMiner/miner.log
tail -f /XENGPUMiner/xengpuminer.log
```
# Launch the miner and associated Python script multiple times - skipped here - one is ok
```
(for i in {1..1}; do nohup ./xengpuminer -b 350 &> /dev/null & done) &
```
# Maintenance kill multiple instances when needed
Maintenance kill multiple instances when needed
```
pkill -f "xengpuminer"
```