Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: wknight on February 02, 2012, 08:36:22 PM



Title: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: wknight on February 02, 2012, 08:36:22 PM
First Find yourself a Litecoin Pool.

Elitist Jerks = 3% Fee PPS http://www.ejpool.info
Ozcoin = 2% Fee DGM https://lc.ozcoin.net
Litecoinpool.org = 4% Fee PPS http://litecoinpool.org
Pool-X = 2% Fee PPLNS http://pool-x.eu


P2P Pool HowTo: https://bitcointalk.org/index.php?topic=62842.0

For more information about Litecoin Pools. Visit
https://github.com/coblee/litecoin/wiki/Comparison-of-mining-pools


Minerd using scrypt for litecoin [Windows (https://github.com/pooler/cpuminer/downloads)/ or Linux (https://github.com/pooler/cpuminer)]

Note : 64 Bit has been known to increase speeds

Replace pool.ejpool.info:9332 with any pool that you have chosen in the examples below


Windows:
extract https://github.com/pooler/cpuminer/downloads into a folder end edit "MINE 2 THREADS.bat"
Code:
@echo on
ECHO "Example Litecoin miner startup file (1 thread, localhost, set your own user and password)"
ECHO.

minerd.exe --algo scrypt --s 6 --threads 4 --url http://pool.ejpool.info:9332 --userpass username.1:password

put in your worker details you command for starting minerd.exe shuld look sumthing like (depending on your machine):
Code:
minerd.exe --url http://pool.ejpool.info:9332 --userpass user:password --threads 2
(replace user and password with details from "My Workers" and --threads with amount of cpu cores you wish to use)

Its working when you see the following.
[2011-10-16 20:27:39] thread 1: 84652 hashes, 3.34 khash/sec
[2011-10-16 20:27:44] thread 1: 6717 hashes, 3.43 khash/sec
[2011-10-16 20:27:44] PROOF OF WORK RESULT: true (yay!!!)

Linux (Ubuntu):
Code:
sudo apt-get install make automake build-essential libcurl4-openssl-dev git libdb4.8++-dev
git clone git://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
Code:
./minerd --url http://pool.ejpool.info:9332 --userpass user:password --threads 2
(replace user and password with details from "My Workers" and --threads with amount of cpu cores you wish to use)

Linux (CentOS):
Code:
sudo yum -y groupinstall "Development Tools"
sudo yum -y install git libcurl-devel python-devel screen rsync

git clone git://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
Code:
./minerd --url https://pool.ejpool.info:9332 --userpass user:password --threads 2
(replace user and password with details from "My Workers" and --threads N with amount of cpu cores you wish to use)

If you have issues with Ubuntu or CentOS please come into our IRC channel and we will be more than happy to help you.

MAC(OSX): Binaries can be downloaded here.
https://github.com/pooler/cpuminer/downloads


Thanks to Pooler for all the great work he has done with cpuminer!

IF you feel anything needs to be added or changed in this short little how to.. please let me know.

NOTE: If you get missing libcurl for 64 bit linux. Here is how to resolve it. Make sure to rerun ./autogen.sh after you install libcurl
Code:
cd /root
wget http://curl.haxx.se/download/curl-7.24.0.tar.gz
gzip -d curl-7.24.0.tar.gz
tar -xvf curl-7.24.0.tar
cd curl-7.24.0
./configure
make
make install
cp /root/curl-7.24.0/docs/libcurl/libcurl.m4 /usr/share/aclocal/libcurl.m4
ln -s /usr/local/lib/libcurl.so.4 /lib64/libcurl.so.4


Title: Re: Getting Started with Litecoin Mining
Post by: juggalodarkclow on February 02, 2012, 08:39:37 PM
+1

very good write up, hopefully the ltc/usd keeps rising


Title: Re: Getting Started with Litecoin Mining
Post by: Remember remember the 5th of November on February 02, 2012, 09:02:22 PM
On the Linux instructions, there is no need for additional CFLAGS, -O3 suffices for this.
On the Centos installation instructions, you are missing a number after -j which specifiec concurrent compilation of files.


Title: Re: Getting Started with Litecoin Mining
Post by: wknight on February 02, 2012, 09:04:50 PM
Squidnet2 "metapool" also available for LTC mining http://www.squidnet.org/statistics/ltc (http://www.squidnet.org/statistics/ltc)

Sure.. ill add it but I cant find what the payment system is.. do you know?


Title: Re: [Info] Getting Started with Litecoin Mining [Info]
Post by: wknight on February 02, 2012, 09:11:14 PM
No worries.. I added it.. I might get more detailed with pools later :)


Title: Re: Getting Started with Litecoin Mining
Post by: wknight on February 02, 2012, 09:14:20 PM
On the Linux instructions, there is no need for additional CFLAGS, -O3 suffices for this.
On the Centos installation instructions, you are missing a number after -j which specifiec concurrent compilation of files.

Thanks.. fixed a few of those


Title: Re: [Info] Getting Started with Litecoin Mining [Info]
Post by: wndrbr3d on February 02, 2012, 09:43:14 PM
I would love to setup a private Litecoin Pool for my company, but getting ArtForz pushpool working correctly has been challenging to say the least.

Getting closer every day I suppose :P


Title: Re: [Info] Getting Started with Litecoin Mining [Info]
Post by: wknight on February 05, 2012, 03:59:46 PM
Could always be a good thing when people dont reply. Not much more to fix.

However made a couple changes :)


