yum install php
yum install mysql
Start httpd service
service start httpd
chkconfig httpd on
Start mysql service
service start mysqld
chkconfig mysqld on
Change password of mysql
/usr/bin/mysqladmin -u root password 'new-password'
yum install phpMyAdmin
edit /etc/httpd/conf.d/phpMyAdmin.conf if you are not working from local.
edit /etc/phpMyAdmin/config.inc.php and change username and password for mysql
Open url from browser http://localhost/phpMyAdmin
login with mysql username and password
Create a database and user for this database give full access. You will use these information at installation of oscommerce.
Download oscommerce package and extract it under /var/www/html/
Tip: If you extract it in another folder and copy only Catalog folder you will get error:
"You don't have permission to access /catalog/install on this server."
chmod 777 /var/www/html/catalog/includes/configure.php
chmod 777 /var/www/html/catalog/admin/includes/configure.php
Supply information and complete configuration.
You can access oscommerce http://localhost/catalog