Loading EdX on a Development Server

126 views
Skip to first unread message

Sean Fawcett

unread,
Feb 24, 2015, 2:49:15 PM2/24/15
to opene...@googlegroups.com
Hi:

I have successfully installed EdX on my development "server" (a MacBook Pro) using the Vagrant / Virtualbox Full Stack using the instructions on this page:

The system seems to run fine and I can access it on the development machine with the following link:

How can I access the system from another computer on the same network?  

I can access my XAMPP server/files using:
but I can't figure out how to get to the EdX implementation

Any suggestions greatly appreciated.


Nilesh Londhe

unread,
Feb 24, 2015, 2:55:54 PM2/24/15
to opene...@googlegroups.com
Here are the steps. 
  • Locate your Vagrantfile.

  • Uncomment or add this line.

config.vm.network "public_network"

reload

vagrant reload

Your router will then assign a “public” ip address different than 192.168.33.10

Use that ip address new “public” address from another computer on your local network 192.168.0.XYZ.

--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sean Fawcett

unread,
Feb 24, 2015, 5:34:30 PM2/24/15
to opene...@googlegroups.com
Thanks for the reply.

I've edited the Vagrantfile as you suggested and then restarted the VirtualBox.  I am now getting a message I have not seen before"
"Precise 64 login:
Ubuntu 12.04 LTS Precise 64 tty1
Precise 64 login:"

EdX is still available at http://192.168.33.10   Is there a problem?

How do I know what the new "public address" is for access from another machine

(Sorry, I'm new to VirtualBox and Vagrant)

is that "Vagrantfile.rb"?

Nilesh Londhe

unread,
Feb 24, 2015, 5:41:31 PM2/24/15
to opene...@googlegroups.com

It is not Vagrantfile.rb its just Vagrantfile Good to note edx is still available at 192.168.33.10

In mac, go to the folder where Vagrantfile is located and then run vagrant ssh that would take you to ubuntu terminal where you type ifconfig and look for an ip address on the lines 192.168.0.XYZ That is the address you are looking for.

Sean Fawcett

unread,
Feb 27, 2015, 12:33:47 PM2/27/15
to opene...@googlegroups.com
Thanks, again for your reply.

Excuse me if I sound dim; I am new with Vagrant and VirtualBox

I have been able to find the Vagrantfile and it's modified date is Feb 24 so it must be the correct one

From "terminal" (on a mac) when I type "vagrant ssh" I get the following error:
"VM must be created before running this command. Run `vagrant up` first."

Then, when I type "vagrant up", I get:
"Bringing machine 'default' up with 'virtualbox' provider...

==> default: Box 'base' could not be found. Attempting to find and install...

    default: Box Provider: virtualbox

    default: Box Version: >= 0

==> default: Adding box 'base' (v0) for provider: virtualbox

    default: Downloading: base

An error occurred while downloading the remote file. The error

message, if any, is reproduced below. Please fix this error and try

again.


Couldn't open file /Users/seanfawcett/base"

I know "vagrant up" worked previously, when I installed the instance but I am not sure what's going wrong now.

Any assistance would be greatly appreciated

Nilesh Londhe

unread,
Feb 27, 2015, 12:38:01 PM2/27/15
to opene...@googlegroups.com
May I suggest http://docs.vagrantup.com/v2/getting-started/ and running with vagrant virtualbox a bit before tinkering with openedX on vagrant. 

Sean Fawcett

unread,
Feb 27, 2015, 12:40:22 PM2/27/15
to opene...@googlegroups.com
Perfect, thanks...  I was going to ask if there was a source for a tutorial.  I'll run through this and try again...
Reply all
Reply to author
Forward
0 new messages