On 10/13/07, William Stein <[EMAIL PROTECTED]> wrote:
>
> On 10/12/07, Bill Page <[EMAIL PROTECTED]> wrote:
> > > Excellent!  So you and me could work together on Sage-via-andLinux.
> > > Sounds good to me.
> > >
> >
> > The build of Sage on andLinux worked fine. Everything seems to work as
> > advertised. It took quite a long time (about 10 minutes!) for the
> > notebook.setup() initialization certtool to create the the private key
> > required to run notebook in secure mode. Apparently this is a known
> > problem of finding enough "entropy" with linux running on virtual
> > machines. I guess it applies to co-linux/andLinux as well.
>
> I bet you just don't have openssh and ssh-keygen installed.
> The problem is that GNUtls is insanely dog slow crap at generating
> keys, and Sage falls back on gnutls when ssh-keygen isn't available
> systemwide.
>

Well, I checked and openssh is installed and ssh-keygen is available
with the base install of andLinux but doing

  sage: notebook()

the first time still takes a very long time (about 10 minutes!).

> ...
> > As I understand it, packaging andLinux with additional pre-installed
> > software (like Sage) involves just shutting down andLinux and
> > re-tarballing the installation directory. I have a feeling however
> > that this is going to be a rather big tarball with Sage included. I'll
> > give this a try. I also will try creating an NSIS install since in the
> > past I have had good results with it's compression methods.
>
> Thanks!
>

I tried this several different ways to create the smallest download
possible but in the end the best I could do is about 318 Mbytes - a
rather large download but it includes both andLinux and Sage. NSIS
didn't work out. It choked on compressing a disk image file greater
than 2 Gb. 7-zip created the best result.

> > Again, I really would like to hear from anyone else who has tried to
> > install andLinux. So far my experience involves only 4 Windows XP
> > boxes although they were all configured slightly differently. andLinux
> > ran "out-of-the-box" on all of these.
>
> Thanks for working on this.  I'll try it once you upload a copy to
> sage.math.
>

You can download it here:

  http://sage.math.washington.edu/home/page/sage-2.8.7-andLinux.exe

This is a self extracting 7-zip file. To extract everything just run
the file then follow the instructions below:

1) In the 'andLinuxPreBeta' directory click on 'run_to_install.bat'
    Click continue at the warning message.
2) Then click on 'startup.bat'
    You can right-click and use Send To/Desktop to create a start icon.
     If you have a firewall enabled on Windows (e.g. Norton) you will
have to allow
     Xming access to some standard ports.
     An icon panel should appear at the top center of your screen.
3) Click on the Linux terminal icon (leftmost icon)
    Note: The windows C: drive is accessible as \c
4) Start Sage
    # cd sage*
    # ./sage
5) If desired, start the notebook
    sage: notebook()
    You should expect to wait a long time while the key is generated.
    FireFox will open, running in Linux but displayed on the Windows desktop

The installation can be simplified a little and the integration with
Windows improved using some techniques described on the 'andLinux' web
site but I think this is simple enough to get started. Let me know if
this works for you.

Regards,
Bill Page.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to