Koozali.org: home of the SME Server

Customized Oscommerce install question.

Offline JRM

  • 3
  • +0/-0
Customized Oscommerce install question.
« on: January 05, 2008, 08:02:32 PM »
I currently have a *very* customized version of Oscommerce on a FC6 host that I wish to migrate to SME 7.2.
It has some encrypted passwords and customer data that want to preserve.

1) what is the best way to go about doing this?

2) The oscommerce in contribs installs in /opt rather than the web server root directory.
Is it more secure in the /opt ?
What are the advantages? 

Thanks in advance.

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: Customized Oscommerce install question.
« Reply #1 on: January 06, 2008, 12:25:21 AM »
2) There are a lot of posts about install web sites under ibays or opt dir. Developers recommend /opt dir because security and easy maintenance. Also you can redirect the top domain with html file to /opt dir. Anyway nothing prohibited to install under ibay.
1) If you want to migrate to an ibay, move the whole of site files to under html ibay folder. Make a DB backup:
mysqldump --opt dbname > db.sql
Then create the db and user in SME (with phpmyadmin it is easy) and import the file with:
mysql dbname < db.sql
Read http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29 to meet your requierements.
If you want to install under opt dir, you can use http://wiki.contribs.org/SME_Site_Maker to create db, user and conf file for apache.