How To: Install CS-Cart on LinuxΒΆ

This article describes how to install CS-Cart or Multi-Vendor on a Unix-like operating system (like Linux or Ubuntu).

Important

Install Apache, MySQL, and PHP first.

  1. Download the latest version of CS-Cart or Multi-Vendor.

  2. Create a new directory /var/www/cscart/. Use any other name instead of cscart, if you’d like.

  3. Unpack the archive into the newly-created directory.

    Installing CS-Cart or Multi-Vendor on Ubuntu.
  4. Set the file and directory permissions:

    777

    For the following directories and their contents:

    • var/
    • design/
    • images/
    666

    For the following file:

    • config.local.php

    Here are the commands to set these permissions via the command line:

    chmod 666 config.local.php
    chmod -R 777 design images var
    find design -type f -print0 | xargs -0 chmod 666
    find images -type f -print0 | xargs -0 chmod 666
    find var -type f -print0 | xargs -0 chmod 666
    
  5. You may also need these commands:

    chmod 644 design/.htaccess images/.htaccess var/.htaccess var/themes_repository/.htaccess
    chmod 644 design/index.php images/index.php var/index.php var/themes_repository/index.php
    
  6. Run the installer. To do it, open the localhost/cscart page in your browser.

  7. Click [install] and follow the instructions of the installer to finish the process.

    Starting CS-Cart or Multi-Vendor installation in as browser.