Of course, for this section of the chapter it is assumed that you have a working version of Apache, PHP, and MySQL already installed on you Linux box. If not, please visit the requisite homepages at http://www.apache.org, http://www.php.net, or http://www.mysql.com, and download a distribution from there. Once you have everything ready for osCommerce, then go to the osCommerce download page and grab a gzipped tarball from the download page at http://www.oscommerce.com/solutions/downloads.
When you have downloaded the correct distribution, you can unzip it with the following command:
> tar -xzf oscommerce-2.2ms2.tar.gz
This will create an oscommerce-2.2ms2
directory, from which you must copy the catalog
directory across to your Apache web server's document root—usually at something like /usr/local/apache/htdocs/
. The following recursive command will do this for you:
> cp -R catalog /usr/local/apache/htdocs/
Next, navigate to the following...