Re: [Server-devel] Browsing school server

2009-01-16 Thread Martin Langhoff
On Fri, Jan 16, 2009 at 4:07 PM, Anna  wrote:
> Since, at least for now, we're not going to be using moodle in Birmingham
> yet, I renamed

you break my heart with that, but it's a valid workaround :-)

cheers.


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Browsing school server

2009-01-16 Thread Martin Langhoff
On Fri, Jan 16, 2009 at 5:15 PM, Martin Langhoff
 wrote:
> I was part-joking, didn't mean to make you feel back...

s/back/bad/



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Browsing school server

2009-01-16 Thread Martin Langhoff
On Fri, Jan 16, 2009 at 5:05 PM, Anna  wrote:
> I'm very sorry, Martin, but I hope you understand the reasoning behind the
> decision.

I was part-joking, didn't mean to make you feel back... it turns out I
did undestand in general terms why; but your email is very valuable in
terms of expanding on the shortcomings I need to work on. Thanks!

Our moodle situatuion is nowhere near where I want it to be. Time's
gone into infrastucture/OS work, the regularly scheduled crises and
whatnot. But we're getting closer.

The moodle in 0.5.x is clearly a proof-of-concept, and as you say, not
usable in real life. Now, let me work a bit on that... ;-)

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Browsing school server

2009-01-16 Thread Anna
On Fri, Jan 16, 2009 at 12:29 PM, Martin Langhoff  wrote:

> On Fri, Jan 16, 2009 at 4:07 PM, Anna  wrote:
> > Since, at least for now, we're not going to be using moodle in Birmingham
> > yet, I renamed
>
> you break my heart with that, but it's a valid workaround :-)
>

I'm very sorry, Martin, but I hope you understand the reasoning behind the
decision.  Aside from the teacher training issues regarding content creation
and management, we're just not prepared to address the very serious
potential for disciplinary issues surrounding the current login
authentication method.  The current moodle scenario might work within a
small, trusting environment, but when I'm looking at schools with between
100-600 students, there's no way we can keep kids from making mischief via
other logins, either accidentally or intentionally.

I just don't want the electronic version of a kid writing "teacher is a
dummy" on the blackboard, and the current moodle configuration allows the
troublemaker to do so under another kid's name.  Or delete each other's
homework or any number of pranks we've yet to imagine.

Don't get me wrong - I think Moodle is a very exciting project, and I'm
looking forward to implementing it in the future, but not right now.  That's
why I had to find a workaround to host web content in the traditional
fashion.

Anna Schoolfield
Birmingham
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Browsing school server

2009-01-16 Thread Anna
On Fri, Jan 16, 2009 at 11:21 AM, Martin Langhoff  wrote:

>
> There is an alternative you can also use - less moodle-centric, and
> may be unsupported going forward
>
> 1 - create a new directory: /var/www/mylocalcontent , put your files there
>
> 2 - add a new apache config file in /etc/httpd/conf.d - in that file,
> you need an Alias line, and a  section. I think it needsto
> be something like
>
>   Alias /mylocalcontent /var/www/mylocalcontent
>   
>   order allow,deny
>   allow all
>   
>
> 3 - Edit the moodle header include to add a link to that content -
> look in /var/www/moodle/web/themes/xo/header.html
>
>
Since, at least for now, we're not going to be using moodle in Birmingham
yet, I renamed

/etc/httpd/conf.d/010-make-moodle-default.conf

to /etc/httpd/conf.d/010-make-moodle-default.conf.orig

and then /var/www/html/ went back to the way it was as in XS 0.4.  In fact,
on my test server, I have /var/www/html on a separate partition on another
physical drive, so it only took an fstab edit to put the web content back.

Anna Schoolfield
Birmingham
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Browsing school server

2009-01-16 Thread Martin Langhoff
On Tue, Jan 13, 2009 at 2:00 AM, David Leeming
 wrote:
> With version 0.4 and 0.5.0 I was able to browse the server html folders,
> i.e. the default for the link on the XO browser to "Local School Server"
> with 0.4 took you to
>
> /var/www/html
>
> With version 0.5, the default page is
>
> /var/www/moodle/web/auth/olpcxs/who.php

That's because it's taking you to Moodle, and you're getting
authenticated there. The actual "default page" is
/var/www/moodle/web/index.php ... which re-directs you to the
authentication facility. Once we have the single-sign-on stuff sorted,
it will be transparent, and you won't see the 'who.php' page.

> With version 0.5-0 I was able to add this link to the who.php page:
>
> href="/var/www/html/content/index.html"
> and get to the folders of browse-able content as before.

