PrestaShop Image Guide Page 1 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
:
PrestaShop Image Guide Page 2 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
mysql -uroot –p
:
MySQL [(none)]> create database mydbname;
MySQL [(none)]> show databases;
MySQL [(none)]> grant all privileges on mydbname.* to
username@'localhost' identified by 'userpassword';
MySQL [(none)]> flush privileges;
MySQL [(none)]> exit;
PrestaShop Image Guide Page 3 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
[root@iZbp1i4rjdsy216yq7lgucZ ~]# cd /root/oneinstack
[root@iZbp1i4rjdsy216yq7lgucZ oneinstack]# ./vhost.sh
PrestaShop Image Guide Page 4 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 5 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 6 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 7 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 8 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 9 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 10 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 11 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 12 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 13 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
/htdocs /www
PrestaShop Image Guide Page 14 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
/install/upgrade/upgrade.php
/install
/install/upgrade/upgrade.php
/install
PrestaShop Image Guide Page 15 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 16 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 17 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 18 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
chown -R www.www /data/wwwroot/default/prestashop
find /data/wwwroot/default/prestashop -type d -exec chmod 755 {} \;
find /data/wwwroot/default/prestashop -type f -exec chmod 644 {} \;
; Maximum size of POST data that PHP will accept.
post_max_size = 16M
; Maximum allowed size for uploaded files.
upload_max_filesize = 16M
# service httpd restart
, ,
PrestaShop Image Guide Page 19 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
# service httpd restart
PrestaShop Image Guide Page 20 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 90
; Maximum amount of time each script may spend parsing request data
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
<IfModule mod_php5.c>
php_value max_execution_time 90
</IfModule>
PrestaShop Image Guide Page 21 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 22 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 23 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
/config/settings.inc.php
define('_DB_SERVER_', 'sql.domainname.com
(http://sql.domainname.com/)');
define('_DB_NAME_', 'prestashop');
define('_DB_USER_', 'PS-user');
define('_DB_PASSWD_', 'djsf15');
define('_DB_PREFIX_', 'ps_');
index.php
/tools/smarty/cache
/tools/smarty/compile
/tools/smarty_v2/cache
/tools/smarty_v2/compile
PrestaShop Image Guide Page 24 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18
PrestaShop Image Guide Page 25 of 25
http://en.websoft9.com/xdocs/prestashop-image-guide/ 2017-07-18