PHP-Nuke

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第5行: 第5行:
  
 
     mysqladmin create nuke
 
     mysqladmin create nuke
      
+
     mysql -u root -p
 +
    mysql>GRANT ALL PRIVILEGES ON nuke.* TO nuke@localhost IDENTIFIED BY 'nuke';
 +
    mysql>flush privileges;
 +
 
 
2) Now fill the databases with the tables in nuke.sql file:
 
2) Now fill the databases with the tables in nuke.sql file:
  
第21行: 第24行:
 
5) 修改 config.php
 
5) 修改 config.php
 
  $dbhost = "localhost";
 
  $dbhost = "localhost";
  $dbuname = "root";
+
  $dbuname = "nuke";
  $dbpass = "huihoo";
+
  $dbpass = "nuke";
 
  $dbname = "nuke";
 
  $dbname = "nuke";
 
  $prefix = "nuke";
 
  $prefix = "nuke";

2006年7月20日 (四) 09:59的版本

Phpnuke-logo.jpg

安装指南

1) Create a database called, for example, nuke:

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

2) Now fill the databases with the tables in nuke.sql file:

   mysql nuke < sql/nuke.sql -uroot -p

3) In order to use the ultramode.txt news file please be sure to chmod 666.

  This file is used to show news from your site in some old programs and
  frontends and is reserved to future use in PHP-Nuke. For backend use
  backend.php file instead.

4) That's it!... now you need to edit the file "config.php" to set the database options. Please read carefully the instruction on that file! After that, point your browser to:

5) 修改 config.php

$dbhost = "localhost";
$dbuname = "nuke";
$dbpass = "nuke";
$dbname = "nuke";
$prefix = "nuke";

访问: http://localhost/phpnuke/admin.php

创建 admin 帐号

相关链接

http://www.phpnuke.org/

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

变换
操作
导航
工具箱