Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fast LAMP with prestashop
sudo apt-get install php apache2 mysql-server mysql-client zip libapache2-mod-php php-json php-xml php-curl php-opcache php-intl php-intl php-mcrypt php-mysql php-zip php-gd php-mbstring sendmail php-mail;
sudo service apache2 restart;
cd /var/www/html/
wget https://download.prestashop.com/download/releases/prestashop_1.7.0.3.zip
unzip prestashop_1.7.0.3.zip ;
mv prestashop.zip html/ ;
cd html/ ;
unzip prestashop.zip;
sudo chmod 777 -R ./ ;
sudo a2enmod rewrite;
sudo service apache2 restart;
wget https://files.phpmyadmin.net/phpMyAdmin/4.6.5.2/phpMyAdmin-4.6.5.2-english.tar.gz
tar -zxvf phpMyAdmin-4.6.5.2-english.tar.gz
mv phpMyAdmin-4.6.5.2-english/ sql
rm phpMyAdmin-4.6.5.2-english.tar.gz
# Mysql
# CREATE USER 'prestatest'@'localhost' IDENTIFIED WITH mysql_native_password AS 'prestatest';GRANT USAGE ON *.* TO 'prestatest'@'localhost' REQUIRE NONE WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;CREATE DATABASE IF NOT EXISTS `prestatest`;GRANT ALL PRIVILEGES ON `prestatest`.* TO 'prestatest'@'localhost';
# rm -rf install/
# mv admin*/ admintest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.