One-Click PrestaShop

One-Click PrestaShop

This article contains information about the PrestaShop application that can be deployed on Plegma.Host

App Details

PrestaShop runs on the CentOS 6 x64 operating system. You can log into this system with an SSH client using the root login found on your Plegma.Host control panel.

Initially, you will need to access https://[SERVER_IP]/install/ in your web-browser. Substitute the [SERVER_IP] with the IP address of your VPS. The certificate warning can be safely ignored. Login credentials are sent to you in an email, and can also be found in your Plegma.Host control panel.

Once, you have accessed the installation web page, you will need to follow the wizard and enter your site specific details. One step will require the database name, database user, and database password which are provided in your Plegma.Host control panel.

When the wizard is complete, you will need to remove the install directory:

rm -rf /var/www/html/install/

Once you have completed the PrestaShop setup, you can access your PrestaShop site at http://[SERVER_IP]/ or https://[SERVER_IP]/.

The admin area can be accessed at http://[SERVER_IP]/admin_area/ or https://[SERVER_IP]/admin_area/. You will first be prompted for HTTP authentication, which is the same login used to access the installer, found in your Plegma.Host control panel. Then, you will be prompted for admin login which you created during the setup wizard. You may alternatively access /admin/, but this is a single-use URL that PrestaShop renames after accessing. We’ve included /admin_area/ as a convenient static URL.

You may also want to point the DNS “A record” of your website to your [SERVER_IP]. This will allow you to access PrestaShop by navigating to your website (www.example.com).

There is a MySQL database server running on the VPS. You can connect to the database by executing the following:

mysql -u root

The MySQL root password is saved on the VPS in /root/.my.cnf.

SSL Details

Your PrestaShop server can be accessed with both http:// and https:// URLs. By default, the https:// URL uses a self-signed certificate, which displays a security warning. This can be safely ignored.

To disable https:// support, do the following:

  1. Login to your server using ssh as root.
  2. Move the HTTPS vhost file out of the web server conf: mv /etc/nginx/conf.d/prestashop_https.conf /root/
  3. Restart the web server: service nginx restart && service php-fpm restart

Depending on your plans for your PrestaShop site, you may want to update the certificate to one provided by an actual certificate authority. This will remove the security warning error. To install a new certificate, do the following:

  1. Obtain a certificate from a certificate authority for your domain.
  2. Login to your server using ssh as root.
  3. Replace the server.crt and server.key files in /etc/nginx/ssl/ with the updated certificate. Details on converting certificate formats are outside of the scope of this article.
  4. Restart the web server: service nginx restart && service php-fpm restart

About Plegma.Host Applications

Plegma.Host applications use modern releases of software packages. Applications are configured to be deployed with specific versions of software. Over time, the Plegma.Host team will update the application offerings to include newer operating systems, package versions, etc. This document only provides up-to-date information about the latest version of this application. Plegma.Host applications are updated without notice. If you plan to build a project or infrastructure based on our application templates, we recommend taking a snapshot of the application used in your initial deployment.

Leave a Reply

seventeen − five =