• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install osCommerce - An online store-management software

{{postValue.id}}

To install osCommerce in CentOS 7

osCommerce is an open source e-Commerce and online store-management application. It is written in PHP and MySQL. It is used for opening and maintaining the e-stores. Installation of osCommerce in CentOS 7 is explained in this manual.

Prerequisites

It requires LAMP setup for the proper functioning of the software. To know how to install LAMP visit the following link,
https://www.linuxhelp.com/install-lamp-fedora-22/
Once Mariadb is installed, create a database and user by using the following command.

[root@linuxhelp1 ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with   or g.
Your MariaDB connection id is 10
Server version: 5.5.47-MariaDB MariaDB Server

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

MariaDB [(none)]>  create database oscommercedb 
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]>  create user user1@localhost identified by ' linuxc'  
Query OK, 0 rows affected (0.10 sec)

MariaDB [(none)]>  grant all privileges on oscommercedb.* to user1@localhost 
Query OK, 0 rows affected (0.09 sec)

MariaDB [(none)]>  flush privileges 
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>  exit
Bye

To install osCommerce

Download the osCommerce package from its official site to /tmp location.

[root@linuxhelp1 ~]# cd /tmp
[root@linuxhelp1 tmp]# wget http://www.oscommerce.com/files/oscommerce-2.3.4.zip
--2016-07-30 00:59:45--  http://www.oscommerce.com/files/oscommerce-2.3.4.zip
Resolving www.oscommerce.com (www.oscommerce.com)... 46.4.20.81
Connecting to www.oscommerce.com (www.oscommerce.com)|46.4.20.81|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9664707 (9.2M) [application/zip]
Saving to: ‘ oscommerce-2.3.4.zip’ 

100%[=============================================================================================> ] 96,64,707    306KB/s   in 56s    

2016-07-30 01:00:41 (170 KB/s) - ‘ oscommerce-2.3.4.zip’  saved [9664707/9664707]

Unfold the downloaded package by running the following command.

[root@linuxhelp1 tmp]# unzip oscommerce-2.3.4.zip 
Archive:  oscommerce-2.3.4.zip
   creating: oscommerce-2.3.4/
   creating: oscommerce-2.3.4/catalog/
  inflating: oscommerce-2.3.4/catalog/.htaccess  
  inflating: oscommerce-2.3.4/catalog/account.php  
  inflating: oscommerce-2.3.4/catalog/account_edit.php  
.
.
.
inflating: oscommerce-2.3.4/docs/addons/braintree.pdf  
  inflating: oscommerce-2.3.4/docs/addons/paypal.pdf  
  inflating: oscommerce-2.3.4/docs/addons/sagepay.pdf  
  inflating: oscommerce-2.3.4/docs/addons/stripe.pdf  
  inflating: oscommerce-2.3.4/docs/addons/worldpay.pdf  
inflating: oscommerce-2.3.4/docs/database_schema.pdf  
  inflating: oscommerce-2.3.4/docs/documentation.pdf  
  inflating: oscommerce-2.3.4/docs/LICENSE  
  inflating: oscommerce-2.3.4/docs/release_notes.pdf  
  inflating: oscommerce-2.3.4/docs/STANDARD  
  inflating: oscommerce-2.3.4/README.md

Move the contents to the root directory.

[root@linuxhelp1 tmp]# cd oscommerce-2.3.4/
[root@linuxhelp1 oscommerce-2.3.4]# mv * /var/www/html/

Change the ownership for the directory.

[root@linuxhelp1 oscommerce-2.3.4]# chmod 777 /var/www/html/catalog/includes/configure.php 
[root@linuxhelp1 oscommerce-2.3.4]# chmod 777 /var/www/html/catalog/admin/configuration.php

Open a browser and navigate to http://< IP_address> /catalog/install/
start_installation
Enter your database details and click continue.
database_configuration
Then give the details of your online store like, web address and its location on the server.
web_server_details
Fill your online store settings and click continue.

online_store_settings

Click online store to start your online store.
finished

site_page
To view the Administration wizard, click Administration Tool.


open_admin_panel
admin_login
Login using the admin credentials.
login
admin_interface

Tags:
gabriel
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Is iscommerce free or enterprise one?

A

Oscommerce is opensource and free application.

Q

Where i can find the latest download link for OScommerce ?

A

Use the following link for latest OScommerce "http://www.oscommerce.com/files/"

Q

Does ocommerce require LAMP setup ?

A

Yes oscommerce requires the LAMP setup

Q

What Permission should be assigned for configure.php on Oscommerce?

A

you have to give full permission for configure.php on Oscommerce i.e )

chmod 777 /var/www/html/catalog/includes/configure.php

Q

What is the Default admin login credential of Oscommerce?

A

the Default admin login credential of Oscommerce is "admin" "admin"

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.