postgresql - 在 nginx unbutu 20.04 上安装 Pg Admin 4
问题描述
我无法找到有关如何在 ubuntu 20.04 上安装和配置 pgadmin4 以与 nginx 一起使用的任何文档,我只设法找到了 apache 的教程。
我对 nginx 很陌生,你们能帮忙提供一些文档或教程的链接吗?
解决方案
It sounds a bit like you are attempting to connect to your database on a production server, from within that server... With PgAdmin this is not needed. You can simply install locally on your system like this:
https://linuxhint.com/install-pgadmin4-ubuntu
And then just remote into the server like so:
https://www.pgadmin.org/docs/pgadmin4/development/connecting.html#connecting-to-a-server
I would argue that it is also a smarter approach to house the pgadmin connection locally as you do not need a visual approach to your databases in the production instance in most cases.
推荐阅读
- python - 如何验证客户年龄是否 >= 18 以及验证字段的正确方法是什么
- xcode - App Store 在安装 Xcode 11 beta 并保留 Xcode 10.2 后拒绝我的更新
- java - 未知实体:com.sun.proxy.$Proxy87
- java - 在我的第二个构造函数中初始化最终变量的问题
- javascript - 使用纯 JavaScript 搜索 HTML/CSS 中的图像网格的过滤器
- azure - 适用于 Visual Studio 的 Azure Sphere SDK 预览版失败
- html - 如何在 CSS/HTML 中垂直堆叠不同的元素?
- python - 根据颜色条末尾的刻度标签避免不同的绘图大小
- java - 变量参数列表
- flutter - Flare Actor 在定位的小部件内部,甚至在颤动的列或行中都不起作用