hmm - there is a better place to put the link - that 'who.php' page is
not really the right place...

> With 0.5-1 it does not seem to work; unless I have made some stupid mistake,
> I have reinstalled it twice but it reports on the XO browser:
>
> Not found: The requested URL /var/www/html/content/index.html was not found
> on this server.

That is very weird. Maybe moodle didn't get installed correctly? Which
0.5.1 candidate did you install?

> I suppose one could create up a "course" on Moodle for each of those folders
> but it's not always the most convenient way to do it.

There is an moodle-based way to do it... it will be easy once Moodle
is better configured, for now it's a bit awkward...

1 - Log in as the 'admin' user to moodle - you will find the password
in /etc/moodle/ . The actions you need to do should be doable by any
account with "course creator" rights but I haven't set this correctly
up yet. So using the 'admin' account is a workaround during the 0.5
series :-/

2 - We are going to put the files under the 'site files' -- that is,
they will be managed just like files belonging to a course, but they
are available to any user because they belong to the "site course", a
magical "course" within moodle. In simple terms, evertything you see
in Moodle's homepage 'belongs to a course'... this special 'site
course'.

3 - If you have lots of files, you get the unenviable task of
uploading them all - not fun. If you can use SSH / SCP or put the CD
on the actual school server, you can use the commandline to put them
in /var/lib/moodle/ , in the directory that belongs to the site course
- usually named "1". Again, this is a temporary - and ugly -
workaround. Moodle *can* do WebDAV, which makes life _so_ much
easier...

So that's the workflow. Ugly and kludgy.

There is an alternative you can also use - less moodle-centric, and
may be unsupported going forward

1 - create a new directory: /var/www/mylocalcontent , put your files there

2 - add a new apache config file in /etc/httpd/conf.d - in that file,
you need an Alias line, and a  section. I think it needsto
be something like

   Alias /mylocalcontent /var/www/mylocalcontent
   
   order allow,deny
   allow all
   

3 - Edit the moodle header include to add a link to that content -
look in /var/www/moodle/web/themes/xo/header.html

4 - Optional: enable the apache-based webdav extension, so you can
manage this content via WebDAV. This will require quite a bit of
configuration... but if you add/remove/edit content frequently, can be
worthwhile...

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] A video explaining the XS and educational content

2009-01-16 Thread Martin Langhoff
In between the million things David Leeming is doing for the
deployments in the pacific, he's found the time to shoot and narrate a
video explaining how the XS is used, and how digital content can be
served from it.

The context to the video is the wider work being done by OLPC Oceania
- as explained here

   http://wiki.laptop.org/go/OLPC_Oceania/Content#School_Server

the video is here

   http://www.youtube.com/watch?v=CI8ciP7C2zs

the production is simple - a handheld camera, a couple of computers.
The narration clear and measured. The content, fantastic. For me at
least it is incredibly interesting to see how it's being used in the
field.

Thanks David!



martin
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 05

2009-01-16 Thread Martin Langhoff
On Fri, Jan 16, 2009 at 12:12 PM, Henry VĂ©lez Molina
 wrote:
> Thanks Martin for you answer.

No problem!

> We have been trying to install the server via the "Kickstart", but that
> happens when anaconda  to start  can not do it and the screen turns off.

H, I can think of some possible causes...

 - your download was corrupt or truncated - check that the sha1sum of
the iso is

   $ sha1sum OLPCXS-0.5.1-dev03-i386.iso
   eab0fd3596bbfca532eec51eb5e774cb00b25cd8  OLPCXS-0.5.1-dev03-i386.iso

 - You are hitting a low mem condition while installing the
selinux-policies package. How much RAM does the machine have?

> We
> tried the solution that is in the wiki-press tab and add "text" and nothing
> happens. One of the ways that we return to the terminal is pressing
> Ctrl+Alt+2, then Ctrl+Alt+1.

That can help if the problem is with RAM - I think you need to hit tab
earlier -- before the graphical installer starts. There is a very
early screen, as soon as the CD or USB stick is read - hit escape
*there*...

> Could be the GPU problem?

Very unlikely to be GPU or CPU

> What can be do in these cases?

- Ensure the iso is good (with sha1sum), check memory, try to uyse the
text installer.
- Installing from USB is a bit less reliable - try with a CD
- Try is to install a standard Fedora 9 on the machine - sometimes
there are subtle incompatibilities there...

> Is there another way to start the installation?

Not really :-/


keep us posted on your progress so we can help...;



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel