Sage: Unterschied zwischen den Versionen

Aus Doc-Wiki
Zur Navigation springen Zur Suche springen
imported>Burghardt
imported>Burghardt
Zeile 1: Zeile 1:
 
 
 
'''<cite>''Sage is a free open-source mathematics software system licensed under the GPL.''</cite>'''
 
'''<cite>''Sage is a free open-source mathematics software system licensed under the GPL.''</cite>'''
   
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 :-)
+
Seit dem 16.05.2014 steht "Sage" auch im Pool unter Ubuntu 14.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:
 
''Jeder'' User kann einfach einen lokalen Server starten:
   
 
<pre>~$ sage
 
<pre>~$ sage
  +
┌────────────────────────────────────────────────────────────────────┐
----------------------------------------------------------------------
 
| Sage Version 5.4.1, Release Date: 2012-11-15 |
+
Sage Version 6.2, Release Date: 2014-05-06
| Type "notebook()" for the browser-based notebook interface. |
+
Type "notebook()" for the browser-based notebook interface.
| Type "help()" for help. |
+
Type "help()" for help.
  +
└────────────────────────────────────────────────────────────────────┘
----------------------------------------------------------------------
 
  +
Setting permissions of DOT_SAGE directory so only you can read and write it.
 
  +
sage:
 
 
sage: notebook()
 
sage: notebook()
 
The notebook files are stored in: sage_notebook.sagenb
 
The notebook files are stored in: sage_notebook.sagenb
  +
┌────────────────────────────────────────────────┐
 
 
Open your web browser to http://localhost:8080
 
  +
└────────────────────────────────────────────────┘
 
Executing twistd --pidfile="sage_notebook.sagenb/sagenb.pid" -ny "sage_notebook.sagenb/twistedconf.tac"
  +
/usr/lib/sagemath/local/lib/python2.7/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
  +
_warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
 
2014-05-16 11:42:01+0200 [-] Log opened.
 
2014-05-16 11:42:01+0200 [-] twistd 13.2.0 (/usr/lib/sagemath/local/bin/python 2.7.5) starting up.
 
2014-05-16 11:42:01+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
 
2014-05-16 11:42:01+0200 [-] QuietSite starting on 8080
 
2014-05-16 11:42:01+0200 [-] Starting factory <__builtin__.QuietSite instance at 0x7b932d8>
   
  +
(process:3733): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
   
   
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).
 
   
 
^C2014-05-16 11:45:02+0200 [-] Quitting all running worksheets...
 
2014-05-16 11:45:02+0200 [-] Saving notebook...
 
2014-05-16 11:45:02+0200 [-] Notebook cleanly saved.
  +
2014-05-16 11:45:02+0200 [-] (TCP Port 8080 Closed)
  +
2014-05-16 11:45:02+0200 [-] Stopping factory <__builtin__.QuietSite instance at 0x7b932d8>
  +
2014-05-16 11:45:02+0200 [-] Main loop terminated.
  +
2014-05-16 11:45:02+0200 [-] Server Shut Down.
 
</pre>
   
  +
<big>Die beim starten von "Notebook()" auftretende Fehlermeldungen können ignoriert werden.</big>
   
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>
 
</pre>
 
 
Zum beenden taugt "Ctrl-C", das beendet den Server sauber:
 
<pre>^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.
 
</pre>
 
   
   

Version vom 16. Mai 2014, 10:47 Uhr

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

Seit dem 16.05.2014 steht "Sage" auch im Pool unter Ubuntu 14.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 6.2, Release Date: 2014-05-06                         │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
     
sage: 
sage: notebook()
The notebook files are stored in: sage_notebook.sagenb
┌────────────────────────────────────────────────┐
│                                                │
│ Open your web browser to http://localhost:8080 │
│                                                │
└────────────────────────────────────────────────┘
Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny "sage_notebook.sagenb/twistedconf.tac"
/usr/lib/sagemath/local/lib/python2.7/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
2014-05-16 11:42:01+0200 [-] Log opened.
2014-05-16 11:42:01+0200 [-] twistd 13.2.0 (/usr/lib/sagemath/local/bin/python 2.7.5) starting up.
2014-05-16 11:42:01+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2014-05-16 11:42:01+0200 [-] QuietSite starting on 8080
2014-05-16 11:42:01+0200 [-] Starting factory <__builtin__.QuietSite instance at 0x7b932d8>

(process:3733): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed



^C2014-05-16 11:45:02+0200 [-] Quitting all running worksheets...
2014-05-16 11:45:02+0200 [-] Saving notebook...
2014-05-16 11:45:02+0200 [-] Notebook cleanly saved.
2014-05-16 11:45:02+0200 [-] (TCP Port 8080 Closed)
2014-05-16 11:45:02+0200 [-] Stopping factory <__builtin__.QuietSite instance at 0x7b932d8>
2014-05-16 11:45:02+0200 [-] Main loop terminated.
2014-05-16 11:45:02+0200 [-] Server Shut Down.

Die beim starten von "Notebook()" auftretende Fehlermeldungen können ignoriert werden.


Siehe auch

Links