Skip to content

Instantly share code, notes, and snippets.

@tarcisio
Last active August 29, 2015 14:11
Show Gist options
  • Save tarcisio/4796101f58dd30d7c401 to your computer and use it in GitHub Desktop.
Save tarcisio/4796101f58dd30d7c401 to your computer and use it in GitHub Desktop.
configuracoes
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install build-essential \
libpcre3-dev libzip-dev libssl-dev \
libxml2-dev libcurl4-openssl-dev \
libjpeg-dev libpng12-dev libmcrypt-dev \
locales -y
sudo locale-gen pt_BR.utf8
wget http://nginx.org/download/nginx-1.7.8.tar.gz
tar xzf nginx-1.7.8.tar.gz
cd nginx-1.7.8
sudo make install
cd ..
wget http://us1.php.net/get/php-5.6.3.tar.gz/from/this/mirror
tar xzf mirror
cd php-5.6.3
./configure \
--enable-mbstring \
--with-curl \
--with-mcrypt \
--with-zlib \
--with-gd \
--enable-pcntl \
--with-mhash \
--enable-zip \
--with-openssl \
--enable-opcache \
--enable-fpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment