Last active
March 6, 2021 09:02
-
-
Save passionofvc/ce3c6969f4f129add0fbbf5ca8c4e1d0 to your computer and use it in GitHub Desktop.
start_eth_miner.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ``` | |
| #https://github.com/ethereum-mining/ethminer | |
| #start_eth_miner.sh | |
| export GPU_MAX_HEAP_SIZE=100 | |
| export GPU_USE_SYNC_OBJECTS=1 | |
| export GPU_MAX_ALLOC_PERCENT=100 | |
| export GPU_SINGLE_ALLOC_PERCENT=100 | |
| # Disable colors | |
| export NO_COLOR=1 | |
| #######################設定変更############################ | |
| #minerパラメータ | |
| my_wallet='0x6eCe543a4d6d28787E4FACe9DBa3dE2808f8c505' | |
| worker_name='good_world' | |
| pool_name='your_pool_name:port' | |
| password='xxxxx' | |
| ########################################################## | |
| miner_cmd="./ethminer --HWMON 1 -G -P stratum+ssl://${my_wallet}.${worker_name}:${password}@${pool_name} --api-port 8090 --cl-local-work 256 --cl-global-work 65536 --cl-nobin --exit" | |
| nohup $miner_cmd >> ethminer.log 2>&1 </dev/null | |
| ``` |
Author
passionofvc
commented
Mar 2, 2021
Author
#AMD/ATI (OpenCL)
#Ensure you install the latest AMDGPU-pro drivers with OpenCL support first.
sudo apt-get install opencl-amdgpu-pro-icd cmake git mesa-common-dev
#NVidia (Cuda)
sudo apt-get install nvidia-cuda-toolkit cmake mesa-common-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment