Guest Posted May 20, 2003 Posted May 20, 2003 like it says in the subject line..............could someone please point me in the correct direction as to where I start to read/learn how to install oscommerce, I should say at this point that I`m not totally clueless as regards html/php/linux etc.............just had a look round here in search of a step by step guide or so but cant seem to find one.............apologies in advance if I`m being stupid................. :)
Kristofor Posted May 20, 2003 Posted May 20, 2003 ohhhhhh, im sick of this but would people stop putting links to that silly wiki site, seriously, there is nothing on that site, and not much that is helpful, so why bother going there anyway. Don't die with the music in you!!! Failure is just another boundary to sucess!!! But that doesn't mean your getting somewhere...
wizardsandwars Posted May 20, 2003 Posted May 20, 2003 Kristofor, This is taken directly from the wiki site. This sounds exactly what the guy asked for. BTW, I didn't see you type a step by step installation guide for him. I suppose you thought you were being helpful? New Installation Upload the /catalog and /admin directories to your server using FTP to upload files. All PHP files must be uploaded in ASCII mode, and not binary. The structure of the oscommerce is: 2.2ms1 oscommerce-2.2ms1 admin catalog extras Upload the admin and catalog folder to your document root (public_html, www, htdocs) using ftp. Most of the time it is easier to upload the admin folder inside the catalog folder but it makes no difference ... personal preference. After uploading for the normal installation your structure looks like this: public_html, www, or htdocs catalog admin Or if you put the admin folder inside the catalog folder it would be: public_html, www, or htdocs catalog admin Set the permissions on: /catalog/includes/configure.php /catalog/admin/includes/configure.php to 706 or 777 If these permissions are not set correctly you will get an error when installing telling you the permissions are not set correctly. Using phpMyAdmin or other tool, create your database and user, and assign that user to the database. Write down the name of the database, login, and password for this database for the install fields later on. Open your web browser, and point it to yourserver/catalog/install/install.php and follow these steps: INSTALLATION Step 1 :: Please customize your new installation with the following options: Import Catalog Database :: check this box Import the Catalog database structure which includes tables and sample data. Automatic Configuration :: check this box The information you submit regarding the web server and database server will be automatically saved into both Catalog and Administration Tool configuration files. Step 2 :: Please enter your web server information: Webserver Root Directory :: /home/username/public_html The directory where your web pages are being served from, usually /home/myname/public_html Webserver Catalog Directory :: /catalog/ The directory where your catalog pages are being served from (from the webserver root directory), usually /home/myname/public_html/catalog/ Webserver Administration Tool Directory :: /catalog/admin/ The directory where your administration tool pages are being served from (from the webserver root directory), usually /home/myname/public_html/catalog/admin/ WWW Catalog Directory :: /catalog/ The virtual directory where the osCommerce Catalog module resides, usually /catalog/ WWW Administration Tool Directory :: /catalog/admin/ The virtual directory where the osCommerce Administration Tool resides, usually /catalog/admin/ Step 3 :: Please enter your database server information: Database Server :: localhost The database server can be in the form of a hostname, such as db1.myserver.com, or as an IP address, such as 192.168.0.1 Username :: domainusername_name The username is used to connect to the database server. An example username is mysql_10. Note: If the catalog is to be imported (selected above), the account used to connect to the database server needs to have Create and Drop permissions. Password :: passwordname The password is used together with the username, which forms the database user account Database :: domainusername_osc The database used to hold the catalog data. An example database name is catalog Next, you will get a confirmation of successful database import. (Step 1: Database Import A test connection made to the database was successful) Click the continue button Next, the install script will attempt to access your configure.php files. If the permissions are wrong, you will get error messages, and a "Retry" button. Set the permissions correctly and retry. If it is correct you will get: Step 1: Database Import The database import was successful! Click the continue button The next page should look similar: osCommerce Configuration The following configuration values will be written to: /home/username/public_html/catalog/includes/configure.php /home/username/public_html/catalog/admin/includes/configure.php Step 1 :: Please enter your web server information: HTTP Server :: http://yourserver.com The web server can be in the form of a hostname, such as http://www.myserver.com, or as an IP address, such as http://192.168.0.1. HTTPS Server :: http://www.yourserver.com The secure web server can be in the form of a hostname, such as https://www.myserver.com, or as an IP address, such as https://192.168.0.1. Enable SSL Connections - check this box if you will be using a ssl certificate ... can be changed later if desired. Enable Secure Connections With SSL (HTTPS) Webserver Root Directory :: /home/username/public_html The directory where your web pages are being served from, usually /home/myname/public_html. Webserver Catalog Directory :: /catalog/ The directory where your catalog pages are being served from (from the webserver root directory), usually /home/myname/public_html/catalog/ Webserver Administration Tool Directory :: /catalog/admin/ The directory where your administration tool pages are being served from (from the webserver root directory), usually /home/myname/public_html/catalog/admin/ WWW Catalog Directory :: /catalog/ The directory where the osCommerce Catalog module resides, usually /catalog/ WWW Administration Tool Directory :: /catalog/admin/ The directory where the osCommerce Administration Tool resides, usually /admin/ Step 2 :: Please enter your database server information: Database Server :: localhost The database server can be in the form of a hostname, such as db1.myserver.com, or as an IP address, such as 192.168.0.1. Username :: domainusername_username The username is used to connect to the database server. An example username is mysql_10. Note: Create and Drop permissions are not needed. Password :: passwordname The password is used together with the username, which forms the database user account. Database :: domainusername_osc The database used to hold the catalog data. An example database name is catalog. Enable Persistent Connections Enable persistent database connections. Please disable this if you are on a shared server. Store Sessions as Files (this is usually checked) Store Sessions in the Database The location to store PHP's sessions files. Click continue and you're nearly done! ............................................................. Rename the catalog/install folder or delete it. Reset the permissions on /catalog/includes/configure.php to 644 (if you are still getting the warning message at the top set configure.php to 444 which is read only - this happens on some servers that have been updated for security reasons). Set the permissions on /catalog/images directory to 777 Reset the permissions on /admin/includes/configure.php to 644 Create the dir /admin/backups and set the permissions to 777 Set the permissions on /admin/images/graphs directory to 777 There are a few configuration things you need to do on your server for cart security: 1. You need to .htaccess your /admin directory so that it is password protected. You can use the password manager in your server admin area like cpanel. 2. You need to add default.php to your directory index listing in the httpd.conf file for apache so you can access your store by www.yourserver.com/catalog/ instead of www.yourserver.com/catalog/default.php If you have your own server you can make these changes yourself by editing the apache configuration file located at /usr/local/apache/conf/httpd.conf Add this statement: DirectoryIndex? index.php default.php To the <IfModule? mod_dir.c> section of your httpd.conf file. Congratulations! Now you are really done! To install the catalog folder into the root directory put the catalog files into the root directory and point your domain to: yourserver.com/install/install.php and setup as above changing the catalog configuration to a forward slash / and the admin ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Guest Posted May 20, 2003 Posted May 20, 2003 many thanks Frank and Chris for taking the time to reply.............now I`ll go try it and tear my hair out for a few days probably.........
rseigel Posted May 20, 2003 Posted May 20, 2003 but would people stop putting links to that silly wiki site, No. :wink:
Kristofor Posted May 20, 2003 Posted May 20, 2003 ok, maybe i over reacted a bit, i was just annoyed that there is like not much on the site, cause i try to go there cause people say its so good, and i can never find anything that i want, soo... i think it needs some serious updateing, oh well, cya kristofor Don't die with the music in you!!! Failure is just another boundary to sucess!!! But that doesn't mean your getting somewhere...
Ajeh Posted May 20, 2003 Posted May 20, 2003 It is under development ... this means ... it ain't perfect ... But there is a heck of a lot of info there but when you rush through you aren't going to find diddly squat ... sit down, take some time, and flip through the site. There is a ton of info there.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.