Skip to content

Instantly share code, notes, and snippets.

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/
unzip ;
mv html/ ;
cd html/ ;
sudo chmod 777 -R ./ ;
sudo a2enmod rewrite;
sudo service apache2 restart;
tar -zxvf phpMyAdmin-
mv phpMyAdmin- sql
rm phpMyAdmin-
# 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.