如果可以,不妨先试试最下面的那种最简单的方法。
下载最新版本的kwiki,kwiki的homepage: http://www.kwiki.org.
kwiki的整个程序系统就是一个index.cgi然后调用kwiki的模块。所有的kwiki功能都有模块所成。这里暂时不讨论程序问题。讲讲我在win32下的安装(其他os类似)。
kwiki程序还调用了kwiki作者写的另两个模块,而它们没打包在下载来的kwiki_*.tar.gz中。所以必须先安装这两个模块。io::all,spoon。与其他模块安装同,可以通过cpan安装。
模块安装完毕后,进入目录:
% perl makefile.pl% make test% make install注:win32下为nmake,没有此程序的朋友可以参考win32。
% perl kwiki -new kwiki将其安装到kwiki目录中。到此,简单的kwiki安装完毕。可以通过http://localhosturl/cgi-bin/kwiki/index.cgi访问。
% perl kwiki -add kwiki::userpreferences kwiki::guestbook kwiki::newpage到此kwiki安装结束。
更新plugins的另一种方法,在http://www.kwiki.org上也有介绍。
kwiki::displaykwiki::editkwiki::htaccesskwiki::theme::basickwiki::toolbarkwiki::statuskwiki::widgetskwiki::usernamekwiki::guestbookkwiki::userpreferenceskwiki::newpagekwiki::searchkwiki::archive::rcskwiki::recentchangeskwiki::revisions
cpan kwiki就可以了。它会自动查找关联模块。并在perl/bin目录下生成kwiki.bat与kwiki文件。
e:\fayland>kwiki -new cgi-bin\kwiki
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器