Difference between revisions of "Litecoin Mining for Funtoo"

From Funtoo Linux
Jump to: navigation, search
(Created page with "Litecoin mining is a fun and easy way that you can help support the Funtoo Linux project. Litecoin is a virtual currency that is generated using CPUs and GPUs, and can be conv...")
 
Line 1: Line 1:
Litecoin mining is a fun and easy way that you can help support the Funtoo Linux project. Litecoin is a virtual currency that is generated using CPUs and GPUs, and can be converted into real currency that can support the Funtoo project.
+
Litecoin mining is a fun and easy way that you can help support the Funtoo Linux project. Litecoin is a virtual currency that is generated using CPUs and GPUs, and can be converted into real currency.
  
 
=== Compile Miner ===
 
=== Compile Miner ===
Line 35: Line 35:
 
=== Run go.sh ===
 
=== Run go.sh ===
  
Run <tt>go.sh</tt> to start the miner. The cpuminer will only use idle CPU and will not slow down your system. Modern systems will generate somewhere from 15 to 60 KHash/sec total, which will result in about 30 cents to $1 USD donation to Funtoo Linux per day.
+
Run <tt>go.sh</tt> to start the miner. The cpuminer will only use idle CPU and will not slow down your system. Modern systems will generate somewhere from 15 to 60 KHash/sec total, which will result in about 20 cents to $1 USD donation to Funtoo Linux per day at current exchange rates.
  
 
Keep those miners running and thanks for supporting Funtoo Linux!
 
Keep those miners running and thanks for supporting Funtoo Linux!

Revision as of 06:58, 9 October 2012

Litecoin mining is a fun and easy way that you can help support the Funtoo Linux project. Litecoin is a virtual currency that is generated using CPUs and GPUs, and can be converted into real currency.

Compile Miner

Use your favorite CFLAGS to compile the cpuminer program. Note that -O2 seems to work much better than -O3:

# wget https://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3.tar.gz
# tar xf pooler-cpuminer-2.2.3.tar.gz
# cd cpuminer-2.2.3
# ./configure CFLAGS="-O2 -march=corei7
# make -j4
# cp minerd /usr/local/bin

Set up go.sh

Create the following go.sh script to start the miner:

#!/bin/bash
threads=$(cat /proc/cpuinfo | grep -c "^processor" )
while true;
do
  /usr/local/bin/minerd --algo scrypt -s 45 --retry-pause 5 --threads $threads --url http://lc.ozco.in:9332 --userpass funtoo.public:p
done

Make it executable:

# chmod +x go.sh

Run go.sh

Run go.sh to start the miner. The cpuminer will only use idle CPU and will not slow down your system. Modern systems will generate somewhere from 15 to 60 KHash/sec total, which will result in about 20 cents to $1 USD donation to Funtoo Linux per day at current exchange rates.

Keep those miners running and thanks for supporting Funtoo Linux!

Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff