ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 23 Mar 2013 01:01:50 +0100Sage installation administrationhttps://ask.sagemath.org/question/9936/sage-installation-administration/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
-simonFri, 22 Mar 2013 15:43:27 +0100https://ask.sagemath.org/question/9936/sage-installation-administration/Answer by ppurka for <p>Hello there,</p>
<p>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:</p>
<ol>
<li><p>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?</p></li>
<li><p>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]</p></li>
</ol>
<p>Where can I find documentation on topics more towards the administration of sage installation than using sage?</p>
<p>thanks
-simon</p>
https://ask.sagemath.org/question/9936/sage-installation-administration/?answer=14676#post-id-14676There is a wiki page about [how to set up a sage server](http://wiki.sagemath.org/SageServer).
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.Sat, 23 Mar 2013 01:01:50 +0100https://ask.sagemath.org/question/9936/sage-installation-administration/?answer=14676#post-id-14676