In this project you will learn how to administer a Linux server, You will set up security and network for a ubuntu server, and will install some popular services.
> Sudo provides fine-grained access control. It grants elevated permissions to only a particular program that requires it. You know which program is running with elevated privileges, rather than working with a root shell (running every command with root privileges).
To improve the security of your website, you should keep your MySQL server accessible only by applications in the server, As long as it does not affect your solution.
Backups protect against human errors, hardware failure, virus attacks, power failures, and natural disasters. Backups can help save time and money if these failures occur.
In this exercise, you will set up a simple backup method by using cron jobs.
- Set up a cron job that starts every Day At 00:00, it must create a tar file of the WordPress database.
- The backup files must be created in the `/backup` folder.
- The backup file name must contain the creation date.
- You must add a line to a log file (`/var/log/backup.log`) This line should contain a message informing you that the backup was successful and the timing of the backup.
- Your backup files must be downloadable from the `nami` FTP user.
### Bonus Part
If you complete the mandatory part perfectly, you can move to this part.
You can add anything you feel deserves to be a bonus, some of the suggested ideas:
- Install the Minecraft server, It must be always running even if you reboot your server.
- Automate all instructions with ansible, so you can remake this long process in more than 1 server in a short time.
- Set up the SSL in the web server and FTP server, you can use self-signed SSL.
Create a `README.md` clarification of all the knowledge you have learned and the steps you passed to set up the server, thorough descriptions of steps, and an explanation of the used commands, presented clearly and concisely. Ensure it contains all the necessary information about the installed and configured services. This file must be submitted as part of the solution for the project.