Followed installing this on 18.04
https://vpsfix.com/4937/install-virtualmin-nginx-php-mysql-ubuntu/
Got this error till timeout
Im also waiting already 20 min same last line untill you stopped it Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service
Job for mariadb.service failed because a timeout was exceeded. See “systemctl status mariadb.service” and “journalctl -xe” for details. Setting up mariadb-server (1:10.1.44-0ubuntu0.18.04.1) …
Processing triggers for libc-bin (2.27-3ubuntu1) …
Processing triggers for systemd (237-3ubuntu10.39) …
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Processing triggers for ureadahead (0.100.0-21) …
Enter current password for root (enter for none): ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “No such file or directory”)
Frozen on this did reboot and again from start still frozen for 30min around and then
MySQL could not be started with the new configuration :
Job for mariadb.service failed because a timeout was exceeded. See “systemctl status mariadb.service” and “journalctl -xe” for details.
. The old configuration has been restored.