Geeklog

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第38行: 第38行:
 
Using InnoDB tables may improve performance on (very) large sites, but makes database backups more complicated. Leave the option unchecked unless you know what you're doing.
 
Using InnoDB tables may improve performance on (very) large sites, but makes database backups more complicated. Leave the option unchecked unless you know what you're doing.
 
  Use InnoDB tables [check]
 
  Use InnoDB tables [check]
 +
 +
可能出现的错误
 +
Fatal error: main(): Failed opening required '/path/to/geeklog/system/databases/mysql.class.php'  (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/servers/demo.huihoo.com/geeklog/system/lib-database.php on line 117
  
 
==相关链接==
 
==相关链接==
 
*http://www.geeklog.net/
 
*http://www.geeklog.net/

2006年9月18日 (一) 10:43的版本

Logo-geeklog.png

Geeklog - The Ultimate Weblog System

安装指南

创建数据库

mysqladmin -u root -p create geeklog 或
mysql>create database geeklog;
mysql>GRANT ALL PRIVILEGES ON geeklog.* TO geeklog@localhost IDENTIFIED BY 'geeklog';
mysql>flush privileges;

修改权限

chmod -R 775 logs
chmod -R 775 data
chmod -R 775 backups
chmod -R 775 public_html/backend
chmod -R 775 public_html/images/articles
chmod -R 775 public_html/images/topics
chmod -R 775 public_html/images/userphotos

修改config.php

$_DB_host         = 'localhost';   // host name or IP address of your DB server
$_DB_name         = 'geeklog';     // name of your database,
                                  // must exist before running the installer!
$_DB_user         = 'geeklog';    // MySQL user name
$_DB_pass         = 'geeklog';    // MySQL password
$_CONF['path']            = '/var/www/geeklog/';
$_CONF['site_url']          = 'http://localhost/geeklog/public_html';

修改public_html/lib_common.php

require_once( '/var/www/geeklog/config.php' );

通过安装向导进行安装

http://localhost/geeklog/public_html/admin/install/

Using InnoDB tables may improve performance on (very) large sites, but makes database backups more complicated. Leave the option unchecked unless you know what you're doing.

Use InnoDB tables [check]

可能出现的错误

Fatal error: main(): Failed opening required '/path/to/geeklog/system/databases/mysql.class.php'  (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/servers/demo.huihoo.com/geeklog/system/lib-database.php on line 117

相关链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