P
P
Pavel2016-11-10 18:29:48
virtual box
Pavel, 2016-11-10 18:29:48

What is the principle of server operation on virtualbox?

For example, I want to put a server on virtualbox, and if I need gulp, where can I use it on the server itself or on the basis? I do not fully understand this system
, what do I need? - improve the development environment, how people came to grunt and gulp, etc., I want to finish everything to automatism. Now I use openserver for php, maybe virtualbox will be better...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mika Slepinin, 2016-11-10
@mikalaikaia

Install Vagrant.

E
Eugene Wolf, 2016-11-10
@Wolfnsex

It all depends on what kind of server you are installing. If this is a dev server (i.e. a development server), it is quite logical to put all the garbage there. Especially often there are situations when the working (main OS) is Windows, and development should go under Linix / * nix (if you do not write in C # / ASP.NET, of course), because. this is extremely useful in many respects, from the "native" file system with all the consequences, to ... the features of the final OS. So, if you have a server of just such a plan, that is, the server on which you write and test the code, so that you can then put it on a production (combat) server, then put all this trouble there, including Gulp, Node.JS, all sorts JPEG trim and PNG optim, project builders and everything else you might need. Debuggers (particularly for PHP) usually work fine in such bundles.
Another factor in favor of putting Node.JS and its goodies on a Linux machine (in particular, running on VirtualBox'e) is that Windows / NTFS is pretty bad friends with long names in the paths of modules that it likes to create Node.JS, it certainly works, but sometimes it causes problems, which in *nix/Linux is not observed.
One option, as you've already been advised above, is Vagrant . It is a wrapper on top of VirtualBox or VMWare, with a set of ready-made operating systems ("boxes"), for a variety of tasks, from layout and development in PHP or Node.JS to everything at once. Everything is installed and configured in a few clicks (commands). Among other things, it will automatically configure the network and all other parameters of the guest operating system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question