Created
March 9, 2013 23:02
-
-
Save jgilmour/5126171 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
yum -y groupinstall "Development Tools" | |
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm | |
rpm -Uvh epel-release-5*.rpm | |
rpm -Uvh remi-release-5*.rpm | |
yum -y install python-devel screen | |
yum --enablerepo=remi install libcurl-devel -y | |
mkdir /opt/miner | |
cd /opt/miner | |
wget http://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3.tar.gz --no-check-certificate | |
tar -zxvf pooler-cpuminer-2.2.3.tar.gz | |
cd cpuminer-2.2.3/ | |
./configure CFLAGS="-O3" | |
make | |
make -j | |
mv minerd ../ | |
cd /opt/miner | |
rm -rf cpuminer-2.2.3 pooler-cpuminer-2.2.3.tar.gz |
Repos for remi are all gone. where's they goes? 404s like a boss. RIP
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice