Install WordPress With Nginx PHP 8.1 MariaDB 10.6 on Ubuntu 22.04

Install WordPress dengan Nginx PHP 8.1 MariaDB 10.6 pada Ubuntu 22.04


  • Buat database wordpress pada mariadb
MariaDB [(none)]> CREATE DATABASE wp_nginx;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON wp_nginx.* TO 'user_wp'@'localhost' IDENTIFIED BY 'pass_wp';
MariaDB [(none)]> FLUSH PRIVILEGES;
  • Download WordPress
root@ubuntu-2204:~# wget http://wordpress.org/latest.tar.gz
root@ubuntu-2204:~# tar -xvzf latest.tar.gz --strip-components 1 -C /var/www/nginx.rainui.cloud/
root@ubuntu-2204:~# chown -R www-data:www-data /var/www/nginx.rainui.cloud/
  • Buka installasi wordpress lewat browser dengan url: https://nginx.rainui.cloud
  • Masukan nama database: wp_nginx, user database: user_wp dan password: pass_wp yang sebelumnya sudah di buat
  • Buat user admin untuk akses ke wordpress
  • Tampilan wordpress 5.9

herdiana3389

A system administrator with skills in system administration, virtualization, linux, windows, networking, cloud computing, container, etc.