Total Pageviews

Sunday, 9 March 2014

在linux vps上搭建基于perl的wiki(也是静态网站)程序-ikiwiki

git clone https://github.com/joeyh/ikiwiki
cd ikiwiki
perl Makefile.PL (会生成Makefile)
cpan HTML::Scrubber (需先安装perl的HTML::Scrubber模块,才去运行make,否则运行make时,会出错)
make

ls
(会发现ikiwiki目录里新出现了html目录)
cd html

as3:~/ikiwiki# ls
auto-blog.setup       ikiwiki.in                   Makefile
auto.setup            ikiwiki-makerepo             Makefile.PL
blib                  ikiwiki-makerepo.man         mdwn2man
Bundle                ikiwiki.man                  MYMETA.json
CHANGELOG             ikiwiki-mass-rebuild         MYMETA.yml
cpan                  ikiwiki-mass-rebuild.man     NEWS
debian                ikiwiki.out                  plugins
doc                   IkiWiki.pm                   pm_filter
docwiki.setup         ikiwiki.setup                pm_to_blib
gitremotes            ikiwiki.spec                 po
html                  ikiwiki-transition.in        README
icons                 ikiwiki-transition.man       t
IkiWiki               ikiwiki-transition.out       templates
ikiwiki-calendar.in   ikiwiki-update-wikilist      themes
ikiwiki-calendar.man  ikiwiki-update-wikilist.man  underlays
ikiwiki-calendar.out  ikiwiki-w3m.cgi              wikilist
as3:~/ikiwiki# ls html
anchor.html                ikiwiki-transition.html       setup.html
backlinks.html             ikiwiki-update-wikilist.html  shortcuts.html
banned_users.html          ikiwikiusers.html             sitemap.html
basewiki                   index.html                    smileys
basewiki.html              install.html                  smileys.html
blog.html                  local.css                     soc
branches.html              logo                          soc.html
cgi.html                   logo.html                     spam_fighting.html
commit-internals.html      news                          style.css
competition.html           news.html                     tags.html
consultants.html           pagehistory.html              templates
contact.html               patch                         templates.html
convert.html               patch.html                    theme_market.html
css.html                   plugins                       themes
css_market                 plugins.html                  themes.html
css_market.html            podcast.html                  tipjar.html
download.html              post-commit.html              tips
examples                   quotes                        tips.html
examples.html              quotes.html                   TourBusStop.html
favicon.ico                rcs                           translation.html
features.html              rcs.html                      usage.html
freesoftware.html          recentchanges.html            users
git.html                   reviewed.html                 users.html
GPL                        roadmap.html                  w3mmode
ikiwiki                    robots.txt                    w3mmode.html
ikiwiki-calendar.html      sandbox                       whyikiwiki.html
ikiwiki.html               sandbox.html                  wikiicons
ikiwiki-makerepo.html      security.html                 wishlist
ikiwiki-mass-rebuild.html  setup                         wishlist.html
as3:~/ikiwiki# cd html
as3:~/ikiwiki/html#
可见~/ikiwiki/html/就是静态网站的根目录。
as3:~/ikiwiki/html# nohup Rwebserver 35631 > /dev/null &
访问http://as3.brite.biz:35631/即可看到网站(wiki)效果。

发贴方法:
研究一下http://ikwk.bright.za.net/blog.html

演示站点:http://as3.brite.biz:35631, http://ikwk.bright.za.net
程序作者的演示站点:http://ikiwiki.info/, https://ikiwiki.info/install/

http://joeyh.name/,http://joeyh.name/blog/
项目地址:https://github.com/joeyh/ikiwiki
http://code.google.com/p/google-summer-of-code-2007-ikiwiki/

http://natalian.org/,
其源码:
https://github.com/kaihendry/natalian
https://github.com/kaihendry/natalian/blob/main/Makefile
https://github.com/kaihendry/blog 
--------------

 ikiwiki blog:
https://github.com/thcipriani/wiki
-----------------

https://gitlab.com/pages/ikiwiki
https://pages.gitlab.io/ikiwiki/

https://github.com/gsliepen/ikistrap