|
發表於 2016-12-16 19:47:20
|
顯示全部樓層
本文章最後由 cremaker 於 2016-12-16 07:49 PM 編輯
我貼一下,我下載 OpenCart 解壓縮後的目錄結構,其中有個 install.txt 文件檔就是安裝說明,如附圖
在 Linux 下簡單的安裝說明:其實安裝方式和 DISCUZ! 很類似!
-------
INSTALL
-------
These instructions are for a manual installation using FTP, cPanel or other web hosting Control Panel.
- Linux Install -
1. Upload all of the files and folders to your server from the "Upload" folder, place them in your web root. The web root is different on some servers, cPanel it should be public_html/ and on Plesk it should be httpdocs/.
2. Rename config-dist.php to config.php and admin/config-dist.php to admin/config.php
3. For Linux/Unix make sure the following folders and files are writeable.
chmod 0755 or 0777 system/storage/cache/
chmod 0755 or 0777 system/storage/logs/
chmod 0755 or 0777 system/storage/download/
chmod 0755 or 0777 system/storage/upload/
chmod 0755 or 0777 system/storage/modification/
chmod 0755 or 0777 image/
chmod 0755 or 0777 image/cache/
chmod 0755 or 0777 image/catalog/
chmod 0755 or 0777 config.php
chmod 0755 or 0777 admin/config.php
If 0755 does not work try 0777.
4. Make sure you have installed a MySQL Database which has a user assigned to it
DO NOT USE YOUR ROOT USERNAME AND ROOT PASSWORD
5. Visit the store homepage e.g. http://www.example.com or http://www.example.com/store/
6. You should be taken to the installer page. Follow the on screen instructions.
7. After successful install, delete the /install/ directory from ftp.
8. If you have downloaded the compiled version with a folder called "vendor" - this should be uploaded above the webroot (so the same folder where the public_html or httpdocs is) |
|