본문 바로가기
RHEL

phpmyadmin

by jegong 2023. 6. 21.
yum -y install epel-release

--> 리저스터리 먼저 확인하고

 yum -y install phpmyadmin

yum -y install phpmyadmin

 

 --> kuruyoruz 

cd /etc/httpd/conf.d/

 vim phpMyAdmin.conf
 들어가서 
 
# phpMyAdmin - Web based MySQL browser written in php
#
# Allows only localhost by default
#
# But allowing phpMyAdmin to anyone other than localhost should be considered
# dangerous unless properly secured by SSL

Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin

<Directory /usr/share/phpMyAdmin/>
   AddDefaultCharset UTF-8
   Require local
   Require all granted ---> sadece bu kismi ekliyoruz 
</Directory>

<Directory /usr/share/phpMyAdmin/setup/>
   Require  local
</Directory>
 systemctl restart httpd php-fpm ---> sistemi yeniden baslatip

browser a gidip 

 

centos 7  ip /phpmyadmin e giriyoruz 

 

'RHEL' 카테고리의 다른 글

centOS-7 기본  (0) 2023.06.26
Disk quota  (0) 2023.06.22
RAID  (0) 2023.06.21