Nathan, I'm sorry to hear of your frustration. We've tried to make it easy, in fact everyone who uses Sage via the notebook interface starts up a Sage server. The issue here is that giving someone a Sage notebook account is basically giving them shell access--something you wouldn't want to hand out to just anyone on one of your computers.
The best page I found was at http://wiki.sagemath.org/DanDrake/ JustEnoughSageServer . Hopefully those in the know could consolidate their expertise here. - Robert On Jan 16, 2009, at 6:18 PM, Nathan Carter wrote: > I've been attempting to answer my own questions here by Googling > around, and I must admit that this is a highly frustrating > experience. I have rather extensive computer experience and I'm > finding a SAGE server maddening to set up. Do normal mathematicians > find this easy and I'm just being boneheaded today, or is SAGE server > setup only for the ultimate in Unix ninjas? > > For instance, the best two resources I've found are > (a) Dan's post mentioned earlier in this thread (about which I still > have unanswered questions that are keeping me from succeeding in that > direction; see earlier in this thread), and > (b) a post by Luiz here: http://markmail.org/message/aovcanxgna6alwvs > but in replies to it, William Stein throws out numerous corrections, > some of which include frightening comments about how everything will > be brought down by a malicious user if you do X instead of Y. > > If the terrain is truly this perilous, why is there not clear > documentation on how to set this up? Is this not a crucial bridge > anyone must cross if they hope to adopt SAGE for classroom use? Is it > truly the case that SAGE is as mature and well-known as it is becoming > without a tutorial on how to set it up for a class of students to > use? I'm hoping that perhaps I just haven't Googled correctly, and > someone can point me to the right doc page that I'm just not seeing. > > Nathan > > > On Jan 14, 10:40 am, Nathan Carter <nathancart...@gmail.com> wrote: >> Thank you for the reply! >> >> On Jan 14, 2009, at 10:20 AM, mabshoff wrote: >> >>>> 1. I had some confusion when I ran sage the first time, because it >>>> complained about permissions for creating some files. So I ran it >>>> with sudo in front, and it worked fine. Now thereafter, I can >>>> run it >>>> without sudo and it doesn't complain. So it seems the first run >>>> has >>>> to have privileges to make certain files?? >> >>> No, do you remember which files it was complaining about? This >>> should >>> not happen unless you unpack Sage as root and then run it as a non- >>> root user user. This would explain the need to run Sage with sudo >>> once >>> and then it worked without it. >> >> Unfortunately, because I'm doing this under VirtualBox and JeOS >> (as in >> Dan's tutorial--link below) what scrolls off the screen is gone for >> good. >> >> But I should mention that when I followed Dan's directions for >> downloading SAGE, the first time I ran it, it said my processor was >> incompatible with the one on which the binary was compiled, so I >> should expect invalid instruction errors, and my only option was to >> build from sources. So I deleted that installation, downloaded the >> sources, and built them. And yes, IIRC I did the unpacking and the >> making with "sudo" in front. >> >> If doing so has painted myself into a corner, then including in Dan's >> wiki page what people in my situation *should* do instead is, I >> think, >> essential. The processor isn't even that old, so this may impact a >> nontrivial percentage of that page's readers. Well, not *that* old; >> it's a 3.something GHz Pentium something. >> >>>> 2. When I run sage start_notebook.sage it claims that nb1 cannot >>>> run >>>> the command sage (no such file or directory). I thought perhaps I >>>> had >>>> to add the sage path to that user's ~/.bashrc, but that did not fix >>>> the problem. Thus the whole "sage start_notebook.sage" fails in >>>> the >>>> end. >> >>> You can invoke the notebook via ./sage -notebook, but if you post >>> start_notebook.sage or tell us what you want to do I am sure this >>> can >>> be sorted out. >> >> The start_notebook.sage is the one in Dan's wiki article, >> mentioned in >> the first post in this thread. Here's the link for convenience; >> the .sage file is at the bottom (linked). >> >> http://wiki.sagemath.org/DanDrake/JustEnoughSageServer >> >> Thanks again for any assistance available! >> >> Nathan > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---