M
M
Mikhail Shatilov2017-09-25 04:18:19
JavaScript
Mikhail Shatilov, 2017-09-25 04:18:19

How to make it easier to set up ubuntu for development?

Not the first time I have to install ubuntu and configure firewood, lamp, node, npm, install a bunch of utilities and configure everything again.
You can, of course, use docker containers or just virtual machines, but this is not suitable.
Domain management in apache2. Too lazy for each domain 3 commands to make and edit the file.
Is there an automation program?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2019-06-11
@web_Developer_Victor

You can make a function-creator-function with a parameter:

function cbMaker(param) {
  const cb = function(event) {
    console.log(param, event);
    document.removeEventListener('keydown', cb);
  }
  return cb;
}

document.addEventListener('keydown', cbMaker(1));

V
vlarkanov, 2017-09-25
@vlarkanov

Write down all the steps that you perform when setting up. And then we wrote down a shell script that will perform these actions.
Or study Ansible\Puppet\Chef, there is a lot of prog and information on them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question