Friday, 30 July 2010
Home How To PortalCMS การติดตั้ง CompactCMS

สินค้ามาใหม่

สินค้ามาใหม่

noimage
ขายต้นกฤษณา
( / ต้นไม้/สัตว์เลี้ยง)
Tuesday, 04 May 2010

สินค้าแบบสุ่มแสดง

สินค้าสุ่มแสดง

ขายต้นกฤษณา อายุ 2 ปี
ขายต้นกฤษณา อายุ 2 ปี
( / ต้นไม้/สัตว์เลี้ยง)
Tuesday, 11 August 2009
 
We have 14 guests online
 
การติดตั้ง CompactCMS PDF Print E-mail
Written by Administrator   
Monday, 28 September 2009 11:42

Stable Release: 1.3.1
Year Project Started: 2008
Listing Last Updated: February 11 2009 05:25 pm
Native Language: English
Translated To:
Dutch
Open Source License: GNU General Public License version 3.0 (GPLv3)

 


Demo Main Page: Main Page
Demo Admin Page: Admin Page
Admin Username: N/A
Admin Password: N/A

CompactCMS Description:

clear

CompactCMS
The most efficient and light-weight CMS

CompactCMS might just be the tenth CMS you considered using for your website. If that's true, ask yourself why you have not found the right Content Management System just yet. If flexibility and efficiency come to mind: read on!

This new CMS kid on the block, is not your usual "fully loaded", "handle all fuss" and "too many features" CMS. Instead, it pretty much leaves all the designing and programming up to you, but makes editing the content easy for you and your end-users, without getting in your way.

CompactCMS supports your way of working.

 

ขั้นตอนการติดตั้ง

Step 1: extract files

ทำการแตกไฟล์ที่ดาวน์โหลดมา

Step 2: edit configuration file

เปิดไฟล์ sitemap.php ทำการแก้ไขบรรทัดต่อไปนี้

$sitename = "ชื่อเว็บของคุณเอง";       
$language = "en"; -> english
$mysql_host = "localhost"; ชื่อ host
$mysql_user = "root"; ชื่อผู้ใช้ฐานข้อมูล
$mysql_pass = "compactcms"; รหัสผ่าน
$mysql_db = "compactcms"; ชื่อฐานข้อมูล

 

Step 3: edit .htaccess file

ไม่ต้องแก้ไขอะไรถ้าหากติดตั้งบน host ไม่ได้อยู่ในซับไดเรกทอรี

 

# Default configuration (eg. www.yoursite.com/home.html)
RewriteRule ^([^/]*)\.html$ /index.php?page=$1 [L]
RewriteRule ^print/([^/]*)\.html$ /afdrukken.php?page=$1 [L]
RewriteRule ^admin/includes/js/(.*\.js) /admin/includes/combine.inc.php?type=javascript&files=$1
RewriteRule ^admin/img/styles/(.*\.css) /admin/includes/combine.inc.php?type=css&files=$1

# Example configuration for sublevel (eg. www.yoursite.com/cms/home.html) # Uncomment (remove #'s to activate)
#RewriteRule ^([^/]*)\.html$
/<SUBDIR>/index.php?page=$1 [L]
#RewriteRule ^print/([^/]*)\.html$
/<SUBDIR>/afdrukken.php?page=$1 [L]
#RewriteRule ^admin/includes/js/(.*\.js)
/<SUBDIR>/admin/includes/combine.inc.php?type=javascript&files=$1
#RewriteRule ^admin/img/styles/(.*\.css)
/<SUBDIR>/admin/includes/combine.inc.php?type=css&files=$1

 

กรณีอยู่ในซับไดเรกทอรี่ให้ใส่ชื่อไดเรกทอรี่ที่ <SUBDIR>

# Default configuration (eg. www.yoursite.com/home.html)
RewriteRule ^([^/]*)\.html$ /<SUBDIR>/index.php?page=$1 [L]
RewriteRule ^print/([^/]*)\.html$
/<SUBDIR>/afdrukken.php?page=$1 [L]
RewriteRule ^admin/includes/js/(.*\.js)
/<SUBDIR>/admin/includes/combine.inc.php?type=javascript&files=$1
RewriteRule ^admin/img/styles/(.*\.css)
/<SUBDIR>/admin/includes/combine.inc.php?type=css&files=$1

 

Step 4: create database structure

สร้างฐานข้อมูลใน phpmyadmin ทำการ import ฐานข้อมูลจาก /_docs/structure.sql

The screenshot below shows the PhpMyAdmin screen on how to import the structure.sql file.

  1. เลือกที่เมนู import tab
  2. คลิ๊ก "Browse.." และเลือกฐานข้อมูลในโฟล์เดอร์ /_docs/ directory
  3. กด "Go"

Step 5: upload to server

อัพโหลดสคริปขึ้นบน server

Step 6: set permissions

กำหนดสิทธิการเข้าใช้ "content" (chmod 755) , "/admin/includes/" (chmod 666)