<aside> 💡 LAMP (Linux, Apache, Mysql, Php) 서버 구축
</aside>
$ dnf -y install httpd php php-mysqlnd mariadb-server
$ vi /var/www/html/index.html
# /var/www/html/index.html
[Test Web Page]
$ vi /var/www/html/phpinfo.php
# /var/www/html/phpinfo.php
<? php phpinfo(); ?>
MariaDB > create database wpDB;
Query OK, 1 row affected (0.001 sec)
MariaDB > grant all on wpDB.* to wpUser@localhost identified by 'seungwon';
Query OK, 0 rows affected (0.005 sec)
$ vi /var/www/html/wordpress/wp-config.php