Skip to content

Instantly share code, notes, and snippets.

@abelorian
Last active September 4, 2016 01:48
Show Gist options
  • Save abelorian/7776ef06a9e20860f73f052944b1d79a to your computer and use it in GitHub Desktop.
Save abelorian/7776ef06a9e20860f73f052944b1d79a to your computer and use it in GitHub Desktop.
Salestream

Instalar

apt-get install -y  build-essential wget zlib1g-dev libssl-dev libffi-dev \
                    libyaml-dev libreadline6 libreadline6-dev libncurses5 \
                    libncurses5-dev libcurl4-openssl-dev mysql-client \
                    libmysqlclient-dev libmagickcore-dev imagemagick \
                    libxml2-dev libxslt1-dev curl git zsh

Install Ruby 2.1.9

cd /usr/src
curl -O http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.9.tar.gz
tar xzf ruby-2.1.9.tar.gz
cd ruby-2.1.9
./configure && make && make install
echo "gem: --no-ri --no-rdoc" >> ~/.gemrc
gem install bundler

Install NodeJS 4.5.0

cd /usr/src
curl -O http://nodejs.org/dist/v4.5.0/node-v4.5.0.tar.gz
tar xzf node-v4.5.0.tar.gz
cd node-v4.5.0
./configure && make && make install

JAVA runtime

apt-get install -y openjdk-7-jre

New Elastic Search

wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.4.0/elasticsearch-2.4.0.deb
sudo dpkg -i elasticsearch-2.4.0.deb

Swap Ubuntu

Install wkhtmltopdf

apt-get install wkhtmltopdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment