On 06/30/10 01:55 AM, rvaug...@gmail.com wrote:
I am running Sage 4.3.4 on Scientific Linux.
Right now the only way I can make it available
via a web browser is to disable the firewall
(not, obviously, a long-term solution).
I have SELinux as permissive, and the following
as trusted services: HTTP, HTTPS, FTP& SSH.
I execute from the sage prompt as follows:
sage: notebook(address="",open_viewer=False)
The output I receive is appended.
Any thoughts on what I need to do to make sage
available via web browser and *not* disable the firewall?
And any thoughts on the warnings within the output?
Thanks,
-Richard Vaughn
You should be able to open your firewall to just the port Sage uses (8000 by
default).
In order to run Sage running on port 80 or 443 you would need to start it as
root, so that would be a bad idea.
I think people do things like proxy sage via apache. I don't know anything about
that myself. I've not done it often, but when I have, I've run Sage at the
default port of 8000 and would open the firewall up on that port only.
Note, when you run a Sage sever, you make it very easy for a user to get a
normal shell prompt and run any arbitrary command.
So running Sage on systems where security is a concern needs some thought given
to it.
Dave
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org