This file contains hidden or 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
Windshaft-cartodb/config/environments/development.js | |
var config = { | |
environment: 'development' | |
,port: 8181 | |
,host: '' | |
// Regular expression pattern to extract username | |
// from hostname. Must have a single grabbing block. | |
,user_from_host: '^(.*)\\.localhost' | |
// Maximum number of connections for one process | |
// 128 is a good value with a limit of 1024 open file descriptors |
This file contains hidden or 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
# install dependencies | |
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm | |
# clone cpuminer | |
git clone https://github.com/pooler/cpuminer.git | |
# compile | |
cd cpuminer | |
./autogen.sh | |
./configure CFLAGS="-O3" |
This file contains hidden or 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 |