免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2212 | 回复: 0
打印 上一主题 下一主题

[Web] 安装php -nuke的困惑 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-19 17:05 |只看该作者 |倒序浏览
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 "references" 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

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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP