1)# apt install phpmyadmin php-mbstring php-gettext でインストールする。
2)# mysql -u root -p mysql でログインする。
3)MariaDB [mysql]> update user set plugin=” where user=’root’;
4)MariaDB [mysql]> flush privileges;
5)MariaDB [mysql]> exit
6)# vi /etc/phpmyadmin/apache.conf を次のように編集する。
# 8行目あたりにアクセス許可するIPを以下追記
Require ip 127.0.0.1 192.168.24.0/24
7)# service apache2 restart で、apache2を再起動する。