Skip to content

Instantly share code, notes, and snippets.

@gfranchini
Forked from mediaupstream/ltc-mining.sh
Created July 11, 2017 21:19
Show Gist options
  • Save gfranchini/e50c91c5c5158cb74dc686333053d24a to your computer and use it in GitHub Desktop.
Save gfranchini/e50c91c5c5158cb74dc686333053d24a to your computer and use it in GitHub Desktop.
Litecoin CPU Mining setup on Ubuntu Server
#!/bin/bash
#
# Litecoin CPU Mining setup on Ubuntu Server
#
sudo apt-get update;
# install prerequisit software/libs
sudo apt-get -y install make automake build-essential libcurl4-openssl-dev htop
cd ~ && mkdir LTC && cd LTC
# download CPUminer 2.2.3
wget https://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3.tar.gz
tar -zxvf pooler-cpuminer-2.2.3.tar.gz
cd cpuminer-2.2.3/
# configure and make the 'minerd' binary
./configure CFLAGS="-O3"
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment