Ask Your Question
1

Sage installation administration

asked 2013-03-22 09:43:27 -0500

Simon Su gravatar image

Hello there,

Not sure if I am looking at the right place for documentation, but I am not able to find much documentation on sage system installation administration. Most of the documentation I can find talks about using sage and installing them. What about for administration of the installation? The following questions come to mind:

  1. Where are the user password on one sage installation stored? Can that password be shared across multiple sage installation on a same local area network? How are they administered?

  2. How do you perform a backup on a sage installation? Just make a copy of all the files in .sage directory? [ for default installation where everything points to .sage directory]

Where can I find documentation on topics more towards the administration of sage installation than using sage?

thanks -simon

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-03-22 19:01:50 -0500

ppurka gravatar image

There is a wiki page about how to set up a sage server.

  1. Users in the sage notebook are setup and stored in the file ~/.sage/sage_notebook.sagenb/users.pickle. All of the configuration in the notebook including the worksheets are in that notebook directory ~/.sage/sage_notebook.sagenb.

  2. If you really want to share users across different installations, you would have to copy the directory I mentioned above. I would advise you

    1. not to simultaneously run different sage servers on the same notebook directory, or,
    2. use copies of the same notebook folder across different machines, unless you have a really good real-time directory synchronization method in place.
  3. If you allow openid access, then you can not use the same notebook directory across different URLs.

  4. You can simply backup the notebook directory from time to time. I do that through a script running under cron that backs up the notebook directory periodically, and deletes old backups.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-22 09:43:27 -0500

Seen: 159 times

Last updated: Mar 22 '13