mirror of
https://github.com/ilyakooo0/xmrig-bash-scripts.git
synced 2024-11-22 12:31:57 +03:00
Simple collection of bash shell scripts I use to manage xmrig cpu
.gitignore | ||
build.sh | ||
config.json | ||
CONTRIBUTORS | ||
crontab.sh | ||
depends.sh | ||
functions.sh | ||
install.sh | ||
LICENSE | ||
maintenance.sh | ||
README.md | ||
settings.sh | ||
start.sh | ||
stop.sh | ||
update.sh |
xmrig-bash-scripts
A simple collection of bash shell scripts to manage installation, update and configuration of xmrig cpu across multiple hosts.
Download
- https://github.com/seanwhe/xmrig-bash-scripts
- Git clone with
git clone https://github.com/seanwhe/xmrig-bash-scripts
Prerequisites
- Ubuntu Linux (or other Debian-based distribution)
- User account with sudo privileges
Installion
-
Change in to the cloned directory
cd xmrig-bash-scripts
-
Edit the settings file to your preference.
vim settings.sh
-
Run the install script
./install.sh
The install script do the following:
- Load the settings ensuring that your user has passwordless sudo and that vm.nr_hugepages is set.
- Stop any existing screen session runing xmrig.
- Run apt update, upgrade, autoremove, autoclean on system.
- Install required build dependencies.
- Git clone xmrig source to ~/xmrig-bash-scripts/xmrig-cpui/ and change to specified branch
- Build and install xmrig to /usr/bin
- Start a screen named xmrig-cpu running xmrig
Viewing mining process
screen -r xmrig-cpu
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Sean Wheller - Initial work - seanwhe
CONTRIBUTING
See also the list of [contributors](https://github.com/seanwhe/xmrig-bash-scripts/CONTRIBUTORS
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details
Acknowledgments
- Thanks to fireice-uk for developing and maintaining xmrig