User Tools

Site Tools


Install Adminer

All these steps should be done as root user. Adminer will be installed beside phpMyAdmin. So you would be able to use both. If you want, you may remove phpMyAdmin manually.

Adminer installation:

mkdir -p /usr/share/adminer
wget "" -O /usr/share/adminer/index.php


echo "location /adminer {
    alias /usr/share/adminer/;
    location ~ ^/adminer/(.*\.php)$ {
        alias /usr/share/adminer/$1;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $request_filename;
" > /etc/nginx/conf.d/


echo "Alias /Adminer /usr/share/adminer
Alias /adminer /usr/share/adminer
<Directory /usr/share/adminer/>
   Order Deny,Allow
   Deny from All
   Allow from All
" > /etc/httpd/conf.d/adminer.conf

Reload or restar nginx and apache:

service nginx restart && service httpd restart
vesta/install-adminer.txt · Last modified: 2019/03/29 01:54 by dreiggy