Sysadmin:SageNB Server

From Earlham CS Department
Jump to navigation Jump to search

The Sage Notebook server is currently running on the tools virtual machine. It can be accessed via a browser at https://sage.cs.earlham.edu. Installing Sage information will be updated shortly.

Installation

Starting/Stoping

Sage is run by a sage user, so all starting and stoping is done by that user.

  1. Connect to tools, which runs sage. ssh tools.cs.earlham.edu.
  2. Become the sage user: sudo su - sage
  3. Check if anything is running with ps auxww | grep sage.
  4. If you're restarting or stopping, then kill anything running that's associated with sage.
  5. There's a sage-x.x (version) dir in the sage user's home dir where all of the source is. cd sage-x.x
  6. Remove the nohup.out file. rm nohup.out
  7. To start: nohup /home/sage/sage-x.x/sage --notebook=sagenb accounts=False automatic_login=False interface='' port=8080 &