QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 545|回复: 3

安装phpnuke6.5的困惑

[复制链接]
发表于 2003-4-19 06:23:57 | 显示全部楼层 |阅读模式
1
我应该把解压缩到哪里呢.我apache默认的documentroot是/var/www/html,我应该解压到www目录下?

2 说明中
mysqladmin create nuke 是创建一个mysql用户吗?

其中一段
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.

就是指 chmod 666 ultramode.txt???


附部分说明

Installing the Package
----------------------

Untar the package into the directory you want to use on you web
server, if you're unsure where that is, ask you system administrator.
(Windows users can use WinZip or WinRAR to uncompress .tar.gz files)

tar -zxvf PHP-Nuke.tar.gz

Now go to the directory where you uncompressed all files and edit the
file "config.php". Change all the fields until you are happy with the
changes and they fits the need of your web site. Give special attention
to the database configuration section. When you have finished to edit
config.php file change to the /sql/ directory and there is a file called
"nuke.sql" this file contains the commands to build the database structure,
tables and the default data.

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

    mysqladmin create nuke

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

    mysql nuke < nuke.sql

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:

        http://yourdomain.com/admin.php

    We use MySQL as the example and nuke.sql file is in MySQL format
because PHP-Nuke was made using this database server. You can find
many programs out there to convert the database schema from MySQL to
whatever else you want. But this is a task for you.


First Run
---------

    Create your Super User following the on-screen instructions.
    Now click on "Preferences" and change whatever you want to fit your
site info. All the options you need to change are in the Preferences
menu. If you need help just click con the help icon at the right-top
of the Administration Menu. This will open a new window with the help
you need for each section in the administration system.

SECURITY TIP: It's a good choice to put your config.php file outside the
Web Server path, then you can create a new config.php with the line:

<?php include("../config.php"); ?>


Upgrading from previous versions
--------------------------------

    To upgrade a prevoius PHP-Nuke installation to this new version you
need to edit the selected upgrade file from upgrades directory and launch
your web browser to:

    http://www.yourdomain.com/upgrade35-4.php

    all the new tables will be added and updated automagically without touch
your old data.

IMPORTANT: Remember to backup always your database before any upgrade, just
in case. If something goes wrong don't come crying to me.


Testing the Installation
------------------------

Go to your homepage, for example:

    http://yourdonaim.com/index.php

To initiate your activities in your site, you need to login as Administrator at:

    http://yourdomain.com/admin.php

    this will give you full administrator priviledges to your installation of Nuke.

*** For security reasons please remember to create a Super User IMMEDIATELY!!! ***

    Remember to "Logout" from admin after you use it, from this area you can
delete or add content on your site, never leave your computer without logggin out
from the admin account. If something bad happens don't come crying to me.

    I recommend the use of phpMyAdmin. It's a good administration system for
MySQL databases. To download it just go to http://phpwizard.net/phpMyAdmin

    I also recommend to set a password for your MySQL access. This is important
as some data in the nuke database is not encrypted, so for security reasons you
need to set a password, not only that, it's a good practice!

    For Banners System, when you setup a new client, you need to assign a new
login/password for him. The login and password is used by the client at the url:

        http://yourdomain.com/banners.php?op=login

    in order to let the        client view and track the banners stats in real time
just pass that url to your clients. Take a look yourself before you do.


Final Notes

谢谢
 楼主| 发表于 2003-4-19 21:31:46 | 显示全部楼层
我顶!
回复

使用道具 举报

发表于 2003-4-19 23:08:50 | 显示全部楼层
没问题, 放在/var/www下解开就行了,
看看install文档,有一个建nuke数据库和一个导表的过程
回复

使用道具 举报

发表于 2003-4-20 00:40:30 | 显示全部楼层
你只要执行下面4步
1.解压缩到apache默认的documentroot是/var/www/html
2. Create a database called, for example, nuke:

mysqladmin create nuke

注明,这里是系统默认安装的mysql,和没有密码的mysql的root用户
2) Now fill the databases with the tables in nuke.sql file:
cd  xxx/sql   --------> 你的nuke.sql的目录
mysql nuke < nuke.sql

4.http://yourdomain.com/admin.php


一切都ok了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 00:21 , Processed in 0.053139 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表