Professional Documents
Culture Documents
04
byLeonardHuang(lueotw@gmail.com) Latestversioncouldbefoundonhttp://goo.gl/vP3G9 Ifyouthinkthisarticleisusefultoyou,pleasemakeadonationto:
1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
Firstly,IdliketothankKanoi,whowroteanexcellenthowtoguideonHowtosetupacgminer usingxubuntu11.04liveonaUSB.However,IdontneedtomineonaUSB(itsslowcompared toaHDD).Also,hisguidedidntupdatewiththelatestversionofXubuntu(12.04),whichinmy opinionistheeasiestversionofXubuntuevertominebitcoinwith.Althoughitsrelativelyeasy, therearestillsomepitfallsIwanttoyoutoavoid,soIwrotethisguide. IhadbeenminingBitcoinsinceJuly,2011.IhadusedWindows7formininguntilMay,2012.The reasonIuseWindows7isasthefollowing: 1. 2. 3. 4. AMDdrivergotbettersupportonWindows. MuchmoreoverclocktoolsonWindows(MSIAfterBurnerrocks!). Lesstimewastingontroubleshooting. With(3),IcanfocusontweakingthebestCPU/MEMclockcombinationformaximizing profit.
TableofContent
Pre-stage - Installation Media Install Xubuntu 12.04 Install AMD Driver on Xubuntu Config AMD Driver Install SSH for remote login Install CGMiner Further reading Install Bitcoin 0.6.2 on Xubuntu (optional)
I. PrestageInstallationMedia
ThefirstthingyouneedisaUSB essentialtogetridofCDROMs).
toloadXubuntuin(Yap,aUSBisstill
Then,downloadUnetbootintoloadyourXubuntuCDimageontheUSB.
Nowyourereadytoroll!
II. InstallXubuntu12.04
Tryfollowthisarticle:ThePerfectDesktopXubuntu12.04untilyougetaworkingdesktop.
III. InstallAMDDriveronXubuntu
Caution: Choose your driver wisely, or youll lose 10% ~ 20% hash power!
[ForAMDRaedon7xxxSeries]
IfanyofyourcardsonboardisAMDRaedon7xxxSeriescards,youllneedAMDAPP SDK2.6+,whichisincludedinCatalyst11.12+andbeyond1 (IrecommendCatalyst12.3whichincludeSDK2.6). Reason:7xxxSeriesusesomekindofnewarchitecturecalledGCN,whichcan onlyberecognizedwithSDK2.6+.
[ForAMDRaedon6xxx,5xxxSeries]
IfyoudonthaveanyAMDRaedon7xxxSeriescards(like6xxx,5xxx),youshoulduse SDK2.5,whichisincludedinCatalyst11.7~11.11. (RecommendCatalyst11.11) Reason:Non7xxxSerieswithSDK2.6willloseabout10%performance.
Nowfollowthesteps2 .
Installtheprerequisitepackages: s u d oa p t g e ti n s t a l lb u i l d e s s e n t i a lc d b sd h m a k ed k m se x e c s t a c kd h m o d a l i a s e s f a k e r o o tl i b q t g u i 4 Ifyouareusingthex86_64architecture(64bit): s u d oa p t g e ti n s t a l li a 3 2 l i b s m u l t i a r c h : i 3 8 6l i b 3 2 g c c 1l i b c 6 i 3 8 6 s u d oa p t g e ti n s t a l li a 3 2 l i b s
1
Compileandinstallthedriver:
Done!
w g e th t t p : / / w w w 2 . a t i . c o m / d r i v e r s / l i n u x / a t i d r i v e r i n s t a l l e r 1 1 1 1 x 8 6 . x 8 6 _ 6 4 . r u n s u d os h. / a t i d r i v e r i n s t a l l e r 1 1 1 1 x 8 6 . x 8 6 _ 6 4 . r u nb u i l d p k gU b u n t u / p r e c i s e s u d od p k gif g l r x * . d e b
IV. ConfigAMDDriver
Checkifallyourcardscanbedetectedandthenwriteconfigurationto/ e t c / X 1 1 / x o r g . c o n f . a t i c o n f i gl s a s u d oa t i c o n f i ga d a p t e r = a l li n i t i a l
Ifeverythingwentfine,rebootthecomputerbys u d or e b o o t . Afterthat,checkifeverythingworks: s u d oa t i c o n f i ga d a p t e r = a l lo d g t
V.InstallSSHforremotelogin
Installo p e n s s h s e r v e r andb y o b u toperformremotelogin. s u d oa p t g e ti n s t a l lo p e n s s h s e r v e rb y o b u
Nowyoucanpulloutthecablesofyourmonitor,mouseandkeyboardandenjoyaheadless Xubuntu!
VI. InstallCGMiner
GotoCGMINERonbitcointalkpageanddownloadthelatestversionofcgminer. Oronthecommandline:
w g e th t t p : / / c k . k o l i v a s . o r g / a p p s / c g m i n e r / c g m i n e r 2 . 9 . 5 x 8 6 _ 6 4 b u i l t . t a r . b z 2
Thenunzipittoadirectory. t a rj x v fc g m i n e r 2 . 9 . 5 x 8 6 _ 6 4 b u i l t . t a r . b z 2
Note:Ifyougotlibcurl4error,installthelib: s u d oa p t g e ti n s t a l lc u r l
Gotothedirectoryandcheckifcgminerdetectsallyourcards. c dc g m i n e r 2 . 9 . 5 x 8 6 _ 6 4 b u i l t e x p o r tD I S P L A Y = : 0 e x p o r tG P U _ U S E _ S Y N C _ O B J E C T S = 1 . / c g m i n e rn
9g p u r e o r d e ra u t o f a ng p u p o w e r t u n e2 0g p u e n g i n e
9 2 0 , 9 2 0 , 9 2 0 , 1 1 2 5g p u m e m c l o c k7 9 5 , 7 9 5 , 7 9 5 , 9 7 5
8g2 g p u r e o r d e ra u t o f a ng p u p o w e r t u n e2 0g p u e n g i n e
9 2 0 , 9 2 0 , 9 2 0 , 1 1 2 5g p u m e m c l o c k7 9 5 , 7 9 5 , 7 9 5 , 9 7 5
Saveitasafileandchangethepermissiontoexecuteit. n a n oc g . s h c h m o d+ xc g . s h . / c g . s h
Exchange
IfyouwanttobuyorexchangeBitcoinwiththefollowingcurrencycompany,you canusemyaffiliatelinkofAurumXchange.ItistheofficialpartnerofMt.Goxto transferBitcointoLibertyReserve. LibertyReserve MTGox PerfectMoney CryptoXchange PecUnix Vouchx HDMoney Cosmicpay CGold SolidTrustPay
http://goo.gl/gJqZS
VIII. InstallLatestBitcoindonXubuntu(optional)
IfyouwanttorunbitcoindaemononyourXubuntusystem,openyourterminalandinstall packagesbytypingthefollowingcommands3 : s u d oa p t g e ti n s t a l lp y t h o n s o f t w a r e p r o p e r t i e s s u d oa d d a p t r e p o s i t o r yp p a : b i t c o i n / b i t c o i n s u d oa p t g e ti n s t a l lb i t c o i n d
Nowyouhavethelatestversionofbitcoindinstalled.Prettyeasy,right? Ifyouthinkthisarticleisusefultoyou,pleasemakeadonationto:
1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
FollowtheinstructionofanexcellentansweronAskUbuntu