OK, I got it to work on SME7B5, here's what i did
download oscommerce from
http://www.oscommerce.com/redirect.php/go,19or wget
http://www.oscommerce.com/redirect.php/go,19unpack oscommerce
tar xvzf oscommerce-2.2ms2.tar.gz
I chose to create a download dir and extracted tar.gz in a temp directory, you can put oscommerce within any ibay, for this example i have chosen to create an ibay named store
cd /downloads/temp/oscommerce-2.2ms2
copy catalog and extras within oscommerce-2.2ms2 to an ibay
cd /downloads/temp/oscommerce-2.2ms2
cp -R catalog /home/e-smith/files/ibays/store/html/
cp -R extras /home/e-smith/files/ibays/store/html/
edit php.ini
cd /etc/php.ini
register_globals = Off is on line 43 in SME7b5
change to
register_globals = On
Modify your httpd server for osCommerce
Create the catalogue structure for templates-custom
[root@server root]# cd /etc/e-smith/templates-custom/
[root@server templates-custom]# mkdir etc
[root@server templates-custom]# cd etc
[root@server etc]# mkdir httpd
[root@server etc]# cd httpd/
[root@server httpd]# mkdir conf
[root@server httpd]# cd conf
[root@server conf]# mkdir httpd.conf
[root@server conf]# cd httpd.conf/
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
copy and paste within lines
pico 86osCommerce
======================================================
# ------------------------------
# osCommerce apache config
# 01-06-2004 Craig D. Jensen
# ------------------------------
<Directory /home/e-smith/files/ibays/store/html/catalog>
AddType application/x-httpd-php .php .php3 .phtml
php_flag magic_quotes_gpc on
php_flag track_vars on
Options Indexes +Includes FollowSymLinks
order deny,allow
deny from all
allow from all
</Directory>
# -----------------------------
# EOF
# -----------------------------
======================================================
Save by pressing Ctrl x, press y to save changes and press enter
Change Permissions & Ownership
chmod 644 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86osCommerce
chown -R
www.www /home/e-smith/files/ibays/store/html/catalog
chmod 706 /home/e-smith/files/ibays/store/html/catalog/includes/configure.php
chmod 706 /home/e-smith/files/ibays/store/html/catalog/admin/includes/configure.php
chmod 777 /home/e-smith/files/ibays/store/html/catalog/admin/images
chmod 777 /home/e-smith/files/ibays/store/html/catalog/images
Create Database
cd /home/e-smith/files/ibays/store/html/catalog/install
mysql -e "create database osCommerce"
mysql -e "grant all privileges on osCommerce.* to osCommerce@localhost identified by 'createpassword'"
mysql -e "flush privileges"
mysql -uosCommerce -pyourpassword osCommerce < oscommerce.sql
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-admin restart
/etc/rc.d/init.d/httpd-e-smith restart
Setup osCommerce
http://www.yoursite.com.au/store/catalog/install