{"id":5658,"date":"2015-10-23T11:39:04","date_gmt":"2015-10-23T03:39:04","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=5658"},"modified":"2023-04-28T09:47:09","modified_gmt":"2023-04-28T09:47:09","slug":"install-oscommerce-on-centos-7","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/install-oscommerce-on-centos-7\/","title":{"rendered":"How to Install osCommerce on CentOS 7.1"},"content":{"rendered":"<p>Open Source Commerce (<a href=\"http:\/\/www.oscommerce.com\/\" target=\"_blank\" rel=\"noopener\">osCommerce<\/a>) is a solution for online store software and alternative to Magento. It is indeed a complete software, easily installed and configured through a web-based installation procedure. It can be used on any web server with PHP and MySQL as the basic software. In this article, I will show you how to install osCommerce on CentOS 7.1 virtual private server (VPS). Before we proceed with step osCommerce installation, this tutorial assumes CentOS 7.1 server has been installed and LAMP or LEMP software also has been setup. The steps maybe similar to RHEL 7.1 and Oracle Linux 7.<\/p>\n<h3>Install osCommerce software on CentOS 7.1, RHEL 7.1 and Oracle Linux 7 via command line<\/h3>\n<p>1. Download osCommerce Online Merchant v2.3.4 Full Package and store it on web server root directory. This post use httpd web server and \/var\/www\/html\/ as the default root directory :<\/p>\n<pre># cd \/var\/www\/html\/\n# wget http:\/\/www.oscommerce.com\/files\/oscommerce-2.3.4.zip\n# unzip oscommerce-2.3.4.zip\n<\/pre>\n<p>2. The webserver is not able to save the installation parameters to its configuration files. The following files need to have their file permissions set to world-writeable (chmod 777):<\/p>\n<pre># cp -Rp oscommerce-2.3.4 oscommerce\n# chmod 777 \/var\/www\/html\/oscommerce\/catalog\/includes\/configure.php\n# chmod 777 \/var\/www\/html\/oscommerce\/catalog\/admin\/includes\/configure.php\n<\/pre>\n<p>3. Setup database :<\/p>\n<pre># mysql -u root -p\nEnter password:\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\nYour MariaDB connection id is 11\nServer version: 5.5.40-MariaDB MariaDB Server\n\nCopyright (c) 2000, 2014, Oracle, Monty Program Ab and others.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nMariaDB [(none)]&gt; <strong>CREATE DATABASE oscommercedb;<\/strong>\nQuery OK, 1 row affected (0.00 sec)\n\nMariaDB [(none)]&gt; <strong>CREATE USER oscommerceuser@localhost IDENTIFIED BY 'oscommercepassword';<\/strong>\nQuery OK, 0 rows affected (0.00 sec)\n\nMariaDB [(none)]&gt; <strong>GRANT ALL PRIVILEGES on oscommercedb.* to oscommerceuser@localhost;<\/strong>\nQuery OK, 0 rows affected (0.01 sec)\n\nMariaDB [(none)]&gt; <strong>FLUSH PRIVILEGES;<\/strong>\nQuery OK, 0 rows affected (0.00 sec)\n\nMariaDB [(none)]&gt; <strong>exit<\/strong>\nBye\n<\/pre>\n<h3>osCommerce Web Installation via Browser<\/h3>\n<p>4. Start osCommerce Web installation by browse the osccomerce URL as below :<\/p>\n<pre>http:\/\/192.168.0.70\/oscommerce\/catalog\/install\/index.php\n<\/pre>\n<p>Note : Replace IP address your own server IP address :<\/p>\n<p>a. Press Start:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-5664 size-full lazyload\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-1.png\" alt=\"install osCommerce\" width=\"600\" height=\"391\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-1.png 600w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-1-300x196.png 300w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/391;\" \/><\/p>\n<p>b. Enter database information :<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-5665 size-full lazyload\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-2.png\" alt=\"install osCommerce\" width=\"600\" height=\"380\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-2.png 600w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-2-300x190.png 300w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/380;\" \/><\/p>\n<p>c. You will notice that there is a message &#8220;The database structure is now being imported. Please be patient during this procedure.&#8221;. Just wait untill it proceed to next page below. Click continue to proceed.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-5669 size-full lazyload\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-3.png\" alt=\"install osCommerce\" width=\"600\" height=\"334\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-3.png 600w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-3-300x167.png 300w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/334;\" \/><\/p>\n<p>d. Enter online store information :<br \/>\n<img decoding=\"async\" class=\"alignnone wp-image-5670 size-full lazyload\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-4.png\" alt=\"install osCommerce\" width=\"600\" height=\"247\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-4.png 600w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-4-300x124.png 300w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/247;\" \/><\/p>\n<p>e. If you see this page, you already have a working osCommerce installed in CentOS 7.0.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-5671 size-full lazyload\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-5.png\" alt=\"install osCommerce\" width=\"600\" height=\"381\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-5.png 600w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2014\/12\/install-osccommerce-5-300x191.png 300w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/381;\" \/><\/p>\n<p>I hope this article gives you some ideas and essential guidance on how to install osCommerce on linux \/ CentOS 7.1 \/ RHEL 7.1 \/ Oracle Linux 7.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open Source Commerce (osCommerce) is a solution for online store software and alternative to Magento. It is indeed a complete software, easily installed and configured through a web-based installation procedure&#8230;.<\/p>\n","protected":false},"author":6,"featured_media":5672,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055],"tags":[1260,1975,1536,1628],"class_list":["post-5658","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-centos-7-1","tag-install","tag-linux","tag-oscommerce"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/5658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=5658"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/5658\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/5672"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=5658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=5658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=5658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}