Skip to content

Instantly share code, notes, and snippets.

@jgilmour
Created March 9, 2013 23:02
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save jgilmour/5126171 to your computer and use it in GitHub Desktop.
Save jgilmour/5126171 to your computer and use it in GitHub Desktop.
#!/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
@yegannezhad
Copy link

nice

@odds-get-evened
Copy link

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