On Mon, Jan 12, 2009 at 2:59 PM, A. Jorge Garcia <calc...@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
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.
It's just a web server, so they'll just fire up a web browser and go
to the address and port that the server is running on. For example,
if the server is 192.168.0.1 and the notebook is running on port 8000,
the user would just open up the web browser to
If DNS is set up, then the users can use the DNS name of the server
and not have to use the IP address.
--Mike
It's on my todo list to do so, but I haven't got to it. I'm sure Mike
Hansen will
look at it too.
I think a summary of his instructions would go well in the docstring
for notebook?
and hence in the official reference manual. Where better to look for
full details on
how to setup the notebook than in notebook?
-- William