Sage

Aus Doc-Wiki
Version vom 14. Dezember 2012, 08:50 Uhr von imported>Burghardt
Zur Navigation springen Zur Suche springen


Sage is a free open-source mathematics software system licensed under the GPL.

Seit dem 14.12.2012 steht "Sage" auch im Pool unter Ubuntu 12.04 zur Verfügung. Damit steht jedem einzelnen Nutzer eine eigene Quadcore CPU und 4GiB Ram zur Verfügung :-)

Jeder User kann einfach einen lokalen Server starten:

~$ sage
----------------------------------------------------------------------
| Sage Version 5.4.1, Release Date: 2012-11-15                       |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
----------------------------------------------------------------------
Setting permissions of DOT_SAGE directory so only you can read and write it.

sage: notebook()
The notebook files are stored in: sage_notebook.sagenb



Please choose a new password for the Sage Notebook 'admin' user.
Do _not_ choose a stupid password, since anybody who could guess your password
and connect to your machine could access or delete your files.
NOTE: Only the hash of the password you type is stored by Sage.
You can change your password by typing notebook(reset=True).



Enter new password: 
Retype new password: 
Please login to the notebook with the username 'admin' and the above password.
Password changed for user 'admin'.
**************************************************
*                                                *
* Open your web browser to http://localhost:8080 *
*                                                *
**************************************************
Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny "sage_notebook.sagenb/twistedconf.tac"
2012-12-14 08:34:24+0100 [-] Log opened.
2012-12-14 08:34:24+0100 [-] twistd 12.1.0 (/usr/lib/sagemath/local/bin/python 2.7.3) starting up.
2012-12-14 08:34:24+0100 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2012-12-14 08:34:24+0100 [-] QuietSite starting on 8080
2012-12-14 08:34:24+0100 [-] Starting factory <__builtin__.QuietSite instance at 0xbd1514c>

Zum beenden taugt "Ctrl-C", das beendet den Server sauber:

^C2012-12-14 08:38:44+0100 [-] Quitting all running worksheets...
2012-12-14 08:38:44+0100 [-] Saving notebook...
2012-12-14 08:38:44+0100 [-] Notebook cleanly saved.


Siehe auch

Links