欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Geeklog
来自开放百科 - 灰狐
(版本间的差异)
第29行: | 第29行: | ||
$_CONF['site_url'] = 'http://localhost/geeklog'; | $_CONF['site_url'] = 'http://localhost/geeklog'; | ||
+ | |||
+ | 修改public_html/lib_common.php | ||
+ | require_once( '/var/www/geeklog/config.php' ); | ||
通过安装向导进行安装 | 通过安装向导进行安装 |
2006年7月28日 (五) 12:01的版本
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/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]
相关链接
分享您的观点