Test your MySQL login as the sample user. GRANT ALL PRIVILEGES ON sampledb.* TO MySQL privileges. ![]() Grant the user full privileges to the sample database. ![]() CREATE USER IDENTIFIED BY 'ultra-strong-password' CREATE DATABASE sampledb Ĭreate a sample database user assigned with a strong password. $ sudo mysql -u root -pĬreate a sample database. Press enter when prompted for the root user password, reply with yes `y' to set a new root password, remove anonymous users, disallow remote root login, and remove the test database. Initialize MariaDB and set the root password. $ sudo dnf install php-mysqlnd php-cgi php-bcmath php-json php-xml php-gd php-zip php-intl php-mbstringĮnable PHP-FPM to start at boot time. Install common PHP extensions required by most web applications. $ sudo dnf install mariadb-serverĮnable MariaDB to start at boot time. Test your Nginx installation by visiting your server IP. $ sudo firewall-cmd -zone=public -permanent -add-service=http $ sudo systemctl start nginxĪllow HTTP access through the firewall.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |