Sunday, June 23, 2013

Installing Open Cart


Setting Up Open-Cart environment in Ubuntu:

1. Install Ubuntu
2. Install LAMP
$ sudo apt-get install tasksel
$ sudo tasksel install lamp-server
3. Check Apache is working fine
$ sudo service apache2 restart
4. Add these informations in the file
$ gksu "gedit /etc/apache2/conf.d/fqdn"
ServerName localhost

Check this
$ echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn
5. Install Php5
$ sudo a2enmod php5
6. Put your files in /var/www/your_folder_name
Change the config-dist.php in config.php at both the places.
7. Install following components
$ sudo apt-get install php5-gd
sudo apt-get install php5-curl
sudo apt-get install php5-mcrypt
8. Restart your apache
sudo /etc/init.d/apache2 restart
9. Go to localhost/your_directory_name/index.php
It will open a installation page, where you should get all the green bullets.

2 comments: