Wordpress kubernetes with external database and bind9

Setup Database server 1. Install mariadb or mysql 1 apt install mysql-server -y 2. Configure mysql-server to bind 0.0.0.0 1 vim /etc/mysql/mysql.conf.d/mysqld.cnf => bind-address to 0.0.0.0 3. Create new user for wordpress 1 2 3 mysql -u root CREATE USER 'wp-user'@'%' IDENTIFIED BY 'gladiators88'; GRANT ALL PRIVILEGES ON *.* TO 'wp-user'@'%' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON *.* TO 'wp-user'@'%'; Setup bind9 4. Install bind9 1 apt install bind9 5....

January 9, 2024 · 3 min · 523 words · Luqinthar Sudarsono