Author

Topic: Building a rock solid CEntOS mining rig (Read 1943 times)

hero member
Activity: 924
Merit: 501
April 08, 2013, 10:14:52 AM
#5
ubuntu work just as good...

it was your great speech about how centos is a enterprise OS, and how reliable it are.

Thanks for playing, no it does not.  ubuntu/mint/debian releases will not support dual video cards out of the box.

As I said, and if you'd chose to read rather than attack, you can see that dual gpu cards and multiple video cards do NOT work well in ubuntu systems.  In fact I'm not sure you can run a dual gpu card in any of those OS's at all.  But, thanks for playing.

Thread locked for trolls and replaced here:

https://bitcointalksearch.org/topic/--170461

legendary
Activity: 1050
Merit: 1000
You are WRONG!
April 08, 2013, 09:26:54 AM
#4
centos fanboi much?

I just want a system that works with multiple gpu cards.  CEntOS supports multi-headed displays "out of the box" and cares little which head I'm using to communicate.  And since it works, yes, I'm a BIG fan.  Each of my cards is making like $8 per day right now.
ubuntu work just as good...

it was your great speech about how centos is a enterprise OS, and how reliable it are.
hero member
Activity: 924
Merit: 501
April 08, 2013, 09:04:09 AM
#3
centos fanboi much?

I just want a system that works with multiple gpu cards.  CEntOS supports multi-headed displays "out of the box" and cares little which head I'm using to communicate.  And since it works, yes, I'm a BIG fan.  Each of my cards is making like $8 per day right now.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
April 08, 2013, 08:54:29 AM
#2
Why would you want to build a CEntOS based miner?

CEntOS is the "Community ENTerprise Operating System".  What happened about 15 years ago is that many many people using Linux were using RedHat based distributions like Fedora (free desktop version) and the "commercial" version called RedHat Linux.  Then, all of a sudden, RedHat decided they wanted to charge $1000 plus per machine for the commercial version and it made people mad.  So they went off and created a mirror of the RedHat Linux system and they call it CEntOS.  

The beauty of this OS over other choices is that it is designed to operate in a production environment.  You can even buy commercial software to run on these servers from suppliers like Oracle and Adobe.  Because of the planned cycles the software is stable, unlike most other flavors of linux who are trying to constantly do the "latest" thing people who run enterprise software on their systems are much more interested in reliability.  And so these distributions (Centos, Fedora, Redhat, Scientific Linux) are the best choice for multiple-gpu cards and multiple-gpu systems.

Here's the instruction sheet.  Let me know what can be improved.  Current stable working version combination is SDK 12.7 and Catalyst Driver 12.3.  
centos fanboi much?
hero member
Activity: 924
Merit: 501
April 08, 2013, 08:52:22 AM
#1
Why would you want to build a CEntOS based miner?

CEntOS is the "Community ENTerprise Operating System".  What happened about 15 years ago is that many many people using Linux were using RedHat based distributions like Fedora (free desktop version) and the "commercial" version called RedHat Linux.  Then, all of a sudden, RedHat decided they wanted to charge $1000 plus per machine for the commercial version and it made people mad.  So they went off and created a mirror of the RedHat Linux system and they call it CEntOS.  

The beauty of this OS over other choices is that it is designed to operate in a production environment.  You can even buy commercial software to run on these servers from suppliers like Oracle and Adobe.  Because of the planned cycles the software is stable, unlike most other flavors of linux who are trying to constantly do the "latest" thing people who run enterprise software on their systems are much more interested in reliability.  These distributions (Centos, Fedora, Redhat, Scientific Linux) are the best choice for multiple-gpu cards and multiple-gpu systems, especially when there are only windows drivers available for the video card you own.

Here's the instruction sheet.  Let me know what can be improved.  
Current stable working version combination is SDK 12.7 and Catalyst Driver 12.3.  


Code:
#############################################################
####
####  Installing mining Software on CEntOS or Fedora based distributions
####  
####  
####  
####  Currently working with SDK 12.7 and Driver 12.3
####  
####  by:  Viceroy who accepts tips at   144RtpxYKbigosiqTyXNwzwtH6Z7s96xUx
#############################################################

####  cut and paste one command at a time

####  become root user
su -

#############################################################
###   Install important base packages
#############################################################
yum -y install gcc rpm-build git wget make kernel-devel python python-libs numpy openssl openssl-devel ncurses ncurses-devel ncurses-libs autoconf automake m4 pkgconfig libcurl-devel libtool libudev libusb glx-utils libX11 libstdc++ compat-libstdc++*

####  create new user or place all items in personal home directory
useradd miner

####  become prefered user (no password needed)
su -l miner

####  create a directory to hold all the packages
cd ~
mkdir miningpacks
cd miningpacks

