Install WordPress on AlmaLinux 8

Install WordPress pada AlmaLinux 8

Install Apache MariaDB 10.6 PHP 8.0 VirtualHost Let’s Encrypt pada AlmaLinux

  • Buat database pada mariadb
MariaDB [(none)]> CREATE DATABASE wp;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON wp.* TO 'user_wp'@'localhost' IDENTIFIED BY 'pass_wp';
MariaDB [(none)]> FLUSH PRIVILEGES;
  • Download WordPress
wget http://wordpress.org/latest.tar.gz
tar -xvzf latest.tar.gz --strip-components 1 -C /var/www/alma.rainui.cloud/
chown -R apache:apache /var/www/alma.rainui.cloud/
  • Buka installasi wordpress lewat browser dengan url: https://alma.rainui.cloud
  • Masukan nama database: wp, user database: user_wp dan password: pass_wp yang sebelumnya sudah di buat
  • Buat file wp-config.php lalu copy script ke dalam wp-config.php secara manual
  • 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.