Quick Installation Steps
Once having downloaded the archive from the downloads page, follow these steps
to get the online shop running:
1. Extract the files from within the package
unzip packxxx.zip
-- or --
tar -xzf packxxx.tar.gz
-- or --
use your favourite graphical application to extract the files, such as
WinZip (http://www.winzip.com)
2. This creates a directory called 'packagexxx'. Enter this directory
and copy the 'catalog' directory to the webroot path of your webserver:
cd packagexxx
cp -R catalog /usr/local/apache/htdocs/
For this example, '/usr/local/apache/htdocs/' is used as the webroot path
of the Apache webserver.
Do the same for the 'admin' directory but rename the directory to a
unique and secret name. This directory does not have to reside inside the
catalog directory, though may need to be manually configured.
3. Using your favourite browser, go to the following address:
http://[your site]/catalog/install
and follow the instructions on the screen.
IF YOU PREFER TO DO IT MANUALLY READ HERE:
1. Create the 'osCommerce' database and import the sample data:
mysqladmin create osCommerce
mysql osCommerce < ./install/oscommerce.sql
To check if the tables have been successfully imported, you can list them
by using mysqlshow:
mysqlshow osCommerce
4. View the file catalog/includes/configure.php and make necessary changes.
Now you can use your browser to view the pages which should be located at
'http://localhost/catalog/'. |