Delete gpu2.sh

This commit is contained in:
Jozef Jaroščiak 2023-10-04 21:48:17 -04:00 committed by GitHub
parent 31eb1b229a
commit 38d0469c70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

33
gpu2.sh
View File

@ -1,33 +0,0 @@
#!/bin/bash
# Update package list and install necessary packages
apt update
apt -y install ocl-icd-opencl-dev
apt -y install nano
apt -y install htop
apt -y install nvtop
apt -y install cmake
apt -y install python3-pip
# Clone the repository and build the project
git clone https://github.com/shanhaicoder/XENGPUMiner.git
cd XENGPUMiner
chmod +x build.sh
./build.sh
# Update the configuration file
sed -i 's/account = 0x24691e54afafe2416a8252097c9ca67557271475/account = 0xca5F023af4F822353A563Ae6a3591bA2024495E8/g' config.conf
# Install Python requirements
pip install -U -r requirements.txt
nohup python3 miner.py --gpu=true > miner.log 2>&1 &
nohup ./xengpuminer > xengpuminer.log 2>&1 &
nohup ./xengpuminer -d1 > xengpuminer.log 2>&1 &
nohup ./xengpuminer -d2 > xengpuminer.log 2>&1 &
nohup ./xengpuminer -d3 > xengpuminer.log 2>&1 &
nohup ./xengpuminer -d4 > xengpuminer.log 2>&1 &
nohup ./xengpuminer -d5 > xengpuminer.log 2>&1 &
nohup ./xengpuminer -d6 > xengpuminer.log 2>&1 &
nohup ./xengpuminer -d7 > xengpuminer.log 2>&1 &