On Tue, 13 Jan 2009 at 01:43PM -0600, Jason Grout wrote: > Nathan Carter wrote: > > Dear Jason, > > > > I believe we met on the shuttle to our hotels at the Joint Meetings > > last week, and talked about setting up a sage server for use in a > > class. You gave a talk on it, but I was unable to attend. You > > suggested that I look at Dan Drake's wiki post on how to set up a > > sage server under VirtualBox. That was a big help, and I've > > completed nearly all of the steps. > > Fantastic! I'm glad Dan's tips worked well.
*I'm* glad my tips worked! > >> Create an unprivileged user that defaults to the sageusers group: > >> sudo adduser --ingroup sageusers nb1 > >> I also created nb2, nb3, nb4, and nb5. I don't know how many you > really need. Next, generate a passwordless ssh key as the sageadm user > and copy it to all the unprivileged users; it's convenient to use > "ssh-copy-id n...@localhost" for this. > > > > I'm not sure what these users are for, and he never says. Do you > understand this step? For your reference, the page is here: As Jason says, those are "slave" users that the notebook server process uses. Try this: start up the notebook using the server_pool options and nb1, nb2, etc users as on that page. In another terminal, do `ps ax' and you'll see something like this: 4902 pts/1 S+ 0:00 ssh n...@localhost nohup sage -cleaner 4904 pts/2 S+ 0:00 ssh -t n...@localhost ulimit -v 500000 -f 100000 -u 10 4906 ? Ss 0:00 sshd: nb4 [priv] 4907 pts/1 S+ 0:03 python /opt/sage-3.2.3-pentiumM-ubuntu32bit-i686-Linu (and lots of other stuff, of course). The main notebook server process has ssh'd to the nb4 account and is running a Sage process as that user. That process does all the computation when you are using the notebook. Do let me (or the sage-support list) know if there's any confusion about that wiki page, or if you have suggestions to make it better. Dan -- --- Dan Drake <dr...@kaist.edu> ----- KAIST Department of Mathematical Sciences ------- http://mathsci.kaist.ac.kr/~drake
signature.asc
Description: Digital signature