Pligg CMS

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第7行: 第7行:
 
       Note - Have your database name, username, password, and
 
       Note - Have your database name, username, password, and
 
       host handy before installing
 
       host handy before installing
 +
创建数据库
 +
mysqladmin -u root -p create pligg 或
 +
mysql>create database pligg;
 +
mysql>GRANT ALL PRIVILEGES ON pligg.* TO pligg@localhost IDENTIFIED BY 'pligg';
 +
mysql>flush privileges;
 
  2. Rename config2.php.default to config2.php. Do the same
 
  2. Rename config2.php.default to config2.php. Do the same
 
       for /libs/dbconnect.php.default.
 
       for /libs/dbconnect.php.default.

2006年12月6日 (三) 21:39的版本

Pligg: An Open Source PHP Digg.com Clone

http://www.pligg.com/

安装指南

1. Create a mysql database. Example "pligg."
     Note - Have your database name, username, password, and
     host handy before installing

创建数据库

mysqladmin -u root -p create pligg 或
mysql>create database pligg;
mysql>GRANT ALL PRIVILEGES ON pligg.* TO pligg@localhost IDENTIFIED BY 'pligg';
mysql>flush privileges;
2. Rename config2.php.default to config2.php. Do the same
     for /libs/dbconnect.php.default.
3. Upload the files to your server.
4. chmod 755 /templates, /templates_c, /backup, /avatar/user_uploaded,
     config2.php, /libs/dbconnect.php and /libs/options.php
5. chmod 655 config.php
6. Open <yoursite>/install/install.php in your webbrowser.
     Step 1: Make sure to read the entire page and click continue
     at the bottom when finished
     Step 2: Fill out your database name, username, password, and host
     Step 3: Make sure there are no error messages!
7. Delete your /install folder.
8. chmod 655 libs/dbconnect.php
9. Open www.<yoursite>.com
10. Make sure to look at the very top of the page for any
     notifications. Use the god account. Login: god - Password: 12345
     to make the changes needed.
11. Change the password from 12345 to something different as soon as possible.
12. Make sure that you delete your /install directory after
     installing Pligg and adding categories.

成功应用

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

变换
操作
导航
工具箱