Thread: [pgadmin-support] installation question
Hello,
I'm attempting to deploy pgadmin on my CentOS 7 machine.
I installed the pgdg repo:
yum install pgdg-centos96-9.6-3.noarch.rpm
and then pgadmin:
yum install pgadmin4-v1.x86_64
I then read the deployment guide:
https://www.pgadmin.org/docs4/1.x/server_deployment.htmlbut it is unclear to me where the config_local.py file is supposed to go.
These are the locations of all the config.py files currently on my system:
/usr/lib/python2.7/site-packages/Mozo/config.py
/usr/lib/python2.7/site-packages/cupshelpers/config.py
/usr/lib/python2.7/site-packages/dnf/yum/config.py
/usr/lib/python2.7/site-packages/firewall/server/config.py
/usr/lib/python2.7/site-packages/firstboot/config.py
/usr/lib/python2.7/site-packages/iniparse/config.py
/usr/lib/python2.7/site-packages/yum/config.py
/usr/lib64/gedit/plugins/pythonconsole/config.py
/usr/lib64/pluma/plugins/pythonconsole/config.py
/usr/lib64/python2.7/distutils/config.py
/usr/lib64/python2.7/distutils/command/config.py
/usr/lib64/python2.7/logging/config.py
/usr/lib64/python2.7/site-packages/coverage/config.py
/usr/lib64/python2.7/site-packages/gnome_abrt/config.py
/usr/lib64/python2.7/site-packages/problem/config.py
/usr/lib64/python2.7/site-packages/setroubleshoot/config.py
/usr/lib64/python2.7/site-packages/speechd_config/config.py
/usr/lib/python2.7/site-packages/cupshelpers/config.py
/usr/lib/python2.7/site-packages/dnf/yum/config.py
/usr/lib/python2.7/site-packages/firewall/server/config.py
/usr/lib/python2.7/site-packages/firstboot/config.py
/usr/lib/python2.7/site-packages/iniparse/config.py
/usr/lib/python2.7/site-packages/yum/config.py
/usr/lib64/gedit/plugins/pythonconsole/config.py
/usr/lib64/pluma/plugins/pythonconsole/config.py
/usr/lib64/python2.7/distutils/config.py
/usr/lib64/python2.7/distutils/command/config.py
/usr/lib64/python2.7/logging/config.py
/usr/lib64/python2.7/site-packages/coverage/config.py
/usr/lib64/python2.7/site-packages/gnome_abrt/config.py
/usr/lib64/python2.7/site-packages/problem/config.py
/usr/lib64/python2.7/site-packages/setroubleshoot/config.py
/usr/lib64/python2.7/site-packages/speechd_config/config.py
Any help would be greatly appreciated.
Hi, On Thu, 2017-03-16 at 11:55 -0700, Scott Classen wrote: > but it is unclear to me where the config_local.py file is supposed to go. We don't distribute it with the packages, but it should go under here: /usr/lib/python2.7/site-packages/pgadmin4-web/config_local.py on RHEL 7. Regards, -- Devrim Gündüz EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
On Fri, Mar 17, 2017 at 3:31 AM, Devrim Gündüz <devrim@gunduz.org> wrote: > > Hi, > > On Thu, 2017-03-16 at 11:55 -0700, Scott Classen wrote: >> but it is unclear to me where the config_local.py file is supposed to go. > > We don't distribute it with the packages, but it should go under here: > > /usr/lib/python2.7/site-packages/pgadmin4-web/config_local.py > > on RHEL 7. Just to be clear, you should only need to create/edit that if you're trying to setup pgAdmin to run in server mode behind a webserver. It should run out of the box in desktop mode. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company