kilucas wrote: > > > On May 12, 6:50 pm, Jason Grout <[email protected]> wrote: >> kilucas wrote: >> >>> On May 12, 5:14 pm, Jason Grout <[email protected]> wrote: >>>> kilucas wrote: >>>>> <snip> >>>>> I hadn't thought about multiple v single notebook architectures and >>>>> will think harder about that now. >>>> Or what I would do in your place is just use one notebook for now, and >>>> worry about trying to set up multiple notebooks later if you want it. >>>> It's trivial to start up multiple notebook instances once you have one >>>> working. >>> V helpful. Thanks. >>>>> So do I just set up the server by following the single user >>>>> installation instructions plus your tips on security, and then find a >>>>> URL that provides remote access to that server? (And if so, what would >>>>> that URL look like?) >>>> There is one setting that you need to change on the vmware server to >>>> allow outside network access (someone else will have to chime in here; I >>>> don't know the setting). I believe you need to change the networking to >>>> be "bridged networking". Then you need to work with your network >>>> administrator about the URL to use to access the server. >>> I'll go in search of this setting. Effectively I am the administrator >>> here (not that I'm a professional techie) so I know the external URL >>> to the current web server that's running on my Windows server but I >>> don't know how I'd adjust this to find Sage. Maybe that'll become >>> obvious but if anyone knows what shape the URL should take, I'd be >>> interested to hear. I'm not even clear at this stage which web server >>> (my existing server or one supplied by Sage) will apply. >> The vmware sage server will have its own IP address, and thus its own >> hostname and URL. Sage includes a webserver that will run over the >> vmware network address; that is the webserver you would use (not the one >> on the host computer). If you change the networking to bridged >> networking, start up the vmware server, then start up sage, you can get >> the hostname by doing: >> >> sage: import socket >> sage: socket.getfqdn() >> 'good' >> >> (fqdn stands for fully qualified domain name) >> > Can I just clarify at what point I run this please? (I'm not quite > sure when I've "started sage" and when I haven't) > > - If I run it after starting the VMWare Player and the sage_vmx so > I'm, at the Sage Login prompt then I'm told that I'm logging in > incorrectly when I try the "import socket" command. > - If I start the VMWare Player, open the sage_vmx and run the notebook > command first, and then try the above commands, I'm still told I'm > logging in incorrectly. > - If I start the VMWare Player, open the sage_vmx, login to sage > (whether I run the notebook command first or not), the import socket > command is greeted with "import: unable to open X server <followed by > two single quotes>" > > In all these cases the networking was nominated as "bridged" before > opening the VMWare Player. > > At present I can't tell if I'm doing this at the wrong poin t in the > starting and logging in sequence or whether I'm doing it at the right > time but something's not working as planned. S I hope you might be > able to clarify for me.
Good job on being so persistent. As you work through this process, we are also realizing things that may make it easier for those following after you. Anytime you see a line that starts with "sage: ", that means to start Sage up first, then type in the command following the colon. Hmmm...I didn't try the above commands in a vmware system. It's possible that there is something that is not installed on the vmware system that prevents the command from working. Another way to get the same information is to login as "manage", then type "hostname". You can also type the command "ifconfig" and it will give you a bunch of information about all the networking on the vmware system, including your IP address, etc. The IP address is the address following the " inet addr:" Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
