Packages to install
- Debian: mariadb-server (or mariadb-server-10.1, but it's autoselected)
- FreeBSD: databases/mariadb101-server
Configuration
Keep RAM slightly lower than default configuration: there won't be a lot of traffic, optimize for 20 simultaneous connections perhaps.