🎓 Final Exam: Launch Day
This is the last step of the course. A new website goes live today, and you're the admin. Your manager left you a checklist in ~/launch-checklist.txt:
- Install the web server (nginx) and make sure it runs
- An account for Ana, the new web developer, with a home folder
- A group webteam, with Ana in it
- Unpack the release
~/release/northwind-site-v1.tar.gzinto/var/www/company - Put the site online at http://company.local; the nginx configuration is in the release, in
deploy/ - Nothing secret may be reachable over the web, and the release has
deploy/.envwith the database password - Back up
/var/www/companyevery night at 02:00 into/backups, as a.tar.gz - Someone keeps trying to log in over SSH: write the IP address with the most failed logins into
~/report.txt
There's no toolkit this time: you've used every command you need in the lessons. A task turns green when the work is really done, and you can do them in any order.
Exam rules
- Try without the hints first. They're there if you get stuck, or turn them off with Hints off.
explain COMMANDandman COMMANDare always allowed.- Check your work the way an admin would:
curl,ls -l,id,crontab -l.
Finish every task to earn the Graduate badge and your certificate.
💡 In a crontab,
%has a special meaning: write\%(as indate +\%F), or leave the date out of the file name.