Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to setup my development environment? can you tell me in detail? #97

Open
jacobishao opened this issue Sep 23, 2015 · 15 comments
Open

Comments

@jacobishao
Copy link

my operating system is Windows 7 ,and I have install vagrant and virtual box.but I don't know to execute this command

default

@pankaj-imaginea
Copy link

Getting started with vagrant on windows.
http://www.seascapewebdesign.com/blog/part-1-getting-started-vagrant-windows-7-and-8

@jacobishao
Copy link
Author

thank you very much!
another question has raised. when reading this sentience below:
"Once the lucid32 image is ready, we need to define our development environment using a Vagrantfile, create a file named
Vagrantfile. This file defines what prerequisites our environment needs: nasm, make, build-essential, grub "
which directory should the vagrantfile to be located?

@pankaj-imaginea
Copy link

It should be in the top level directory of your project, from where you intent to launch vagrant. i.e you should call the 'vagrant' command from the same directory as the Vagrant file.

@jacobishao
Copy link
Author

if my project is located in E:\download\How-to-Make-a-Computer-Operating-System-master\src,then the vagrantfile should be in the root of src foler, right ?

@pankaj-imaginea
Copy link

Here: E:\download\How-to-Make-a-Computer-Operating-System-master\Vagrantfile

@jacobishao
Copy link
Author

ok,very thank you !

@jacobishao
Copy link
Author

when trying to build the systerm like what was said by the autor,
default

@metacritical
Copy link

Well you need a Makefile to run make.

@jacobishao
Copy link
Author

it's under the src
default

@metacritical
Copy link

I hope it is not empty and has the instructions for make to build your code as described in the following makefile

https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System/blob/master/src/Makefile

@metacritical
Copy link

Also you got to be in scr/ directory, so when you execute 'make' it is able to find the Makefile.

@jacobishao
Copy link
Author

when using "ls" command,it show that:

ls: cannot open directory .: Operation not permitted

@metacritical
Copy link

Try this :

sudo usermod -a -G sudo vagrant

You must logout and login again for this to take place.

@jacobishao
Copy link
Author

default

@metacritical
Copy link

Humm try this :

ok that means your user does not have root privileges, do this :

# sudo visudo

find a place in the file like this

# User privilege specification
vagrant    ALL=(ALL:ALL) ALL

and update it to

# User privilege specification
vagrant   ALL=(ALL:ALL) ALL

save by using Ctrl-X, Y

Also logout from vagrant and login again. See if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants