欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
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 = " | + | $dbuname = "nuke"; |
− | $dbpass = " | + | $dbpass = "nuke"; |
$dbname = "nuke"; | $dbname = "nuke"; | ||
$prefix = "nuke"; | $prefix = "nuke"; |
2006年7月20日 (四) 09:59的版本
安装指南
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 帐号
相关链接
分享您的观点