Skip to content

Instantly share code, notes, and snippets.

@cryptobender69
Last active February 13, 2018 16:22
Show Gist options
  • Save cryptobender69/8a8fad1262c469417c81a44092d0bd59 to your computer and use it in GitHub Desktop.
Save cryptobender69/8a8fad1262c469417c81a44092d0bd59 to your computer and use it in GitHub Desktop.
Intense Pool UI
### ON UBUNTU 14.04
### Install tools
sudo apt-get -y install git redis-server libboost1.55-all-dev nodejs-dev nodejs-legacy npm cmake libssl-dev wget vim
### Install Nginx
sudo apt-get install nginx
### Install NVM -- this makes use of different nodejs possible
install nvm (instruction on their github)
nvm install 0.10.25
nvm use 0.10.25
### clone the repo
git clone https://github.com/valiant1x/intense-pool.git pool
cd pool
npm update
### Download intense-pool
cd /root
git clone https://github.com/valiant1x/intense-pool.git pool
### Create DIRs
mkdir -p /var/www/vhosts/pool
cd /var/www/vhosts/pool
cp -R /root/pool/website-example/* .
### Create config file
vi /etc/nginx/sites-available/pool.conf
## paste this
server {
listen 8090 default_server;
root /var/www/vhosts/pool;
index index.html;
server_name localhost;
location / {
try_files $uri $uri/ =404;
}
}
### Create a symlink
cd /etc/nginx/sites-enabled
ln -s ../sites-available/pool.conf pool.conf
### Edit config
vi /var/www/vhosts/pool/config.js
### Restart Nginx
service nginx restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment