Install Opencart 1.4.9.3 or 1.4.9.4 on Ubuntu 10.10 (Maverick)

Here are the exact instructions:

sudo apt-get install apache2 php5 php5-mysql php5-gd php5-curl mysql-server

copy everything from the upload directory of opencart to /var/www

change permissions – sudo chmod -R 777 *

sudo mysql_install_db

sudo mysql_secure_installation

login to sql server – mysql –user=root -p

create database opencart;

create user opencartuser;

SET PASSWORD FOR opencartuser = PASSWORD(‘insertYourPasswordHere’);

GRANT ALL PRIVILEGES ON opencart.* TO opencartuser@localhost IDENTIFIED BY ‘thePasswordYouChoseAbove’;

edit /etc/apache2/httpd.conf and add ServerName localhost

Give the machine a restart

http://localhost/install

follow the instructions

remove the install directory (its inside /var/www in case ur wondering ?