(This might be off-topic and/or not answerable, but I want to ask anyway.)
Recently, I am managing a lot of VPS server with Linux for my personal and professional projects.
However, I am kind of tired by the repetitive tasks. Let's say I have to do the following after installation of a VPS
- add some users, add them to sudoers
- install the basic needed packages from apt-get
- find out that the package X is not in the basic repository, so I add some repositories
- do some basic configuration, both as a root and as a user, copy-pasting some stuff from the internet to some files and see what sticks
- finally start coding
Is there any way to automate the whole process? Basically to "seal" the whole configuration, so I can then do all this in somehow more simplier way.