I need to replicate a server configuration across multiple VPS (ubuntu and debian) and I'm wondering if it's possible to automate it almost entirely with a script. The script would need to accomplish the following:
- set hostname
- create a few users and permissions
- configure OpenSSH (copy existing config file I guess) and install a set of public keys
- configure Squid (copy config file)
- set up a few cron jobs
I know nothing about *nix scripts, so please be as precise as possible.
The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands.
Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.: