于YunoHost网页版后台装pgAdmin4失败之解决方法

Drawing of a determined female coder immersed in her work, her workspace filled with notes and diagrams, while she adjusts the settings of her self-hosted blog on her computer.

笔者尝试由YunoHost的网页版后台安装pgAdmin4,以方便管理数据库,然而在网页端回答完配置程序的问题(包括允许使用的用户有谁?分配于哪个域名?等等)以后,安装进程会在一段时间后卡死,并最终无法安装。上网检索后发现自己不是一个人,而且也有解决方法——

  1. 通过SSH连接到YunoHost服务器。可以使用任何SSH客户端。
  2. 在命令行中执行以下命令安装pgAdmin4:
sudo yunohost app install -l pgAdmin https://github.com/YunoHost-Apps/pgadmin_ynh
  1. 安装完成后,尝试使用电子邮件地址(而不是用户名)登录pgAdmin4。

在第2步过程中,可以通过命令行界面回答和网页版一样的配置问题,从而个性化配置pgAdmin4。

Discover more from 山月

Subscribe now to keep reading and get access to the full archive.

Continue reading