Re: [Server-devel] [XSCE] End User Documentation / Basic Setup Guide / How to upload PDFs etc

2013-11-17 Thread James Cameron
What, Browse loses the reading position for a PDF?  Let's fix Browse?  ;-)

On Mon, Nov 18, 2013 at 09:54:22AM +0530, Anish Mangal wrote:
> I thought read also opened pdf's from the journal too. (Not sure if it saves
> what page you were on).
> 
> 
> On Mon, Nov 18, 2013 at 9:46 AM, Anna  wrote:
> 
> If possible, deploy epubs rather than pdfs.
> 
> You can always convert an epub to a pdf.  You can't easily do it the other
> way round.  Go ahead and search, the pdf format is a bane for people who
> use ereaders.
> 
> Also, epubs open from the Journal in the Read Activity, where kids can use
> bookmarks.  PDFs open in Browse and there's no bookmarking mechanism.  So
> you're halfway through a PDF, shut down your XO for the day, then the next
> morning open the PDF back up and have to scroll to where you left off.  
> Not
> cool.
> 
> 
> On Sun, Nov 17, 2013 at 8:38 PM, Curt Thompson 
> wrote:
> 
> In the short term, I just followed Anna's suggestion and put the PDFs
> in
> a directory I made "/var/www/html/science".  I tested it out with the
> Browse activity in the XO-1 James is lending me as a client and it
> seems
> to work relatively well - opens in-browser, which is nice.
> 
> Not super fast but the images/text load up within a few seconds and
> it's
> scrollable with the buttons near the monitor (once you click inside 
> the
> PDF).  I'm considering whether it's worth it to extract each page as 
> an
> image and convert all these PDFs into essentially an HTML-based
> "e-book"
> to make it more responsive.
> 
> In the long term, I'd like to be able to train teachers in how to add
> content.  If we can send them a USB stick with PDFs, for example, it'd
> be nice for them to be able to simply copy it into place and enjoy the
> updated content.  Would this be the case once I got Pathagar set up 
> and
> working?
> 
> I'll also work on documentation when I can.  I started to write setup
> documentation but the online install info on the wiki is pretty good.
> What's missing (in my humble opinion) is what to do with XSCE once 
> it's
> up and running.  I'll try to make some time to document the things I
> learn as I go.
> 
> Thanks for the help
> 
> 
> On 11/17/2013 12:05 PM, Sameer Verma wrote:
> > On Sat, Nov 16, 2013 at 8:15 PM, Anna  wrote:
> >> Pathagar is still a work in progress.  I'm not sure if it can 
> handle
> pdfs,
> >> though.  Last I saw, it was just epubs.
> >>
> > By design, Pathagar will serve *any* kind of file. The file serving
> is
> > done via HTTP (Can be apache, nginx, or lighttpd, etc). Here is an
> > example of PDF: http://108.171.173.65/book/10/view and here's an
> > example of epub: http://108.171.173.65/book/8/view Pathagar itself
> > doesn't care about the file format, as long as the http server has a
> > way (MIME) to handle it. As far as the Pathagar software itself is
> > concerned, there are no showstopping bugs that I know of.
> >
> > A couple of notes on the *installation* of Pathagar, where we do 
> have
> > a bunch of problems:
> >
> > 1) The *current* version of Pathagar is borked. I haven't gone back
> to
> > see where it fails or how, but there should be a prior version that
> > works. There is also a version (patch) that apparently fixes the 
> book
> > edit and upload problem. I have not tested it. I hope someone else
> can
> > take a look?
> >
> > https://github.com/PathagarBooks/pathagar/issues
> >
> > 2) There seem to be multiple deployment approaches. We have PIP, 
> RPM,
> > fabric, and the good old way of installing and configuring by hand
> > (which is what I follow, because I haven't had the time to test the
> > other methods). At the OLPC SF Summit, Jerry told me that they have
> > the RPM part addressed, but the current bug (cannot add/edit books)
> > gets in the way.
> >
> > Hopefully the latest patch can address these things.
> >
> >> For your immediate purposes, I'd suggest `mkdir /var/www/html/
> science` and
> >> put the pdfs there.  Then clients can go to http://schoolserver/
> science to
> >> download them.
> >>
> >> Anna
> >>
> >>
> >> On Sat, Nov 16, 2013 at 10:05 PM, Curt Thompson <
> curtathomp...@gmail.com>
> >> wrote:
> >>> So I've been tinkering around XSCE School Server for a while now -
> I
> >>> have it set up with Internet-in-a-box via USB drive and I spent a
> while
> >>> trying to 

Re: [Server-devel] [XSCE] End User Documentation / Basic Setup Guide / How to upload PDFs etc

2013-11-17 Thread Anish Mangal
I thought read also opened pdf's from the journal too. (Not sure if it
saves what page you were on).


On Mon, Nov 18, 2013 at 9:46 AM, Anna  wrote:

> If possible, deploy epubs rather than pdfs.
>
> You can always convert an epub to a pdf.  You can't easily do it the other
> way round.  Go ahead and search, the pdf format is a bane for people who
> use ereaders.
>
> Also, epubs open from the Journal in the Read Activity, where kids can use
> bookmarks.  PDFs open in Browse and there's no bookmarking mechanism.  So
> you're halfway through a PDF, shut down your XO for the day, then the next
> morning open the PDF back up and have to scroll to where you left off.  Not
> cool.
>
>
> On Sun, Nov 17, 2013 at 8:38 PM, Curt Thompson wrote:
>
>> In the short term, I just followed Anna's suggestion and put the PDFs in
>> a directory I made "/var/www/html/science".  I tested it out with the
>> Browse activity in the XO-1 James is lending me as a client and it seems
>> to work relatively well - opens in-browser, which is nice.
>>
>> Not super fast but the images/text load up within a few seconds and it's
>> scrollable with the buttons near the monitor (once you click inside the
>> PDF).  I'm considering whether it's worth it to extract each page as an
>> image and convert all these PDFs into essentially an HTML-based "e-book"
>> to make it more responsive.
>>
>> In the long term, I'd like to be able to train teachers in how to add
>> content.  If we can send them a USB stick with PDFs, for example, it'd
>> be nice for them to be able to simply copy it into place and enjoy the
>> updated content.  Would this be the case once I got Pathagar set up and
>> working?
>>
>> I'll also work on documentation when I can.  I started to write setup
>> documentation but the online install info on the wiki is pretty good.
>> What's missing (in my humble opinion) is what to do with XSCE once it's
>> up and running.  I'll try to make some time to document the things I
>> learn as I go.
>>
>> Thanks for the help
>>
>>
>> On 11/17/2013 12:05 PM, Sameer Verma wrote:
>> > On Sat, Nov 16, 2013 at 8:15 PM, Anna  wrote:
>> >> Pathagar is still a work in progress.  I'm not sure if it can handle
>> pdfs,
>> >> though.  Last I saw, it was just epubs.
>> >>
>> > By design, Pathagar will serve *any* kind of file. The file serving is
>> > done via HTTP (Can be apache, nginx, or lighttpd, etc). Here is an
>> > example of PDF: http://108.171.173.65/book/10/view and here's an
>> > example of epub: http://108.171.173.65/book/8/view Pathagar itself
>> > doesn't care about the file format, as long as the http server has a
>> > way (MIME) to handle it. As far as the Pathagar software itself is
>> > concerned, there are no showstopping bugs that I know of.
>> >
>> > A couple of notes on the *installation* of Pathagar, where we do have
>> > a bunch of problems:
>> >
>> > 1) The *current* version of Pathagar is borked. I haven't gone back to
>> > see where it fails or how, but there should be a prior version that
>> > works. There is also a version (patch) that apparently fixes the book
>> > edit and upload problem. I have not tested it. I hope someone else can
>> > take a look?
>> >
>> > https://github.com/PathagarBooks/pathagar/issues
>> >
>> > 2) There seem to be multiple deployment approaches. We have PIP, RPM,
>> > fabric, and the good old way of installing and configuring by hand
>> > (which is what I follow, because I haven't had the time to test the
>> > other methods). At the OLPC SF Summit, Jerry told me that they have
>> > the RPM part addressed, but the current bug (cannot add/edit books)
>> > gets in the way.
>> >
>> > Hopefully the latest patch can address these things.
>> >
>> >> For your immediate purposes, I'd suggest `mkdir /var/www/html/science`
>> and
>> >> put the pdfs there.  Then clients can go to
>> http://schoolserver/science to
>> >> download them.
>> >>
>> >> Anna
>> >>
>> >>
>> >> On Sat, Nov 16, 2013 at 10:05 PM, Curt Thompson <
>> curtathomp...@gmail.com>
>> >> wrote:
>> >>> So I've been tinkering around XSCE School Server for a while now - I
>> >>> have it set up with Internet-in-a-box via USB drive and I spent a
>> while
>> >>> trying to get my laptop to work as AP/server.
>> >>>
>> >>> I've also been poking around looking for basic setup info.  In
>> >>> particular, I'm trying to upload these ~36 Science Textbook PDFs and
>> I'm
>> >>> not sure where to put them, if I should just be copying them to some
>> >>> directory (etc/Moodle or etc/pathagar or /library/pathagar/media?) or
>> >>> uploading them via one of these systems.  Any advice on which method
>> is
>> >>> best?
>> >>>
>> >>> I've looked around the Wiki but I can't find anything like a basic
>> setup
>> >>> guide (such as a reference that could be used by teachers, students,
>> >>> and/or volunteers in the field.)  Is there such a guide?
>> >>
>> >
>> >
>>
>>
>
___
Server-devel mailing list
Server-devel@lists.laptop.org

Re: [Server-devel] [XSCE] End User Documentation / Basic Setup Guide / How to upload PDFs etc

2013-11-17 Thread Anna
If possible, deploy epubs rather than pdfs.

You can always convert an epub to a pdf.  You can't easily do it the other
way round.  Go ahead and search, the pdf format is a bane for people who
use ereaders.

Also, epubs open from the Journal in the Read Activity, where kids can use
bookmarks.  PDFs open in Browse and there's no bookmarking mechanism.  So
you're halfway through a PDF, shut down your XO for the day, then the next
morning open the PDF back up and have to scroll to where you left off.  Not
cool.


On Sun, Nov 17, 2013 at 8:38 PM, Curt Thompson wrote:

> In the short term, I just followed Anna's suggestion and put the PDFs in
> a directory I made "/var/www/html/science".  I tested it out with the
> Browse activity in the XO-1 James is lending me as a client and it seems
> to work relatively well - opens in-browser, which is nice.
>
> Not super fast but the images/text load up within a few seconds and it's
> scrollable with the buttons near the monitor (once you click inside the
> PDF).  I'm considering whether it's worth it to extract each page as an
> image and convert all these PDFs into essentially an HTML-based "e-book"
> to make it more responsive.
>
> In the long term, I'd like to be able to train teachers in how to add
> content.  If we can send them a USB stick with PDFs, for example, it'd
> be nice for them to be able to simply copy it into place and enjoy the
> updated content.  Would this be the case once I got Pathagar set up and
> working?
>
> I'll also work on documentation when I can.  I started to write setup
> documentation but the online install info on the wiki is pretty good.
> What's missing (in my humble opinion) is what to do with XSCE once it's
> up and running.  I'll try to make some time to document the things I
> learn as I go.
>
> Thanks for the help
>
>
> On 11/17/2013 12:05 PM, Sameer Verma wrote:
> > On Sat, Nov 16, 2013 at 8:15 PM, Anna  wrote:
> >> Pathagar is still a work in progress.  I'm not sure if it can handle
> pdfs,
> >> though.  Last I saw, it was just epubs.
> >>
> > By design, Pathagar will serve *any* kind of file. The file serving is
> > done via HTTP (Can be apache, nginx, or lighttpd, etc). Here is an
> > example of PDF: http://108.171.173.65/book/10/view and here's an
> > example of epub: http://108.171.173.65/book/8/view Pathagar itself
> > doesn't care about the file format, as long as the http server has a
> > way (MIME) to handle it. As far as the Pathagar software itself is
> > concerned, there are no showstopping bugs that I know of.
> >
> > A couple of notes on the *installation* of Pathagar, where we do have
> > a bunch of problems:
> >
> > 1) The *current* version of Pathagar is borked. I haven't gone back to
> > see where it fails or how, but there should be a prior version that
> > works. There is also a version (patch) that apparently fixes the book
> > edit and upload problem. I have not tested it. I hope someone else can
> > take a look?
> >
> > https://github.com/PathagarBooks/pathagar/issues
> >
> > 2) There seem to be multiple deployment approaches. We have PIP, RPM,
> > fabric, and the good old way of installing and configuring by hand
> > (which is what I follow, because I haven't had the time to test the
> > other methods). At the OLPC SF Summit, Jerry told me that they have
> > the RPM part addressed, but the current bug (cannot add/edit books)
> > gets in the way.
> >
> > Hopefully the latest patch can address these things.
> >
> >> For your immediate purposes, I'd suggest `mkdir /var/www/html/science`
> and
> >> put the pdfs there.  Then clients can go to http://schoolserver/scienceto
> >> download them.
> >>
> >> Anna
> >>
> >>
> >> On Sat, Nov 16, 2013 at 10:05 PM, Curt Thompson <
> curtathomp...@gmail.com>
> >> wrote:
> >>> So I've been tinkering around XSCE School Server for a while now - I
> >>> have it set up with Internet-in-a-box via USB drive and I spent a while
> >>> trying to get my laptop to work as AP/server.
> >>>
> >>> I've also been poking around looking for basic setup info.  In
> >>> particular, I'm trying to upload these ~36 Science Textbook PDFs and
> I'm
> >>> not sure where to put them, if I should just be copying them to some
> >>> directory (etc/Moodle or etc/pathagar or /library/pathagar/media?) or
> >>> uploading them via one of these systems.  Any advice on which method is
> >>> best?
> >>>
> >>> I've looked around the Wiki but I can't find anything like a basic
> setup
> >>> guide (such as a reference that could be used by teachers, students,
> >>> and/or volunteers in the field.)  Is there such a guide?
> >>
> >
> >
>
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] The three step XSCE demo!

2013-11-17 Thread Anish Mangal
Hi,

Had some time on my hand this week to try out XSCE in a virtual
environment. It actually worked out pretty well, and now there's a working
appliance. Here's the three step XSCE demo!

*Step #1 - Download and install Virtualbox*

   - Head to https://www.virtualbox.org/wiki/Downloads to download the
   Virtualbox package for your OS.
   - Install instructions may vary for different platforms but should be
   pretty straightforward.

*Step #2 - Download and install the XSCE appliance*

   - Download the XSCE Virtualbox appliance from here
   https://docs.google.com/file/d/0B3eW2YPe6koIVXRVbDhSR0xXQ1U (approx 1.6
   GB)
   - *[optional]* Verify the md5sum to see if the image is not corrupt
   - 56a4f141b564b0d2bd65c543a5e585c6
   - Open Virtualbox. Go to File -> Import Appliance.
   - A dialog will appear asking you to "Open Appliance"
   - Select the file you just downloaded "b_1364170741.ova"
   - Click "Next" and then click "Import"
   - A new virtual machine will get created

*Step #3 - Play!*

   - Start the virtual machine just created. It will open a window, and an
   OS will appear to boot.
   - Wait till it boots. Once it has booted, a login prompt will appear in
   a text console. Your XSCE is now up and ready!
   - To test/demo, on the host OS (i.e., the one where you are running the
   virtualbox software in) open a browser
  - XSCE homepage: http://localhost:3380/
 - From the homepage you should be able to navigate to Internet In
 A Box. This image contains a test dataset.
 - The link to the moodle homepage will NOT work. To access moodle,
 go to http://localhost:3380/moodle/login/index.php. I am not able
 to login, and there seems some issue with the homepage loading.
  - Administrative GUI: http://localhost:9990 (username=root,
  password=admin)
  - Server monitoring tool - Munin:
http://localhost:3380/munin(username=admin, password=munindxs)
  - To check the authserver, go to http://localhost:5000/ (It will
  probably say "No Sugar platform detected, please register your laptop")

*Notes:*

   - This is only meant to be a quick demo to see what an XSCE is on your
   laptop/PC.
   - I didn't setup root login (or atleast don't know the password to it).
   So you won't be able to login to the XSCE once it's running. Should not be
   a huge issue just for end-user demo purposes.
   - This is just a weekend hack, I did based on a Vagrantfile supplied by
   Santi. At this moment, this is not officially supported or anything (but as
   far as I know in my testing, it works!)
   - If this is a useful thing to maintain (based on feedback to this
   thread :-) ) I (or somebody else) can propose this as a feature for 0.5/6.
   So there are officially supported demo appliances.
   - A wiki page is in the works.

Please try it out and let me know what you think of it!

Thanks,
Anish
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Moving toward headless install on trimslice

2013-11-17 Thread Jerry Vonau
On Sun, 2013-11-17 at 17:01 -0500, Tim Moody wrote:
> How does the os get onto the trimslice?
> 

zcat it onto a SDcard,

> How do you sudo if the only known user is not a sudoer?
> 

use su, and the default password setup in the image.

Jerry

> Date: Sat, 16 Nov 2013 12:12:33 -0500
> >From: George Hunt 
> >To: XS Devel 
> >Subject: [Server-devel] Moving toward headless install on trimslice
> >for XSCE
> >Message-ID:
> >
> >Content-Type: text/plain; charset="iso-8859-1"
> >
> >I'm wanting to do the following:
> >
> >   - Get rid of the autologon to root at console tty.
> >   - Add a non privileged user (not a sudoer, not wheel), as we had
> >   pre-ansible, (user:admin,pw:12admin), so that the sshd config of
> >   "permitrootlogon no" can remain in place.
> >   - enable password authentication
> >   - Configure avahi to announce, so that in a trimslice situation, we can
> >   easily determine the remote sshd target ip.
> >
> >What do people think?
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel


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


Re: [Server-devel] Moving toward headless install on trimslice

2013-11-17 Thread Tim Moody

How does the os get onto the trimslice?

How do you sudo if the only known user is not a sudoer?

Date: Sat, 16 Nov 2013 12:12:33 -0500

From: George Hunt 
To: XS Devel 
Subject: [Server-devel] Moving toward headless install on trimslice
for XSCE
Message-ID:

Content-Type: text/plain; charset="iso-8859-1"

I'm wanting to do the following:

  - Get rid of the autologon to root at console tty.
  - Add a non privileged user (not a sudoer, not wheel), as we had
  pre-ansible, (user:admin,pw:12admin), so that the sshd config of
  "permitrootlogon no" can remain in place.
  - enable password authentication
  - Configure avahi to announce, so that in a trimslice situation, we can
  easily determine the remote sshd target ip.

What do people think?

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


Re: [Server-devel] [XSCE] End User Documentation / Basic Setup Guide / How to upload PDFs etc

2013-11-17 Thread Sameer Verma
On Sat, Nov 16, 2013 at 8:15 PM, Anna  wrote:
> Pathagar is still a work in progress.  I'm not sure if it can handle pdfs,
> though.  Last I saw, it was just epubs.
>

By design, Pathagar will serve *any* kind of file. The file serving is
done via HTTP (Can be apache, nginx, or lighttpd, etc). Here is an
example of PDF: http://108.171.173.65/book/10/view and here's an
example of epub: http://108.171.173.65/book/8/view Pathagar itself
doesn't care about the file format, as long as the http server has a
way (MIME) to handle it. As far as the Pathagar software itself is
concerned, there are no showstopping bugs that I know of.

A couple of notes on the *installation* of Pathagar, where we do have
a bunch of problems:

1) The *current* version of Pathagar is borked. I haven't gone back to
see where it fails or how, but there should be a prior version that
works. There is also a version (patch) that apparently fixes the book
edit and upload problem. I have not tested it. I hope someone else can
take a look?

https://github.com/PathagarBooks/pathagar/issues

2) There seem to be multiple deployment approaches. We have PIP, RPM,
fabric, and the good old way of installing and configuring by hand
(which is what I follow, because I haven't had the time to test the
other methods). At the OLPC SF Summit, Jerry told me that they have
the RPM part addressed, but the current bug (cannot add/edit books)
gets in the way.

Hopefully the latest patch can address these things.

> For your immediate purposes, I'd suggest `mkdir /var/www/html/science` and
> put the pdfs there.  Then clients can go to http://schoolserver/science to
> download them.
>
> Anna
>
>
> On Sat, Nov 16, 2013 at 10:05 PM, Curt Thompson 
> wrote:
>>
>> So I've been tinkering around XSCE School Server for a while now - I
>> have it set up with Internet-in-a-box via USB drive and I spent a while
>> trying to get my laptop to work as AP/server.
>>
>> I've also been poking around looking for basic setup info.  In
>> particular, I'm trying to upload these ~36 Science Textbook PDFs and I'm
>> not sure where to put them, if I should just be copying them to some
>> directory (etc/Moodle or etc/pathagar or /library/pathagar/media?) or
>> uploading them via one of these systems.  Any advice on which method is
>> best?
>>
>> I've looked around the Wiki but I can't find anything like a basic setup
>> guide (such as a reference that could be used by teachers, students,
>> and/or volunteers in the field.)  Is there such a guide?
>
>



-- 
Sameer Verma, Ph.D.
Professor, Information Systems
San Francisco State University
http://verma.sfsu.edu/
http://commons.sfsu.edu/
http://olpcsf.org/
http://olpcjamaica.org.jm/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel