From KKnd'sPmWiki
Pm Wiki Zh Cn Utf 8: Installation
Here are some quick instructions on how to download and install
PmWiki. Improvements to these instructions would be greatly appreciated.
这里给出了一些下载和安装
PmWiki的快速说明,非常感谢能给出对这个说明的改进意见。
1. Download the latest version of
PmWiki from
http://www.pmichaud.com/pub/pmwiki.
1. 下载最新版本的
PmWiki,网址:
http://www.pmichaud.com/pub/pmwiki.
2. Extract the tar image using "
tar xvfz pmwiki.tgz
" . This will create a
pmwiki-x.y.z
directory which contains the
PmWiki software. Rename this directory to "pmwiki" by executing "
mv pmwiki-x.y.z pmwiki
" . The files in this directory include
pmwiki.php Main PmWiki script
pmwiki-50.gif PmWiki logo
wikilib.d/ Directory containing some default PmWiki files
scripts/ Some sample configuration scripts
local/ A directory for local configuration scripts
These files need to be placed where they can be accessed by a web server (e.g. in a
public_html directory of some sort).
2 解开tar文件包,(命令"
tar xvfz pmwiki.tgz
"),会生成一个文件夹名称为:
pmwiki-x.y.z
,文件夹里包含了
PmWiki软件。重新命名这个文件夹为"pmwiki"(命令"
mv pmwiki-x.y.z pmwiki
").在这个文件夹里,包括了下面的内容:
pmwiki.php PmWiki主脚本
pmwiki-50.gif PmWiki图标(Logo)
wikilib.d/ 默认PmWiki文件的文件夹
scripts/ 一些配置脚本的样本
local/ 本地配置脚本的文件夹
这些文件需要放到一个别人能访问的网络服务器上,比如你个人的
public_html;
3. Temporarily change the permissions on the directory containing
pmwiki.php
directory to 2777. In Unix this is normally done by changing to the directory containing
pmwiki.php
and executing "
chmod 2777 .
" (note the dot at the end). This will (1) make the directory writable so the web server can create the data directory it needs for the wiki files, and (2) preserve group ownership of the directory so the installer account can manipulate the files created in this directory.
3.临时的改变包含
pmwiki.php
文件夹的权限为2777.在Unix系统中,先进入包含
pmwiki.php
文件的文件夹,然后运行命令"
chmod 2777 .
" (注意最后的点号).这个权限
(1)允许文件夹可写,则允许网络服务器为wiki文件建立数据文件夹,(2)保护文件夹的组成员使得安装帐户可以操作在这个文件夹里创建的文件。
4. If you're running Apache version 2.0.30 or later, you may need to set the AcceptPathInfo directive to "on" for the
pmwiki.php
script. This can be as simple as adding
AcceptPathInfo on
to either the
.htaccess
file in the directory containing
pmwiki.php
or the server's
httpd.conf
file. If changing the
httpd.conf
file, don't forget to restart Apache to have the change take effect.
4.如果你运行的是 Apache 2.0.30或者后继版本,你需要为
pmwiki.php
设置AcceptPathInfo指示符为"on"。这可以通过简单的加入
AcceptPathInfo on
到你的包含
pmwiki.php
文件的文件夹中的
.htaccess
里,或者加到服务器的
httpd.conf
文件中去。 如果改变了
httpd.conf
文件,不要忘记了重新启动Apach来使改变起作用。
5. Open a web browser to the
pmwiki.php
script. When
pmwiki.php
is first executed, it creates the
wiki.d
directory for holding wiki pages with appropriate ownership and permissions. Once
wiki.d
has been created, the directory permissions can be set back to 755 or whatever you prefer to use (e.g., execute "
chmod 755 .
").
5.用一个Web浏览器浏览
pmwiki.php
文件。当
pmwiki.php
第一次被执行的时候,它会用适当的权限来创建
wiki.d
文件夹用来存储wiki页面。一旦
wiki.d
文件夹被创建之后,则这个文件夹的权限就可以被设回成755或者其它的你喜欢的权限。
(比如,执行"
chmod 755 .
").
6. Check out
InitialSetupTasks for other tasks you may want to perform to begin customizing your
PmWiki installation. You might also want to peruse the
ReleaseNotes for further information.
6. 查看
初始设置任务来开始其它你希望定制
PmWiki的地方。
你也可以看一看
ReleaseNotes来获得更进一步的信息。
Trans. By LongWoSion
<<
SystemRequirements |
PmWikiZhCnUtf8.DocumentationIndex |
InitialSetupTasks >>
Retrieved from “http://xemacs.cosoft.org.cn/pmwiki/pmwiki.php/PmWikiZhCnUtf8/Installation”
Page last modified on 08 五月, 2004, 时间 14:02
©
copyleft by [email protected]
or
[email protected]