ubuntu18
|pgadmin4
- 下载whl包
- pip安装pgadmin4
(pgadmin4) joseph@joseph-ubuntu:~/MyTools/pgadmin4$ pip3 install pgadmin4-4.10-py2.py3-none-any.whl
- 启动pgadmin4
(pgadmin4) joseph@joseph-ubuntu:~/MyTools/pgadmin4/pgadmin4/lib/python3.6/site-packages/pgadmin4$ python3 ./pgAdmin4.py
启动遇到的问题:
PermissionError: [Errno 13] Permission denied: '/var/lib/pgadmin'
解决方法:修改config.py文件,通过设置SERVER_MODE的值来改变DATA_DIR,具体如下图
更多请参考:https://www.pgadmin.org/docs/pgadmin4/dev/server_deployment.html