Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linux Installation


babarmughal

Recommended Posts

Posted

Can someone please tell me how to install this on RedHat 9.0

 

I am new to this.......what do i do after downloading the OSCommerce......???????????

 

Thanks

 

Babar

Posted

well i have unzipped the file and after that what do i do now to start installing the install.php file in my browser.....?? and how can i create the the sample oscommerce database........??

 

Thanks for your help.........

 

Babar

Posted

have you taken a look at the documentation?

 

copy the "catalog" directory to the root directory of your website via "cp -R" or "cp -a"

 

cd to the root directory of the website

 

cd to catalog

 

Set the permissions on includes/configure.php and admin/includes/configure.php to 777 like this:

 

chmod 777 includes/configure.php; chmod 777 admin/includes/configure.php

 

cd to the admin subfolder:

 

cd admin

 

you need to edit the .htaccess file in the admin directory as there is no current real security scheme. Add on something like this to the bottom:

 

AuthUserFile /pathtowebsiterootdirectory/catalog/admin/.htpasswd

AuthGroupFile /dev/null

AuthName "Username and Password?"

AuthType Basic

<Limit GET>

require valid-user

</Limit>

 

create an htpasswd file and user/password as below... it'll ask you for the password twice but will NOT show you what you are typing when entering the password... (it'll stay blank while you type)

 

hpasswd -c .htpasswd username

 

open your favorite browser and go to "http://www.yoursite.com/catalog" and it should redirect you to the install script... if not... then "http://www.yoursite.com/catalog/install/install.php"

 

follow the on-screen directions until you get to where it gives you the option to either go to admin interface or catalog

 

as a security measure, change the permissions on the configure.php files again:

 

cd /path/to/website/root/directory/catalog

 

chmod 444 includes/configure.php; chmod 444 admin/includes/configure.php

 

 

 

let me know how things turn out or tell me where I'm wrong :P

Posted

I didn't think I did too bad... most of it's the same :P

Posted

sorry guy but i am new to linux......when u mean MY WEBSITE ....what will be the address of my website ...............i mean from the browser what do i have to type.......www.?????.com......in this ???? will be my host name of the linux OS or how can i create a ???? in linux...........

 

thanks

 

babar

Posted

These forums are for osCommerce support, not Linux - please find appropriate support for your platform.

 

This topic is now locked.

 

Matti

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...