How to set up a macmini as a server?

12 views
Skip to first unread message

Calcifer

unread,
Mar 18, 2009, 12:38:03 PM3/18/09
to sage-support
Hi,

I have downloaded Sage 3.4 to my MacMini running10.5.6.

When I write notebook(), it starts as expected in a web broswer, but
may not be accessible throu the local network.

if I write the following, I get blank (white) pages both on the
macmini and on the other computer, ie can not access Sage through
either of the computers.
notebook('local_notebook', port=8001, secure=True, address='',
open_viewer=False, accounts=True)
I found the above in one of posts, but don't really understand all of
the expression.

My aim is to be able to access Sage from any computer and that Sage is
automatically starts up after a power failure.

Have a nice day,
T

William Stein

unread,
Mar 18, 2009, 5:45:44 PM3/18/09
to sage-s...@googlegroups.com
On Wed, Mar 18, 2009 at 9:38 AM, Calcifer <truls.c...@gmail.com> wrote:
>
> Hi,
>
> I have downloaded Sage 3.4 to my MacMini running10.5.6.
>
> When I write notebook(), it starts as expected in a web broswer, but
> may not be accessible throu the local network.
>
> if I write the following, I get blank (white) pages both on the
> macmini and on the other computer, ie can not access Sage through
> either of the computers.

Use https://... instead of http://



> notebook('local_notebook', port=8001, secure=True, address='',
> open_viewer=False, accounts=True)
> I found the above in one of posts, but don't really understand all of
> the expression.
>
> My aim is to be able to access Sage from any computer and that Sage is
> automatically starts up after a power failure.
>
> Have a nice day,
> T
>
> >
>



--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

Stan Schymanski

unread,
Mar 19, 2009, 7:09:57 AM3/19/09
to sage-s...@googlegroups.com
Check out this thread:

http://groups.google.com/group/sage-support/browse_thread/thread/b6d99cac522a3cd9/6b99c90b85b68d80?lnk=gst&q=stan+server#6b99c90b85b68d80

In brief, William's instructions worked for me:

"
sage: notebook(address="ipaddress",port=8100,secure=True)

then from another computer on your network try to visit the web page

https://ipaddress:8100

That's pretty much it, except for making accounts. To create accounts
you could temporarily do

sage: notebook(address="ipaddress",port=8100,secure=True, accounts=True)

let people make accounts, then do

sage: notebook(address="ipaddress",port=8100,secure=True,accounts=False)

so no new accounts can be created. "


I used it on our intranet, where I replaced "ipaddress" by the network
name of my computer. It works great.

Stan
Reply all
Reply to author
Forward
0 new messages