viernes, 11 de enero de 2019

Installing phpmyadmin

 zypper install phpMyAdmin
systemctl restart apache2

Edit phpMyAdmin  access configuration file and add your IP 186.150.169.45

nano  /etc/apache2/conf.d/phpMyAdmin.conf

<Directory /srv/www/htdocs/phpMyAdmin>
    Options FollowSymLinks
    AllowOverride None
    Require ip 127.0.0.1 192.168.0.0/16 10.0.0.0/8 186.150.169.45/12
    Include /etc/apache2/conf.d/phpMyAdmin.inc
    php_admin_value open_basedir "/srv/www/htdocs/phpMyAdmin:/var/lib/php5:/tmp:/usr/share/doc/packages/phpMyAdmin:/etc/phpMyAdmin:/proc/meminfo:/proc/stat"
</Directory>
<Directory /srv/www/htdocs/phpMyAdmin/libraries>
    Require all denied
</Directory>


 ln -s /usr/share/phpMyAdmin /srv/www/htdocs
restart apache

systemctl restart apache2

url access
http://191.21.42.44/phpMyAdmin/
cron/1234

No hay comentarios:

Publicar un comentario