Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSH installation


missblonde20

Recommended Posts

Posted

hi

 

im going through a 'test' installation of oscommerce. im doing this through ssh and have the manual instructions

i have gone through it ok so far and have now hit a problem

 

point 10 in the manual says:

 

9. Create the /admin/backups dir and set its permissions to 777 using the following commands mkdir /admin/backups and chmod 777 /admin/backups

10. pico .htaccess . Add this: DirectoryIndex default.php index.php

11. Now, using phpMyAdmin or other mysql tool, create your osCommerce database, and user.

 

can any one tell me what this means or what its refering to

 

thanks x

Posted
hi

 

im going through a 'test' installation of oscommerce. im doing this through ssh and have the manual instructions from oscdox.com

i have gone through it ok so far and have now hit a problem

 

point 10 in the manual says:

 

9. Create the /admin/backups dir and set its permissions to 777 using the following commands mkdir /admin/backups and chmod 777 /admin/backups

10. pico .htaccess . Add this: DirectoryIndex default.php index.php

11. Now, using phpMyAdmin or other mysql tool, create your osCommerce database, and user.

 

can any one tell me what this means or what its refering to

 

thanks x

 

It's not actually necessary to use ssh. All of these steps can be completed using a decent FTP client. But to answer your question

 

9. If there isn't a directory inside the admin directory named backups, create it. You don't absolutely HAVE to have it but you probably should.

 

Here are a few links for how to create dirs and change perms in unix

http://www.freebsd.org/cgi/man.cgi?chmod

http://www.freebsd.org/cgi/man.cgi?query=m...rts&format=html

 

10. Here's a link explaining htaccess

http://www.javascriptkit.com/howto/htaccess.shtml

Pico is just a text editor. You can use emacs or vi or anything available really.

 

11. If you can run phpMyadmin go ahead and install it and create the database that oscommerce is going to fill up with tables. Your host may have a control panel already set up specifically to do this. One way or another you'll need to know:

 

Your connection method. Most likely localhost but may be on a separate server

Your Mysql username

Your Mysql password

 

If you don't know those three things ask your host.

If you haven't stopped by the knowledge base give it a shot. Lots of good stuff in there!

http://www.oscommerce.info/

 

Hope this helps!

Iggy

Everything's funny but nothing's a joke...

Posted
It's not actually necessary to use ssh. All of these steps can be completed using a decent FTP client. But to answer your question

 

10. Here's a link explaining htaccess

http://www.javascriptkit.com/howto/htaccess.shtml

Pico is just a text editor. You can use emacs or vi or anything available really.

 

11. If you can run phpMyadmin go ahead and install it and create the database that oscommerce is going to fill up with tables. Your host may have a control panel already set up specifically to do this. One way or another you'll need to know:

 

Your connection method. Most likely localhost but may be on a separate server

Your Mysql username

Your Mysql password

 

If you don't know those three things ask your host.

If you  haven't stopped by the knowledge base give it a shot. Lots of good stuff in there!

http://www.oscommerce.info/

 

 

yeah thanks for that, i just needed the answer to point 10, but its all come in handy so thanks very much

 

just another question about the .htaccess

 

does it matter where i save the file?

or does it have to be in the catalog directory for oscommerce?

 

thanks xx

Posted

i think you ought to forget those manual instructions, as you see the stuff from where you got that is worthless

Posted
i think you ought to forget those manual instructions, as you see the stuff from where you got that is worthless

 

No not wothless at all, it was just point 10 i didnt understand

 

10. pico .htaccess . Add this: DirectoryIndex default.php index.php

 

how can i tell from that, that i was ment to create a file with DirectoryIndex etc etc in and save it as .htaccess???

 

All i need now is some info on where i save the file to!!

Posted

this is back to system administration, as was yesterdays, which is better discussed in other forums.

in a nutshell when you use

pico .htaccess it means you are going to edit a file named .htaccess

when you save the file, it will save where you opened it.

you should go to your favorite search engine and search on pico so you can learn how to use that.

personally, i use vi which is more powerful and pretty much the favorite if using the *nix command prompt.

Posted
this is back to system administration, as was yesterdays, which is better discussed in other forums.

in a nutshell when you use

pico .htaccess  it means you are going to edit a file named .htaccess

when  you save the file, it will save where you opened it.

you should go to your favorite search engine and search on pico so you can learn how to use that.

personally, i use vi which is more powerful and pretty much the favorite if using the *nix command prompt.

 

i know all this

i used vi to create the file anyway

 

y do i need to go to another forum? this is about oscommerce installation stuff is it not??

 

i only asked if the file needed to be saved in a particluar place

Posted

learning how to use pico, etc is not a function of osCommerce, if i am not mistaken.

there are plenty of instructions in the contributions to do exactly what you are attempting to do and with better explanations.

Posted

I think that what Mibble means (apologies Mibble if I've got this wrong) is that it is totally unnecessary to actually install osCommerce using SSH. Far better, much easier, to upload via FTP and run the install in a browser.

 

SSH is considered to be a development tool, and I believe that this was why Mibble suggested it would be better dealt with in a different forum.

 

When a new customer signs up with me I made an assessment as to how much they appear to know about hosting, and if I think they have very little knowledge then I don't even enable SSH access in their account. This is especially true if I set them up with a Virtual Dedicated Server with full chroot access. An inexperienced user with SSH access and full chroot access is capable of causing total mayhem.

 

Vger

 

p.s. Sorry Mibble, our posts crossed.

Posted

no problem, i do the same with my people, however am not in the habit of letting someone wreak havoc on something they know nothing about. i give them a *nix test of the 13 basic commands and if they cant get all of them, well, they dont get access.

Posted
however am not in the habit of letting someone wreak havoc on something they know nothing about

 

Agreed. I don't use a formal test, but you get a feel for how much, or how little, someone knows - and I've never yet let anyone create total mayhem! Have no wish to have to sort out that degree of mess.

 

Vger

Posted

Hi there MissBlonde,

 

These guys do have a point. In general somebody will try to answer any question you have but these forums aren't for sysadmin training and asking for support on a seperate/modified distribution of osC source is frowned on. There's no way you'd know that initially but it is.

 

Having had to dig and scratch for answers I sympathize with your situation but your best bet is to jump on your spanking new linux box and twiddle with it until you break it (you WILL break it, trust me) and then fix it/reinstall and repeat that cycle until you pick up enough experience.

 

That's just how it is and there's not anyone on the osC boards that can give you a full sysadmin brain dump. Strap in for the long haul, cultivate your resources for any given program, remember that Google is your new bestest friend and you'll know quite a bit in a short period of time.

 

Good luck!

Iggy

Everything's funny but nothing's a joke...

  • 2 weeks later...
Posted

Its all sorted

 

Even a blonde/newbie like me managed to install oscommerce, im quite proud of myself!!!

 

its all installed and working and didnt have any problems, apart from changing permissions on the configuration file but thats it

 

Thanks to those ppl who had no faith in me whatsoever :P

 

xx

Archived

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

×
×
  • Create New...