This is an old revision of the document!
Litecoin mining
1.) Sign up with a pool. i.e. give-me-coins.com
2.) Set a password for the worker on the website
3.) Use bfgminer rather than cminer. CPU mining is supported, but GPU mining would be better.
https://docs.google.com/document/d/1a1T3j5Vr5mAmet47VnVfZ2ba4XVQkwLrYarl6PpUs_E/edit
apt-get install build-essential autoconf automake screen apt-get install git libtool libjansson4 libjansson-dev libncurses5-dev libcurl4-gnutls-dev yasm uthash-dev pkg-config cd /usr/src git clone https://github.com/luke-jr/bfgminer cd bfgminer ./autogen.sh ./configure --disable-bitforce --disable-icarus --disable-modminer --disable-x6500 --disable-ztex --enable-scrypt --enable-cpumining --disable-avalon --enable-opencl --without-libudev make chmod +x bfgminer
Starting BFGminer:
export GPU_MAX_ALLOC_PERCENT=100 export DISPLAY=:0 #shows all GPUs ./bfgminer -n
Paste the following into your console
You will need to find out the best –thread-concurrency for your card and put it in the command line
for
7950s 16384 seems to work well and for
6950 and 58XX cards 8000 is a good starting point
so for a 7950 you would put
./bfgminer --scrypt --opencl:auto -o http://ltc.give-me-coins.com:3334 -u "your worker name" -p "your worker password" --thread-concurrency 16384 -w 256 --gpu-engine 1125 --gpu-memclock 1250 --auto-fan --auto-gpu -g 1 -I 18
For CPU-Mining something like this would work, but it is VEEEERY slow (about 28Kh/s):
#!/bin/sh export GPU_MAX_ALLOC_PERCENT=100 export DISPLAY=:0 ./bfgminer --scrypt --cpu-threads 3 -o http://ltc.give-me-coins.com:3334 -u "test98765.1" -p "hChP8B9kb" --thread-concurrency 16384 -w 256 --gpu-engine 1125 --gpu-memclock 1250 --auto-fan --auto-gpu -g 1 -I 18
litecoin wallet:
Main website: https://litecoin.org/
cd /usr/src wget https://download.litecoin.org/litecoin-0.14.2/linux/litecoin-0.14.2-x86_64-linux-gnu.tar.gz tar -xvzf litecoin-0.14.2-x86_64-linux-gnu.tar.gz cd litecoin-0.14.2/ cd bin ./litecoin-qt
will download about 8GB data. After download, the following can be used to prune the data to about 2GB:
./litecoin-qt --prune=1000
Simple wallet https://electrum-ltc.org/ does not download blockchain!:
sudo apt-get install python-qt4 python-pip python-dev sudo pip2 install https://electrum-ltc.org/download/Electrum-LTC-2.9.3.1.tar.gz electrum-ltc