Skip to content

Instantly share code, notes, and snippets.

@jgilmour
Created March 9, 2013 23:02
Show Gist options
  • 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