06-17-2021 04:02 AM
Hello!I use guide to install alfresco from this site
when i try to install pgadmin using this command
sudo yum install pgadmin4 -y
then an error appears
[root@localhost admin]# sudo yum install pgadmin4 -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.corbina.net
* extras: mirror.yandex.ru
* updates: mirror.sale-dedic.com
No package pgadmin4 available.
Error: Nothing to do
When i use another command to install pgadmin
sudo yum -y instal ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-1-1.noarch.rpm
yum -y install epel-release policycoreutils-devel
yum -y install pgadmin4-web
sed -i 's/^Listen.*/Listen 81/' /etc/httpd/conf/httpd.conf
systemctl enable --now httpd
firewall-cmd --permanent --add-port=81/tcp
firewall-cmd --reload
/usr/pgadmin4/bin/setup-web.sh
i can install pgadmin and open it in a browser
And when i try to proceed using commands from your guide
sudo cp /etc/httpd/conf.d/pgadmin4.conf.sample /etc/httpd/conf.d/pgadmin4.conf
sudo vim /usr/lib/python3.6/site-packages/pgadmin4-web/config_distro.py
sudo python3 /usr/lib/python3.6/site-packages/pgadmin4-web/setup.py
there are no such files pgadmin4.conf.sample,config_distro.py,setup.py, and folder pgadmin4-web
But pgadmin4.conf is present there.
Why the command sudo yum install pgadmin4 -y can't find pgadmin rpm
and files config_distro.py setup.py pgadmin4.conf.sample and folder pgadmin4-web could not be created when i use commands from your guide ?
I have two version of python installed-3.6 and 2.7
But these files are not in both folders of python.
06-25-2021 11:01 AM
Hi!
I don't know if you are expecting this problem anymore, but related to this:
[root@localhost admin]# sudo yum install pgadmin4 -y Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.corbina.net * extras: mirror.yandex.ru * updates: mirror.sale-dedic.com No package pgadmin4 available. Error: Nothing to do
Check this thread. You need to add a specific yum repository before to launch that command.
Try it and let us know!
Cheers!
Explore our Alfresco products with the links below. Use labels to filter content by product module.