Admin path: /admin Username: pkdemo Password: pkdemo1
- PHP 5.6 or other compatible with Magento 1.9
- PHP mcrypt module
- Nginx (you can use something else too, but these instructions are for nginx)
- MySQL
-
Clone the repo somewhere, which will become root path
-
Copy dev/nginx/zk.conf to the nginx server configuration
-
In the copied file, replace at least server_name and root directives
-
Configure MySQL: create a database and create a user with all rights to it:
mysql> create database pkdemo; Query OK, 1 row affected (0.01 sec) mysql> create user 'pkdemo'@'localhost' identified by 'pkdemo'; Query OK, 0 rows affected (0.01 sec) mysql> grant all privileges on pkdemo.* to 'pkdemo'@'localhost'; Query OK, 0 rows affected (0.00 sec)
-
Restore the database
mysql -upkdemo -ppkdemo -ADpkdemo < dev/db/db.sql
An empty shop should appear now when correct host is hit in a browser.
-
To install php-fpm this is good, and do install all suggested modules, not only mcrypt:
https://askubuntu.com/questions/756181/installing-php-5-6-on-xenial-16-04
sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php5.6 sudo apt-get install php5.6-fpm sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml sudo apt-get install php5.6-curl sudo php -v
-
To configure nginx, you likely need to switch to unix socket, as explained here:
https://serversforhackers.com/video/php-fpm-configuration-the-listen-directive