[sage-support] setting up a sage server
In case anyone is interested, I added my (very rough) set of instructions for setting up a Sage server under "Other Instructions" at the bottom of this page: http://wiki.sagemath.org/DanDrake/JustEnoughSageServer In the instructions, I set up PAM to restrict logins for the sage server account and server_pool user accounts, and I set up Apache2 to be a proxy for the sage server. Thanks, Jason -- Jason Grout -- 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 URL: http://www.sagemath.org
Re: [sage-support] Setting up a sage server securely for students' use
On Thu, Jan 7, 2010 at 5:35 AM, Byungchul Cha wrote: > Hi. > > I am trying to set up a sage server for my students' use. Several > previous posts I've seen seem to suggest: > > 1. Create an account, say "server", in the machine I'm running sage > notebook. Create another (more more) accounts, say "worker", (or > "worker1", "worker2", etc,.). > 2. Set up ssh keys so that "server" can ssh in to "worker" without > password. > 3. Run an instance of notebook from the account "server", but let the > "worker" account run the worksheet process by using the 'server_pool' > option. > 4. Don't forget to run the server securely by choosing the option > 'secure=True'. > > I want to make sure that I get these steps right and these > recommendations are still good. > > I am not so well versed in Linux, so, I will probably need help from > my local IT people to carry out these steps, but, before I contact > him, I wanted to make sure that the above steps are roughly what need > to be done. > > I have sage installed in a virtual machine (open SUSE), and I don't > plan to do anything else in that machine other than running sage for > my students. Also, I will keep the account creation off > ('accounts=False'), except for one day I take my students to our > computer lab when they create their accounts. However, we opened > several ports of the machine to the outside, so that people with > accounts can log in to use their notebooks from off campus (mostly for > me and a few off campus students). > > Please comment if these sound like a reasonable way to run sage for my > situation. Thanks. Yes, it sounds completely right to me. Let us know if the above steps lead you to any trouble. And if they work, we should clearly add them as a summary to some documentation somewhere. William -- 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 URL: http://www.sagemath.org
[sage-support] Setting up a sage server securely for students' use
Hi. I am trying to set up a sage server for my students' use. Several previous posts I've seen seem to suggest: 1. Create an account, say "server", in the machine I'm running sage notebook. Create another (more more) accounts, say "worker", (or "worker1", "worker2", etc,.). 2. Set up ssh keys so that "server" can ssh in to "worker" without password. 3. Run an instance of notebook from the account "server", but let the "worker" account run the worksheet process by using the 'server_pool' option. 4. Don't forget to run the server securely by choosing the option 'secure=True'. I want to make sure that I get these steps right and these recommendations are still good. I am not so well versed in Linux, so, I will probably need help from my local IT people to carry out these steps, but, before I contact him, I wanted to make sure that the above steps are roughly what need to be done. I have sage installed in a virtual machine (open SUSE), and I don't plan to do anything else in that machine other than running sage for my students. Also, I will keep the account creation off ('accounts=False'), except for one day I take my students to our computer lab when they create their accounts. However, we opened several ports of the machine to the outside, so that people with accounts can log in to use their notebooks from off campus (mostly for me and a few off campus students). Please comment if these sound like a reasonable way to run sage for my situation. Thanks. -- 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 URL: http://www.sagemath.org