Wednesday, October 10, 2018

New comment by codegeek in "Ask HN: What scripts/cronjobs you have made that made your life generally easier"

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 :))



from Hacker News - New Comments: "WordPress" https://ift.tt/2yqsEBN
via IFTTT

No comments:

Post a Comment

Hadjar crashes new Red Bull in F1 testing

Newly promoted Red Bull driver Isack Hadjar crashes his car in wet conditions on the second day of Formula 1 pre-season testing. from BBC ...