Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jc on June 14, 2002, 03:14:21 AM

Title: Oscommerce Howto
Post by: jc on June 14, 2002, 03:14:21 AM
A. DOWNLOAD & UNTAR
    1. download oscommerce to ibay from;
        http://www.oscommerce.com/downloads.php/snapshot
    2. #/home/e-smith/files/ibays/ibayname/files/download
    3. #cd  /home/e-smith/files/ibayname/files/download
    4. #tar –xzf tep_snapshot-xxxxx.tar.gz (xxxx-latest)
    5. #cp catalog/catalog  /home/e-smith/files/primary/html
    6. #cp admin/catalog /home/e-smith/files/primary/html
    7. #mkdir admin/backups

B. SET PERMISSION BEFORE INSTALL
       #chmod 755 admin/includes
       #chmod 755 catalog/includes
       #chmod 777 admin/backups
       #chmod 777 admin/includes/configure.php
       #chmod 777 catalog/includes/configure.php
       #chmod 777 catalog/images

C. CREATE DATABASE
     Using browser login to phpmyadmin
     https://www.yourdomainname.com/phpmyadmin
     1. databasename: (example estore)
     2. username: (example estoreadmin)
     3. userpasswd: (xxxxxx)
     4. set user permission: select all
     5. servername(hostname) : localhost or databaseservername or server ip
     6. reload mysql
 
D. INSTALL OSCOMMERCE

    On your  browse type;
    http://www.yourdomainname.com/catalog/install/install.php  and will see;

    New Install

    1 Customize new installation with the following options
    - check  Import Catalog Database
    - check  Automatic Configuration
   2. Please enter your webserver info;        
   a. Webserver Root Directory
       /home/e-smith/files/primary/html          
   b. Webserver Catalog Directory
       /      
   c. Webserver Administration Tool Directory
        /admin
   d. WWW Catalog Directory
       /
   e. WWW Administration Tool Directory
      /admin/        
   3.  Database Server information (set using phpmyadmin)
     a.Database Server
        localhost or ip address or servername
     b.Username
        your database usename
     c.Password
       database userpasswd    
     d.Database
        your database name

D. CONFIGURATION
    1.Delete Install directory from #/home/e-smith/files/primary/html/catalog/
    2.Set Permission after install
       #chmod 644 admin/includes/configure.php
       #chmod 644 admin/configuration
       #chmod 644 catalog/includes/configure.php

   3.Change Site Starting page    
    Create a index.htm file in /catalog/ with the following:
     
     
     
     Redirecting...
     
     
     
     

  4.Secure access to Admin Site with Password  
    Use the Howto at;
http://myezserver.com/downloads/mitel/howto/website-access-security-howto.html
           or
create another ibay and move admin directory to  document root /html  and set  the paths at /admin/includes/configure.php

  5.Finally type http://www.yourdomainname.com/  to access the catalog
     and https//:www.yourdomainname.com/admin  to access admin site

     Further Info: http://www.oscommerce.com
  This  being a newbie Howto feedback and contribution are welcome.

      Enjoy
Title: Re: Oscommerce Howto
Post by: Lazo on June 14, 2002, 08:52:10 PM
I untar tep-pr2.1.tar.gz, I did all the steps to use oscommerce, and I finally got it working!!, but I never use the install.php, It does not exist!! are you taking about version 2.2???

thanks!!
Title: Re: Oscommerce Howto
Post by: JC on June 15, 2002, 08:46:50 PM
The Howto is based on oscommerce 2.2 snapshots

thx
JC