Welcome.
This used to be done by whipping up some scripts to run over SSH.
However, now there are complex packages which run scripts for you over SSH. So for those, take a look at orchestration tools like Ansible, Puppet, Chef, and many more. Read the reviews and pick two or three that are likely to meet your style to test. Then test them and decide which one you like the most. They're all rather similar in function so it mostly comes down to a matter of which one you like working with.
For those tests find the relevant tutorials and focus on how the bootstrapping goes: You'll need to get everything onto a fresh installation before moving on to the maintenance uses.
|