####  download all driver package as user "miner"
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-3-x86.x86_64.run

exit #go back to being root user


#############################################################
####  Installing ATI Development Kit (SDK) & Drivers:
#############################################################

####  First Seek and Destroy ALL Existing ATI Drivers:
cd /usr/share/ati
./amd-uninstall.sh --force
rm -Rf /etc/ati
rm -Rf /usr/lib/fglrx
rm -Rf /usr/share/ati
rm -Rf /opt/AMD*

reboot  #HIGHLY RECOMMENDED IF YOU REMOVED FILES


#############################################################
####  Install ATI Software Development Kit (SDK):
####
####  Install this BEFORE you install the drivers
####
#############################################################

####  become root user
su -

####  become prefered user (no password needed)
su -l miner

####  move to directory to where you are holding the packages
cd ~
cd miningpacks

####  download SDK
##wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz
##wget http://developer.amd.com/wordpress/media/2012/11/AMD-APP-SDK-v2.8-lnx64.tgz
##wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx32.tgz
wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.6-lnx32.tgz

exit #go back to being root user

cd /home/miner/miningpacks/
mkdir APP-SDK-2point7-temp
cd APP-SDK-2point7-temp
cp ../AMD-APP-SDK-v2.7-lnx64.tgz .
tar xzf AMD-APP-SDK-v2.7-lnx64.tgz
./Install-AMD-APP.sh
cd ..
rm -rf APP-SDK-2point7-temp
#reboot


#############################################################
####  Installing ATI Drivers:
####
####  Install this AFTER you install the SDK
####
#############################################################

##
## important note on installing AMD Drivers under linux:
##
## be certain you have the kernel-devel for YOUR kernel
yum list installed | grep kernel-*

##
## check your distribution
uname -r

##
## you can have multiple kernel-devel's
## if you are lucky this command works
yum install kernel-devel-$(uname -r)

####******#*#*#*#*#*##*#*


## if not you'll need to find another kernel
## with a matching kernel-devel package
yum --showduplicates list kernel-devel

## to download a specific package just add
## the version to the name, for example if
## I want kernel-devel 2.6.32-358.el6 I
## just add a hyphen
#yum install kernel-devel-2.6.32-358.el6

####  "GENERATE DISTIBUTION SPECIFIC PACKAGE"
###   Move to package directory
cd /home/miner/miningpacks/
chmod u+x *-driver-installer*
sh amd-driver-installer-12-3-x86.x86_64.run  #downloaded above
####  using menus generate RPM package for your OS

####  Install generated package
cd /home/miner/miningpacks/
yum -y install fglrx64_p_i_c-8.951*  
aticonfig --adapter=all --initial --force
reboot


#############################################################
####  Test ATI Driver Installation
#############################################################


## check installation by reading output from
more /usr/share/ati/fglrx-install.log

## further testing SHOULD be done at this time against this page:
##
## http://wiki.cchtml.com/index.php/Frequently_Asked_Questions#How_do_I_know_fglrx_is_installed_correctly.3F


## one possible error
##
##[Message] Kernel Module : Precompiled kernel module version mismatched.
##[Error] Kernel Module : Kernel module build environment not found - please consult readme.
##
##
##  This error indicated you do not have he correct kernel-devel libs to match your kernel




#############################################################
####  Install ATI Display Library Development Kit (ADL SDK):
#############################################################

###wget http://developer.amd.com/wordpress/media/2012/11/AMD-APP-SDK-v2.8-lnx64.tgz
### cannot find APP without going through website license
### pain in the ass requires a browser download
###

####  become root user
su -

####  become prefered user (no password needed)
su -l miner

####  move to directory to where you are holding the packages
cd ~
cd miningpacks

####  place ADL zip in current directory

mkdir ADL-SDK-5point0-temp
cd ADL-SDK-5point0-temp
cp ../ADL_SDK_5.0.zip .
unzip ADL_SDK_5.0.zip



#############################################################
####  Install CGMiner
#############################################################

####  become root user
su -

####  become prefered user (no password needed)
su -l miner

####  move to home directory
cd ~

####  download CGMiner from author
git clone https://github.com/ckolivas/cgminer


####  copy ADL libraries to correct location
cd /home/miner/cgminer/ADL_SDK
cp /home/miner/miningpacks/ADL-SDK-5point0-temp/include/*.h .
rm -rf /home/miner/miningpacks/ADL-SDK-5point0-temp/
cd ..

./autogen.sh

make

exit #go back to being root user

cd /home/miner/cgminer/
make install

reboot #if you have not after changes to libraries

#if you did everything as I have above you are finished
#and can run cgminer.  test with  ./cgminer -n

#############################################################
####  The End
#############################################################

Jump to: