Introduction:
phpmyadmin provides an gui access for postgresql database. We can access database from command line also. But in order to do that, user must have knowledge of psql queries. So sometimes, we just want to start our project quickly without understanding psql queries in depth.
It runs at http://localhost/phppgadmin.
Steps:
1) Do an update and upgrade on your system
or
4) Install postgresql
6) Edit /etc/phppgadmin/config.inc.php file and
change value of
$conf[‘extra_login_security’] = true;
to
$conf[‘extra_login_security’] = false;
phpmyadmin provides an gui access for postgresql database. We can access database from command line also. But in order to do that, user must have knowledge of psql queries. So sometimes, we just want to start our project quickly without understanding psql queries in depth.
It runs at http://localhost/phppgadmin.
Steps:
1) Do an update and upgrade on your system
sudo apt-get update && sudo apt-get upgradeor
sudo yum update && sudo yum upgrade2) Install apache 2.4
sudo apt-get install apache2 apache2-doc apache2-utils
or
sudo yum install apache2 apache2-doc apache2-utils3) run apache server
sudo service apache2 startand check http://localhost
4) Install postgresql
sudo apt-get install postgresql postgresql-contrib phppgadminor
sudo yum install postgresql postgresql-contrib phppgadmin5) Configure postgres user
sudo su su – postgres psql \password postgres ENTER YOUR PASSWORD
6) Edit /etc/phppgadmin/config.inc.php file and
change value of
$conf[‘extra_login_security’] = true;
to
$conf[‘extra_login_security’] = false;
sudo vi /etc/phppgadmin/config.inc.php7)
sudo cp /etc/apache2/conf.d/phppgadmin /etc/apache2/conf-enabled/phppgadmin.conf8) Restart apache and start postgresql
sudo service apache2 restart sudo service postgresql startYou are Done!
0 comments:
Post a Comment