

Once you execute the below command, it will ask the user to set the root password and remove things such as anonymous users, test databases, and remove remote root user login to the SQL database.

After MySQL and PHP installation finishes, it is often recommended to secure MySQL installation using mysql_secure_installation the utility. $ sudo apt install mariadb-server php libapache2-mod-php php-zip php-mbstring php-cli php-common php-curl php-xml php-mysqlĢ. Once Debian is ready, now it’s time to install the necessary software using the ‘ apt‘ meta-packager.
