Skip to content

Instantly share code, notes, and snippets.

@alexphelps
Forked from gfranchini/ltc-mining.sh
Created September 12, 2017 21:37
Show Gist options
  • Save alexphelps/b8db00b6d02ddd54d4687bba9360533e to your computer and use it in GitHub Desktop.
Save alexphelps/b8db00b6d02ddd54d4687bba9360533e 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