From b1e532a23f7f846c9b6905166d682f12873dca98 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 6 Oct 2015 10:26:00 +0200 Subject: public_hurd_boxen/installation/darnassus: Update. --- public_hurd_boxen/installation/darnassus.mdwn | 119 ++++++++------------------ 1 file changed, 37 insertions(+), 82 deletions(-) (limited to 'public_hurd_boxen/installation') diff --git a/public_hurd_boxen/installation/darnassus.mdwn b/public_hurd_boxen/installation/darnassus.mdwn index 907be198..1bb56b2f 100644 --- a/public_hurd_boxen/installation/darnassus.mdwn +++ b/public_hurd_boxen/installation/darnassus.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2013, 2014 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2013, 2014, 2015 Free Software Foundation, +Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -13,7 +14,9 @@ License|/fdl]]."]]"""]] # Packages - * apache2-mpm-prefork (used to be apache2-mpm-worker but changed because of some threading issues with CGI) + * apache2 + + Installation done by Richard. * ikiwiki libcgi-session-perl libtext-csv-perl libcgi-formbuilder-perl libauthen-passphrase-perl libnet-openid-consumer-perl @@ -23,11 +26,19 @@ License|/fdl]]."]]"""]] * libemail-send-perl (for my *sendmail vs. ikiwiki* patch) + 2015-10-05: + + E: Package 'libemail-send-perl' has no installation candidate + + * + * + * libsearch-xapian-perl xapian-omega (for ikiwiki's search plugin) * libyaml-perl libyaml-syck-perl (for ikiwiki's YAML field plugins) - * libtext-markdown-perl (used instead of libtext-markdown-discount-perl) + * libtext-markdown-perl (used instead of libtext-markdown-discount-perl, + but the latter still needs to be installed) Make sure that liblwpx-paranoidagent-perl is not installed; OpenID logins with fail otherwise: *no_identity_server: Could not determine ID provider @@ -35,9 +46,11 @@ License|/fdl]]."]]"""]] actually occur. Nothing in the apache logs. Not fixed by the update to ikiwiki 3.20140227. - * gitweb highlight + * gitweb + + So one can view diffs of the wiki pages, etc. - sudo ln -s ~hurd-web/hurd-web.git /var/lib/git/ + $ sudo ln -s ~hurd-web/hurd-web.git /var/lib/git/ * git-daemon-sysvinit @@ -47,7 +60,25 @@ License|/fdl]]."]]"""]] # `~hurd-web/` +, and Git access: push to/pull from +`darnassus:~hurd-web/hurd-web.git`. + + +## Setup + $ mkdir hurd-web.git && GIT_DIR=hurd-web.git git init + [...] + +For a full rebuild: + + $ ./public_html.workspace.generate\ wrappers --rebuild + +May want to clean up `~hurd-web/public_html.workspace/.ikiwiki/` before that. +/!\ But preserve the `userdb` file. + +As a user with appropriate permissions, then install the CGI file: + + $ sudo mv ~hurd-web/public_html.workspace.cgi /usr/lib/cgi-bin/hurd-web # `~tschwinge/` @@ -102,65 +133,10 @@ The goal is that robots rather index the official pages, braunr: http://www.gnu.org/software/hurd/public_hurd_boxen.html snubber That was the web server. - isn't it gnu.org ? And flubber had the repository for developers to push to. - No, gnu.org is updated manually (by me). - ah - It'S a snapshot of the wiki so to say. - ok so, is this wiki really meant to be modifiable from a browser ? - - http://www.gnu.org/software/hurd/contributing/web_pages.html#index5h2 - Yes. - i see - I should still be able to access the data from Barry's zenhost - (including all the VMs it hosted), so I should be able to replicate that - quite easily. - do you think it could be hosted on darnassus, or would you like a - separate vm ? The repository for people to push to and pull from (used to be on flubber) would be on darnassus now. - About the web server, hmm. - It's basically a security concern. - And it might get hammered by bots from time to time. - it won't need much resources i suppose - No. The web server (snubber) was running with 242 MiB of RAM, - and had uptimes of several weeks typically. - tschwinge: otherwise, could it use the web server running on the - host ? - The host being darnassus? - no - shattrath, the linux system - Ah. - Sure. - There is no requirement this to be a Hurd system -- was just - nice to show to people. - i think it is too - what's the problem with darnassus ? - yçou mentioned security - The web server being a public-facing component which might be - broken into. - how ? - it's so much easier to just ask for an account .. :) - Web server bugs, CGI script bugs, etc. - Sure. - I just wanted to make you aware of it. :-) - oh don't worry - ok so darnassus it is - was it running apache? maybe, if other (lighter?) web servers - are tested to work on hurd, they could be used - pinotree: Yes, and yes. - doesn't ikiwiki need php ? - Only requirement (I think) is abaility to run CGI scripts. - braunr: No. It's written in perl. - ok - i still think i'll use apache - it's really not that heavy - lighter servers matter when the number of concurrent clients get - very high - Then I'll figure out how exactly the setup was between flubber - and snubber. - ok - it's good to finally get that going :) + braunr: Of course ;-) -- I had some parts of the process documented: http://www.gnu.org/software/hurd/public_hurd_boxen/installation/snubber.html @@ -226,24 +202,3 @@ The goal is that robots rather index the official pages, will render the pages accordingly. OK. and just named hurd-web - - -## IRC, freenode, #hurd, 2013-02-10 - - http://darnassus.sceen.net/~hurd-web/ - Have at it! - braunr: ^ - :) - great - And push to/pull from darnassus:~hurd-web/hurd-web.git for Git - access. - Will update the web pages tomorrow, and all that. - braunr: And also install gitweb on darnassus, so one can view - diffs of the wiki pages, etc. OK? - tschwinge: there are still links towards bddebian - history for example - just fyi, we can look at this tomorrow - braunr: Yes, that'S what I need gitweb for. - braunr: gitweb installed, hurd-web URLs fixed - (s%bddebian%darnassus), also some more ikiwiki-related Perl pacakges - installed (openID login, for example). -- cgit v1.2.3