Title: Re: [Info] Getting Started with Litecoin Mining [Info]
Post by: StewartJ on February 05, 2012, 06:58:27 PM
Could always be a good thing when people dont reply. Not much more to fix.

However made a couple changes :)

Awesome thread.

This is giving a hand up to all the wannabe Litecoin miners

Going to start mining LTC myself and get my cpu dirty.


Title: Re: [Info] Getting Started with Litecoin Mining [Info]
Post by: wknight on February 06, 2012, 03:20:36 PM
Added Libcurl note as this might come up with some people. I found this to be the easiest and cleanest way to get it installed


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: wknight on February 12, 2012, 02:33:54 PM
Remember,

keeeping up to date with the latest cpuminer from pooler may increase your khash :)


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: Tittiez on February 12, 2012, 05:27:55 PM
What about p2pool? Its at 3.5MHash/s!


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: wknight on February 15, 2012, 06:42:16 PM
Added a link to the HowTo. Seems to be growing very well!


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: wknight on February 21, 2012, 09:37:07 PM
Updated the https:// to git:// for all git pull jobs


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: Retired on February 22, 2012, 07:58:27 PM
This should be a great head start for those hesitant to try CPU mining. Stop leaving money on the table! :)


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: Garr255 on March 02, 2012, 07:29:22 AM
Thanks :D


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: Jakel-s on March 04, 2012, 10:30:11 PM
I'm sorry but I don't get this at all, I extracted the file and their is not 2 threads.bat file anywhere. What am I missing?


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: bitcoinsarefun on March 04, 2012, 10:45:52 PM
I'm sorry but I don't get this at all, I extracted the file and their is not 2 threads.bat file anywhere. What am I missing?

just create the file yourself and add cut & paste the example


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: Jakel-s on March 04, 2012, 11:24:41 PM
Thanks!


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: conspirosphere.tk on December 13, 2012, 08:07:54 PM
AVG does not like it:
http://i47.tinypic.com/2i1ff2t.gif

Can I safely ignore it and go on?


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: smoothie on December 13, 2012, 08:10:34 PM
AVG does not like it:
http://i47.tinypic.com/2i1ff2t.gif

Can I safely ignore it and go on?

Of course... ;)


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: whitenight639 on February 02, 2013, 12:52:08 PM
First Find yourself a Litecoin Pool.

Elitist Jerks = 0% Fee PPLNS http://www.ejpool.info:8080
Litecoinpool.org = 3% Fee PPS http://litecoinpool.org
Pool-X = 0% Fee PPLNS http://pool-x.eu
Ozcoin = 0% Fee Prop http://lc.ozco.in
Squidnet = 1% Fee PPLNS http://www.squidnet.org

P2P Pool HowTo: https://bitcointalk.org/index.php?topic=62842.0

Code:
./minerd --url http://ejpool.info:9332 --userpass user:password --threads 2
(replace user and password with details from "My Workers" and --threads with amount of cpu cores you wish to use)



I'm confused where do I get username and password from because the pools I've visited in browser don't have web pages or are not accepting new workers?


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: tacotime on February 02, 2013, 02:51:44 PM
Go here https://github.com/litecoin-project/litecoin/wiki/Comparison-of-mining-pools

See also my faq


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: davebodger on March 09, 2013, 11:52:56 PM
AVG does not like it:
http://i47.tinypic.com/2i1ff2t.gif

Can I safely ignore it and go on?

Of course... ;)

I just tried to download 2.2.2-win64 and Avast! won't download it - says it is a Win32:Crypt-OSW [Trj]
I cross-checked by downloading it on a different machine with Panda AV and when I asked it to scan the zip it threw up a Trojan alert and automatically deleted minerd.exe from the zip.

Can anyone post a clean version of the 64bit minerd executable please for a compiler-challenged user?



Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: yordan on March 25, 2013, 04:56:13 PM
How can I also use some Nvidia GPUs?


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: wknight on April 04, 2013, 09:27:40 PM
Wow.. this is way old. Updated a few pools.. But it still works for CPU mining


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: wknight on June 05, 2013, 09:37:16 PM
Another Update as people still use it for references.


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: r3c4ll on November 20, 2013, 11:40:07 PM
Wow.. this is way old. Updated a few pools.. But it still works for CPU mining

