Skip to content

Instantly share code, notes, and snippets.

@wilxsv
Created September 25, 2017 00:11
Show Gist options
  • Save wilxsv/17ffb1c09b8c4e8d1ed5fe9dd8a94e82 to your computer and use it in GitHub Desktop.
Save wilxsv/17ffb1c09b8c4e8d1ed5fe9dd8a94e82 to your computer and use it in GitHub Desktop.
# !/bin/sh
# todos los comandos son ejecutados desde root, no se hace uso de sudo.
apt-get update
apt-get upgrade
apt-get install nginx mysql-server php-fpm php-mysql
systemctl enable php7.0-fpm
apt-get install libfcgi0ldbl unzip php7.0-xml
# Configurar el
# nano /etc/nginx/sites-enabled/default
systemctl enable nginx
systemctl enable mysql
wget https://download.prestashop.com/download/releases/prestashop_1.7.2.2.zip
# Requerimientos de prestashop para mejorar en rendimiento de la herramienta
apt-get install -y php-memcached php-mcrypt php-gd php-zip php-curl php-intl
# Comprobar el soporte para openssl
php -i | grep ssl
# Copiamos los archivos necesarios y descomprimimos
cp prestashop_1.7.2.2.zip /var/www/html/
cd /var/www/html/
unzip prestashop_1.7.2.2.zip
# Descomprimimos el archivo que viene adentro
unzip prestashop.zip
!!! Listo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment