NPDD/Ikiwiki
De Rede Mocambos
Instalação inconclusa ainda do ikiwiki no dpadua
instalando pacote ikiwiki (pede uma penca de dependências)
root@dpadua:~# aptitude install ikiwiki Os NOVOS pacotes a seguir serão instalados: ikiwiki libauthen-dechpwd-perl{a} libauthen-passphrase-perl{a} libcgi-formbuilder-perl{a} libcgi-session-perl{a} libclass-factory-util-perl{a} libclass-load-perl{a} libclass-mix-perl{a} libclass-singleton-perl{a} libcommon-sense-perl{a} libcrypt-des-perl{a} libcrypt-dh-gmp-perl{a} libcrypt-eksblowfish-perl{a} libcrypt-mysql-perl{a} libcrypt-rijndael-perl{a} libcrypt-ssleay-perl{a} libcrypt-unixcrypt-xs-perl{a} libdata-entropy-perl{a} libdata-float-perl{a} libdata-integer-perl{a} libdata-optlist-perl{a} libdatetime-format-builder-perl{a} libdatetime-format-iso8601-perl{a} libdatetime-format-strptime-perl{a} libdatetime-locale-perl{a} libdatetime-perl{a} libdatetime-timezone-perl{a} libdbi-perl{a} libdigest-crc-perl{a} libdigest-hmac-perl{a} libdigest-md4-perl{a} libencode-locale-perl{a} libfile-listing-perl{a} libfont-afm-perl{a} libgravatar-url-perl{a} libhtml-form-perl{a} libhtml-format-perl{a} libhtml-parser-perl{a} libhtml-scrubber-perl{a} libhtml-tagset-perl{a} libhtml-template-perl{a} libhtml-tree-perl{a} libhttp-cookies-perl{a} libhttp-daemon-perl{a} libhttp-date-perl{a} libhttp-lite-perl{a} libhttp-message-perl{a} libhttp-negotiate-perl{a} libio-socket-ip-perl{a} libio-socket-ssl-perl{a} libjson-perl{a} libjson-xs-perl{a} liblist-moreutils-perl{a} liblwp-mediatypes-perl{a} liblwp-protocol-https-perl{a} liblwpx-paranoidagent-perl{a} libmail-sendmail-perl{a} libmailtools-perl{a} libmarkdown2{a} libmath-round-perl{a} libmodule-implementation-perl{a} libmodule-runtime-perl{a} libnet-dns-perl{a} libnet-http-perl{a} libnet-ip-perl{a} libnet-openid-common-perl{a} libnet-openid-consumer-perl{a} libnet-ssleay-perl{a} libpackage-deprecationmanager-perl{a} libpackage-stash-perl{a} libpackage-stash-xs-perl{a} libparams-classify-perl{a} libparams-util-perl{a} libparams-validate-perl{a} librpc-xml-perl{a} libscalar-string-perl{a} libsocket-perl{a} libsub-install-perl{a} libsys-hostname-long-perl{a} libterm-readline-gnu-perl{a} libtext-markdown-discount-perl{a} libtry-tiny-perl{a} liburi-perl{a} libwww-perl{a} libwww-robotrules-perl{a} libxml-namespacesupport-perl{a} libxml-parser-perl{a} libxml-sax-base-perl{a} libxml-sax-expat-perl{a} libxml-sax-perl{a} libxml-simple-perl{a} libyaml-libyaml-perl{a}
Y
iniciando wiki
su - exu
$ SRCDIR=/data/ikiwiki/agroecologia/ $ DESTDIR=/srv/ikiwiki/agroecologia/ $ cd $SRCDIR $ vim index.mdwn (e edite qqer coisa) $ ikiwiki --verbose $SRCDIR $DESTDIR --url=http://dpadua.mocambos.net/ikiwiki/agroecologia
(vai gerar várias páginas html em $DESTDIR)
criando repositório
$ ikiwiki-makerepo git $SRCDIR agroecologia
criando arquivo de configuração
$ cd ~/.ikiwiki $ ikiwiki $SRCDIR $DESTDIR --url=http://dpadua.mocambos.net/ikiwiki/agroecologia --dumpsetup ikiwiki.setup
com nginx
... ativando fastcgi
# aptitude install spawn-fcgi fcgiwrap
...
crie um arquivo em /etc/nginx/ikiwiki
server { root /srv/ikiwiki/agroecologia; index index.html;
location /aikiwiki/agroecologia/ikiwiki.cgi { fastcgi_pass unix:/tmp/fcgi.socket; fastcgi_index ikiwiki.cgi; fastcgi_param SCRIPT_FILENAME /srv/ikiwiki/agroecologia/ikiwiki.cgi; fastcgi_param DOCUMENT_ROOT /srv/ikiwiki/agroecologia; include /etc/nginx/fastcgi_params; } }
(ainda não tá funcionando)