Install WordPress Latest on a VPS Ubuntu Server with PHP 7.3, Apache2, MySQL and SSL.
As you might know, spinning up a VPS is EASY. But managing them can be more complex.
This file is designed to:
- Update Ubuntu
- Upgrade Ubuntu
- Install Apache2
- Enable Apache2
- Install repos
- Install PHP 7.3
- Install PHP Modules
- Install latest MariaDB (can be MySQL)
- Get latest WordPress
- Unpack files
- Move files
- Give files correct permissions
- Give folders correct permissions
- Create a database
- Add firewall rules
- (possibly add SSL)
- Reboot