Recently I've come across the osCommerce, an open-source e-commerce project, and I'd like to try it. Is it packaged in the repository (like Wordpress)? If not, how do I manually install and use it?
|
you need a LAMP solution, so you have to install Apache, MySQL (server version) and the required PHP version and it's modules for your software. The path where you have to "install" your files is called "document root" and is defined in the Apache configuration file, which is usually You can basically consider the PHP as a big plugin for Apache, so probably for all the settings regarding the organization of the files on the disk and the general setup you have to refer to Always make a backup of these files if you are not sure about what you are really doing. By default the address of your local webserver is |
|||||||||||
|
|
osCommerce requires PHP and MySQL, in other words, a LAMP stack (Linux (operating system), Apache HTTP Server, MySQL (database software) and PHP). osCommerce need only to be copied to the document root, Further, we need to create a database and user in MySQL for osCommerce to use. Install LAMP and osCommerce
Now you need to download and "install" osCommerce (get the latest download URL @ osCommerce):
In order to avoid permission issues, the above commands downloads to the current shell, unzips and copies osCommerce to osCommerce will now be accessible at Browsing to the osCommerce page will trigger the initial setup and ask for the details of MySQL database it will use and administrator user set up.
Create a MySQL database First, you should create a MySQL user for osCommerce to use. It's bad practise to use the root user/pass (setup during LAMP installation) for a web application. In a shell on the machine with the MySQL on it, do:
Enter the root password you previously specified. This gets you a prompt which has full access to your MySQL server. Now, pick a database name - it doesn't matter what it is really so long as it's unique on the MySQL server (to see existing ones,
For example, replacing Now you have to give a new user access to that database. Pick a username and password (the username can be
Done. Now you have the details to put into your webform; the Database Server is just Reference |
||||
|
|
