<a href="https://youtu.be/OBbTkBy2blI?si=_kYlcHlwuJrPTX_H">raspberry pi OS install </a><br />
<br />
*start*<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
sudo apt-get install apache2 -y<br />
sudo apt install libapache2-mod-php<br />
cd /var/www<br />
sudo chown pi: html<br />
sudo /etc/init.d/apache2 restart<br />
sudo apt install mariadb-server php-mysql  -y<br />
....<br />
sudo mysql<br />
사진의  CREAT  &  GRANT 절차후 exit;<br />
DB exit할 것<br />
<br />
cd / 로 갈 것<br />
<br />
sudo apt-get install phpmyadmin<br />
선택 apache2 와  Yes.<br />
sudo nano /etc/apache2/apache2.conf  (last-line  <b> include  /etc/phpmyadmin/apache.conf</b>)<br />
sudo /etc/init.d/apache2 restart<br />
sudo reboot<br />
<br />
sudo nano /etc/php/8.2/apache2/<b>php.ini  ( "7.3=>8.2)</b> " <br />
Memory_limit, <br />
post_max_size 64M,  <br />
upload_max_filesize 61M)<br />
sudo /etc/init.d/apache2 restart<br />
sudo reboot   (not must)<br />
<br />
Mariadb admin => root-password변경 (phpmyadmin에서 최초login시 initial id pw/    admin raspberry)<br />
<b style="color:red;">sudo raspi-config</b><br />
<br>Other with WordPress<br><a href="https://youtu.be/14j_N7ub9UM?si=CMapRufLIzXHHUzU">Other WordPress</a><br />
