Wednesday, February 15, 2006

oscommerce 2.2ms2-051113 install

Thuy,
Anh install oscommerce tren server neu ai muon su dung tren server hay local thi doc phan sau. Distribute to them !!!

Anh upload version of oscommerce len trang http://www.saigonbestbuy.com/ cua minh. Tren web cau truc nhu vay.
De vao admin oscommerce. http://www.saigonbestbuy.com/oscommerce/oscommerce-2.2ms2-051113/catalog/admin/
De hieu cu di tu tu vao http://www.saigonbestbuy.com/oscommerce -> roi click oscommerce-2.2ms2-051113 -> catalog
nhu vay moi biet tu root den admin co bao nhieu files.
Cau truc oscommerce:
oscommerce-2.2ms2-051113 -- version oscommerce cung o directory co file huong dan documentation.pdf + config.php
(config de connect database no nam ben trong /includes dem ra day de de thay doi)
catalog
admin
download
images
includes
install
images
includes
templates
pub
extras
register_global_v1.3a --- day la patch cho oscommerce anh da install roi neu khong co phan nay se co loi
catalog Server Requirement Error: register_globals is disabled in your PHP configuration
admin
includes
install
includes

Muon tao o apache locate file thi download directory xuong local file (khoang 4 MB)
theo chi dan cua o /oscommerce-2.2ms2-051113/documention.pdf
Dai khai
tao database name: oscommerce (tren server thi saigon_oscommerce lay ten cua usr: saigon tu dong tao ra)
add username: oscom (tren server thi saigon_oscom)
pw: oscom

- Co 2 cach de install
Cach 1:. la chay file
http://www.saigonbestbuy.com/oscommerce/oscommerce-2.2ms2-051113/catalog/install/
(chay o local http://localhost/oscommerce/oscommerce-2.2ms2-051113/catalog/install)
dien vao: server: localhost usr: oscom pw: oscom click: database click: persistant connection
(xem huong dan ro rang o document.pdf page 8)
Cach 2: la import database cua oscommerce oscommerce.sql o /oscommerce-2.2ms2-051113/catalog/install

Cuoi cung: ftp cua http://www.saigonbestbuy.com/ username: pw:

Note: co 2 configure.php fai sua va thong nhat (must be the same with usr and pw) are:
Reset the permissions on /catalog/includes/configure.php to 644 Reset the permissions on /catalog/admin/includes/configure.php to 644.Set privileges 644 dung cuteFTP by ChangeMode (o page 9 of document.pdf)Neu khong set privileges (command cua Linux/Unix tuong duong la chmod -s) to prevent hacker.
If you install the oscommerce successfully like this:

If it is work you type http://www.saigonbestbuy.com/oscommerce/oscommerce-2.2ms2-051113/catalog/admin/you will have your admin like this:

I write about /admin but forget to mention the main page
at local if you install local
http://localhost/oscommerce/oscommerce-2.2ms2-051113//catalog/
on the server
http://www.saigonbestbuy.com/oscommerce/oscommerce-2.2ms2-051113/catalog/


1 comment:

Reynold Hugh said...

You have got a very informative blog. It saved me a lot f time.
Oscommerce Templates