Skip to content
Shellbay

Databases · about 3 min · 6 steps

MariaDB (secured)

Installs MariaDB listening on this server only, with anonymous users, remote root and the test database removed.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported
  • Alpine: supported

What it changes on your server

  • Installs the MariaDB server and starts it at boot.
  • Binds it to 127.0.0.1 in a Shellbay settings file.
  • Removes anonymous accounts, root access from other hosts and the test database. Root signs in through the local socket.

What Shellbay asks you

Nothing. This workflow needs no details from you.

Steps

  1. Refresh the package list
  2. Install MariaDB
  3. Listen on this server only
  4. Start MariaDB and enable it at boot
  5. Remove insecure defaults
  6. Check MariaDB answers

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • MariaDB is running on this server only. As root, run sudo mariadb to create databases and users.