Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.

This section details how to install osCommerce using your SSH client. This is an advanced technique and requires that you fully understand what you are doing. If you are comfortable working from the Linux command line, this is a breeze, and you can have a fully functional osCommerce installation in about 15 minutes. This is the fastest method to install osCommerce if you know what you are doing. If you do not know how to use SSH, I recommend using the standard FTP installation method, unless you are willing to take extra time to learn this process.

This guide assumes the following path /home/public_html/catalog as your base install directory. If your path is different, adjust the below instructions accordingly. I also assume that you have uploaded the zip file to your server already and it is in your public_html directory.


  1. Log into your server using your ssh client
  2. cd public_html and unzip the osCMax zip file by typing the following command: unzip oscmax_v1.7.zip
  3. Set the correct Pre-Install file permissions (See the table below). You may be able to skip this step, as the permissions should already be preset in the zip file.
For osCMax 2.0.15, see the warning on the main installation page
  1. Create the admin/backups dir and set its permissions to 777 using the following commands mkdir catalog/admin/backups and chmod 777 catalog/admin/backups
  2. pico .htaccess . Add this: DirectoryIndex catalog/index.php index.php.
  3. Now, using phpMyAdmin or other mysql tool, create your osCommerce database, and user.
  4. Run the osCommerce installation script through your browser. The url is http://www.yourserver.com/catalog/install/
  5. Confirm that all information in the setup fields is correct, and add the correct mysql database, username and password. Import the sample data and complete the installation.
  6. Test to make sure your catalog and admin sections are working using the buttons on the final page of the install process.
  7. Using your SSH client, remove the install directory rm -Rf catalog/install
  8. Set file permissions to Post-Install levels (See table below)
  9. Password protect your admin directory using .htaccess and .htpasswd if you so desire. This step is optional as the Admin is already password protected by default.
  10. Login to the admin at http://yoursite.com/catalog/admin/index.php and change the default login credentials. Instructions for this are HERE

You are finished with the installation.

Pre - Install File Permissions:

          Directory                        Permission Level
          /admin/includes                  chmod 755
          /catalog/includes                chmod 755
          /admin/includes/configure.php    chmod 777
          /catalog/includes/configure.php  chmod 777
          /catalog/images                  chmod 777

Post - Install File Permissions:

          Directory                        Permission Level
          /admin/includes                  chmod 755
          /catalog/includes                chmod 755
          /admin/includes/configure.php    chmod 644
          /catalog/includes/configure.php  chmod 644
          /catalog/images                  chmod 777
  • Bookmark at
  • Bookmark "installing_via_ssh" at Reddit
  • Bookmark "installing_via_ssh" at Google
  • Bookmark "installing_via_ssh" at Facebook
  • Bookmark "installing_via_ssh" at Twitter
  • Bookmark "installing_via_ssh" at Slashdot
installing_via_ssh.txt ยท Last modified: 2010/02/13 06:17 (external edit)
You are here: startinstalling_via_ssh
Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0