Answer the question
In order to leave comments, you need to log in
How to install a local server on a flash drive if it will be used on both Linux and Windows?
I have
:
8GB flash drive - 1
Linux Mint (at home) - 1
Windows 7 or 10 (at work) - 1
to whom and from where it was transferred, etc.) which will lie somewhere on the server. I just don’t know how to properly install a local server (before that I used only Denwer and only on Windows), so that it would work on different OSes (I could work at work in my spare time, I came home - I poked a flash drive - started it - continued). Or perhaps there is some alternative to all this?
Answer the question
In order to leave comments, you need to log in
There is an alternative, called a Git repository. You work at work, push to a remote server, pull changes from the server at home and continue to work. You set up a web server and so on separately on each machine. Yes, even if Git is not suitable, you can only transfer the project itself on a flash drive. It's strange to transfer the web server itself on a flash drive. There is also an option to write in Java, it will run everywhere if there is a JRE.
Предложу ещё один вариант - установить Linux на флешку, грузиться с неё в любом месте и работать в привычной обстановке.
Создайте на флешке проэкт Vagrant. Установите Vagrant на оба десктопа и запускайте проэкт.
Под капотом -- любой вирутальный провайдер: VirtualBox, VMvare, Docker, etc.
Плюсы: одна и та же среда, можно запускать вебсервер непосредственно в среде, можно фризить виртуальную машину (не нужно перезагружать)
Минусы: время на старт/хальт/рестарт виртуальной машины, изучение конфигов Vagrant, мутки с редактированием кода на дочерней виртуальной машине (шаринг папок, ssh, для нарков -- gvim).
P.S. Слушайте что говорит gim0 и используйте git.
upd... Трабл с отсутствием ПК можно решить пересев на облачную IDE. Cloud9 к примеру.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question