Hello,

On Mon, Jan 12, 2009 at 2:59 PM, A. Jorge Garcia <calcp...@aol.com> wrote:
>
> Just wondering how to setup something like www.sagenb.org on my own
> server?  Do I need apache first?

You don't need to have Apache first -- you just need to specify the
correct options when you start the notebook.  The following options
are relevant:

acounts=True -- this will make it so that users can register for
accounts on the notebook

port=9999 -- this sets the port that the web server will run on

secure=True -- this tells the web server to only accept connections over https.

address='192.168.0.1' -- this tells the web server to listen on
interface 192.168.0.1 for connections.
open_viewer=False -- tells Sage not to open up the web browser to the notebook


Putting it all together, we'd get something like:

sage: notebook(accounts=True, secure=True, port=80,
address='sage.math.washington.edu', open_viewer=False)

You can viewed more detailed information on these options by typing
"notebook?" at the Sage command line.

If you make a server that's accessible by others, then you'll
definitely want to take security issues into account as giving someone
access to a notebook server is basically the same as giving them shell
account access.

--Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to