How to install Adminer – alternative to phpmyAdmin

First download the latest Adminer into your Apache web servers root folder using this command:

sudo mkdir /usr/share/adminer

sudo wget "http://www.adminer.org/latest.php" -O /usr/share/adminer/latest.php

sudo ln -s /usr/share/adminer/latest.php /usr/share/adminer/adminer.php

echo "Alias /adminer.php /usr/share/adminer/adminer.php" | sudo tee /etc/apache2/conf-available/adminer.conf

Next you need two more lines:

sudo a2enconf adminer.conf

sudo service apache2 restart

Now open your browser and type:

http://localhost/adminer.php

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s