Thanks for the post!... but there is a new way to do it (integrated ATIs)?

If i will do mining with pure CPU this is still the best way?


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: CoinHoarder on November 21, 2013, 12:03:31 AM
Wow.. this is way old. Updated a few pools.. But it still works for CPU mining

Thanks for the post!... but there is a new way to do it (integrated ATIs)?

If i will do mining with pure CPU this is still the best way?

GPU is the best way to go at the moment. CPUs are much slower and less efficient.

FPGAs seem like they're around the corner, but I'm not sure when they'll get here for consumers. I think maybe jasinlee and co. are doing an IPO.. something similar to ASICMINER. That is another option as well, or you can wait for consumer mining FPGAs to become available. There is a company or two already accepting pre-orders, but I can't vouch as to the validity of them... they could be scams for all I know. I would be careful about where you park your money for FPGAs, when Bitcoin ASICs/FPGAs came out there were a lot of scam artists that popped up.


Title: Re: [INFO] Getting Started with Litecoin Mining [INFO]
Post by: allanlumi on December 03, 2013, 03:03:42 PM
First Find yourself a Litecoin Pool.

Elitist Jerks = 3% Fee PPS http://www.ejpool.info
Ozcoin = 2% Fee DGM https://lc.ozcoin.net
Litecoinpool.org = 4% Fee PPS http://litecoinpool.org
Pool-X = 2% Fee PPLNS http://pool-x.eu


P2P Pool HowTo: https://bitcointalk.org/index.php?topic=62842.0

For more information about Litecoin Pools. Visit
https://github.com/coblee/litecoin/wiki/Comparison-of-mining-pools


Minerd using scrypt for litecoin [Windows (https://github.com/pooler/cpuminer/downloads)/ or Linux (https://github.com/pooler/cpuminer)]

Note : 64 Bit has been known to increase speeds

Replace pool.ejpool.info:9332 with any pool that you have chosen in the examples below


Windows:
extract https://github.com/pooler/cpuminer/downloads into a folder end edit "MINE 2 THREADS.bat"
Code:
@echo on
ECHO "Example Litecoin miner startup file (1 thread, localhost, set your own user and password)"
ECHO.

minerd.exe --algo scrypt --s 6 --threads 4 --url http://pool.ejpool.info:9332 --userpass username.1:password

put in your worker details you command for starting minerd.exe shuld look sumthing like (depending on your machine):
Code:
minerd.exe --url http://pool.ejpool.info:9332 --userpass user:password --threads 2
(replace user and password with details from "My Workers" and --threads with amount of cpu cores you wish to use)

Its working when you see the following.
[2011-10-16 20:27:39] thread 1: 84652 hashes, 3.34 khash/sec
[2011-10-16 20:27:44] thread 1: 6717 hashes, 3.43 khash/sec
[2011-10-16 20:27:44] PROOF OF WORK RESULT: true (yay!!!)

Linux (Ubuntu):
Code:
sudo apt-get install make automake build-essential libcurl4-openssl-dev git libdb4.8++-dev
git clone git://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
Code:
./minerd --url http://pool.ejpool.info:9332 --userpass user:password --threads 2
(replace user and password with details from "My Workers" and --threads with amount of cpu cores you wish to use)

Linux (CentOS):
Code:
sudo yum -y groupinstall "Development Tools"
sudo yum -y install git libcurl-devel python-devel screen rsync

git clone git://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
Code:
./minerd --url https://pool.ejpool.info:9332 --userpass user:password --threads 2
(replace user and password with details from "My Workers" and --threads N with amount of cpu cores you wish to use)

If you have issues with Ubuntu or CentOS please come into our IRC channel and we will be more than happy to help you.

MAC(OSX): Binaries can be downloaded here.
https://github.com/pooler/cpuminer/downloads


Thanks to Pooler for all the great work he has done with cpuminer!

IF you feel anything needs to be added or changed in this short little how to.. please let me know.

NOTE: If you get missing libcurl for 64 bit linux. Here is how to resolve it. Make sure to rerun ./autogen.sh after you install libcurl
Code:
cd /root
wget http://curl.haxx.se/download/curl-7.24.0.tar.gz
gzip -d curl-7.24.0.tar.gz
tar -xvf curl-7.24.0.tar
cd curl-7.24.0
./configure
make
make install
cp /root/curl-7.24.0/docs/libcurl/libcurl.m4 /usr/share/aclocal/libcurl.m4
ln -s /usr/local/lib/libcurl.so.4 /lib64/libcurl.so.4

TNX man with this i finaly got minerd working in a cloude :D