Install osCommerce

wget http://www.oscommerce.com/ext/oscommerce-2.2rc2a.zip

unzip oscommerce-2.2rc2a.zip

cd oscommerce-2.2rc2a

chmod 777 catalog/includes/configure.php
chmod 777 catalog/admin/includes/configure.php

apt-get install php5-curl

# create db
mysql -u root -p
create database oscommerce;
CREATE USER oscommerce IDENTIFIED BY 'PASS';
grant all on oscommerce.* to 'oscommerce'@'%' identified by "PASS";
commit;
quit;

http://YOUR_SERVER/oscommerce-2.2rc2a/catalog/install/install.php

rm -r catalog/install/

chmod a-wx catalog/includes/configure.php

http://YOUR_SERVER/oscommerce-2.2rc2a/catalog/admin