4 ms·
I love writing shell/bash scripts to automate stuff on our servers. Some little things I have done: - Wrote a script to take automatic backups from server to A
by codegeek 8y ago
I love writing shell/bash scripts to automate stuff on our servers. Some little things I have done:
- Wrote a script to take automatic backups from server to AWS S3 bucket and add that script to a cron.
- Wrote an all-in-one script to install/configure/setup WordPress on a barebone VPS server using a LEMP stack along with LetsEncrypt SSL. Fully automated but you need to have a domain pointing to the server for letsencrypt. Once you have a basic Ubuntu server provisioned, this script takes care of everything else.
- Playing with a simple script that sends basic server stats to an API endpoint (I know I could use monitoring tools but where is the fun in that :))