diff --git a/translated/tech/20230301.0 ⭐️ How to Install PgAdmin4 on RHEL 9 Step by Step.md b/published/20230301.0 ⭐️ How to Install PgAdmin4 on RHEL 9 Step by Step.md
similarity index 52%
rename from translated/tech/20230301.0 ⭐️ How to Install PgAdmin4 on RHEL 9 Step by Step.md
rename to published/20230301.0 ⭐️ How to Install PgAdmin4 on RHEL 9 Step by Step.md
index 0503a07dff..74398a0a84 100644
--- a/translated/tech/20230301.0 ⭐️ How to Install PgAdmin4 on RHEL 9 Step by Step.md
+++ b/published/20230301.0 ⭐️ How to Install PgAdmin4 on RHEL 9 Step by Step.md
@@ -3,46 +3,48 @@
[#]: author: "Pradeep Kumar https://www.linuxtechi.com/author/pradeep/"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
-[#]: reviewer: " "
-[#]: publisher: " "
-[#]: url: " "
+[#]: reviewer: "wxy"
+[#]: publisher: "wxy"
+[#]: url: "https://linux.cn/article-15618-1.html"
如何在 RHEL 9 上分步安装 PgAdmin4
======
-Pgadmin4 是一个免费和开源的基于网络的 PostgreSQL 管理和开发平台。它与本地和远程服务器上的 PostgreSQL 数据库服务器进行交互,并使用直观和交互式的仪表板显示服务器的统计数据。
+![][0]
-Pgadmin4 是对 Pgadmin3 的重写,提供了以下显著的特点:
+PgAdmin4 是一个自由开源的基于网络的 PostgreSQL 管理和开发平台。它可以与本地或远程的服务器上的 PostgreSQL 数据库服务器进行交互,并使用直观的交互式仪表板显示服务器的统计数据。
-- 一个具有直观和实时监控仪表盘的响应式 Web UI。
-- 一个改进的 Web 界面,具有很酷的新面板和图标。
+PgAdmin4 是对 PgAdmin3 的重写,提供了以下显著的功能:
+
+- 具有直观的实时监控仪表盘的响应式 Web UI。
+- 改进的 Web 界面,具有很酷的新面板和图标。
- 带有语法高亮的 SQL 查询编辑器。
- 全面的文档。
- 帮助你入门的有用提示。
-在本指南中,我们将演示如何在 RHEL 9 上安装 Pgadmin4。
+在本指南中,我们将演示如何在 RHEL 9 上安装 PgAdmin4。
-##### 先决条件
+### 先决条件
-在开始之前,确保你有一台 RHEL 9 服务器实例并安装了 PostgreSQL 数据库。请查看如何在 RHEL 9 上安装 PostgreSQL 15 的指南。
+在开始之前,确保你有一台 RHEL 9 服务器实例并安装了 PostgreSQL 数据库。请查看如何在 RHEL 9 上 [安装 PostgreSQL 15][13] 的指南。
在安装了 PostgreSQL 服务器后,继续执行以下步骤。
-### 步骤 1)在 RHEL 9 上添加 Pgadmin4 仓库
+### 步骤 1)在 RHEL 9 上添加 PgAdmin4 仓库
-第一步是在 RHEL 9 上添加 Pgadmin4 仓库。但首先要安装 EPEL 仓库,它提供了基本的软件包。
+第一步是在 RHEL 9 上添加 PgAdmin4 仓库。但首先要安装 EPEL 仓库,它提供了基本的软件包。
```
$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
```
-接下来,安装 Pgadmin4 仓库,如下所示。
+接下来,安装 PgAdmin4 仓库,如下所示:
```
$ sudo dnf install -y https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-2-1.noarch.rpm
```
-完成后,为 Pgadmin4 和 EPEL 仓库建立一个缓存,如下所示。
+完成后,为 PgAdmin4 和 EPEL 仓库建立一个缓存,如下所示:
```
$ sudo dnf makecache
@@ -50,17 +52,17 @@ $ sudo dnf makecache
### 步骤 2)在 RHEL 9 上安装 PgAdmin4
-安装好 Pgadmin4 和 EPEL 仓库后,继续使用 DNF 包管理器安装 Pgadmin4,如下所示。
+安装好 PgAdmin4 和 EPEL 仓库后,继续使用 DNF 包管理器安装 PgAdmin4,如下所示:
```
$ sudo dnf install pgadmin4 -y
```
-这将安装许多软件包,包括 Pgadmin4、Apache HTTP web 服务器和 Python 软件包,仅举几例。
+这将安装许多软件包,包括 PgAdmin4、Apache HTTP web 服务器和 Python 软件包,仅举几例:
![][1]
-要确认 Pgadmin4 是否已经安装,请运行以下命令:
+要确认 PgAdmin4 是否已经安装,请运行以下命令:
```
$ rpm -qi pgadmin4
@@ -70,9 +72,9 @@ $ rpm -qi pgadmin4
![][2]
-### 步骤 3) 在 RHEL 9 上启动/启用 PgAdmin4
+### 步骤 3)在 RHEL 9 上启动/启用 PgAdmin4
-此时,Pgadmin4 已成功安装。然而,你需要更进一步,让它运行起来。要启动 Pgadmin4 服务,请运行以下命令:
+此时,PgAdmin4 已成功安装。然而,你需要更进一步,让它运行起来。要启动 PgAdmin4 服务,请运行以下命令:
```
$ sudo systemctl start httpd
@@ -84,7 +86,7 @@ $ sudo systemctl start httpd
$ sudo systemctl enable httpd
```
-要确认 Pgadmin4 正在运行,请执行以下命令:
+要确认 PgAdmin4 正在运行,请执行以下命令:
```
$ sudo systemctl status httpd
@@ -94,9 +96,9 @@ $ sudo systemctl status httpd
### 步骤 4)在 RHEL 9 上初始化 PgAdmin4
-Pgadmin4 软件包提供了一个可配置的脚本来设置 pgAdmin 网络服务。这允许你创建一个用户账户,用来验证和配置 SELinux 策略和 Apache Web 服务器。
+PgAdmin4 软件包提供了一个可配置的脚本来设置 PgAdmin 网络服务。这允许你创建一个用户账户,用来验证和配置 SELinux 策略和 Apache Web 服务器。
-因此,如下运行该脚本。
+因此,如下运行该脚本:
```
$ sudo /usr/pgadmin4/bin/setup-web.sh
@@ -104,29 +106,29 @@ $ sudo /usr/pgadmin4/bin/setup-web.sh
提供你将在登录页面上作为登录凭证使用的电子邮件和密码。
-注意:有时,你可能会遇到如下 “semanage: command not found” 的错误。这表明缺少 semanage 包。
+注意:有时,你可能会遇到如下 “semanage: command not found” 的错误。这表明缺少 `semanage` 包。
![][4]
Semanage 是 SELinux(安全增强型 Linux)策略管理工具的简称,是一个用于配置 SELinux 策略某些方面的工具,不需要对策略源进行修改或重新编译。
-为了解决这个错误,你需要检查提供 semanage 的软件包。你可以通过运行以下命令来完成:
+为了解决这个错误,你需要检查提供 `semanage` 的软件包。你可以通过运行以下命令来完成:
```
$ sudo dnf provides /usr/sbin/semanage
```
-从输出中,你可以看到 semanage 是由 policycoreutils-python-utils-3.3-6.el9_0.noarch 包提供的。
+从输出中,你可以看到 `semanage` 是由 `policycoreutils-python-utils-3.3-6.el9_0.noarch` 包提供的。
![][5]
-要安装这个软件包,请运行以下命令。
+要安装这个软件包,请运行以下命令:
```
$ sudo dnf install policycoreutils-python-utils -y
```
-再一次如下运行 Pgadmn4 安装脚本。 提供电子邮件地址和密码,在提示时输入 “y”。
+再一次如下运行 Pgadmin4 安装脚本。 提供电子邮件地址和密码,在提示时输入 `y`。
```
$ sudo /usr/pgadmin4/bin/setup-web.sh
@@ -134,37 +136,39 @@ $ sudo /usr/pgadmin4/bin/setup-web.sh
![][6]
-### 步骤 5) 访问 Pgadmin4 的 Web 界面
+### 步骤 5)访问 PgAdmin4 的 Web 界面
-此时,Pgadmin4 已经成功安装。要从网络浏览器访问它,请前往以下地址:
+此时,PgAdmin4 已经成功安装。要从网络浏览器访问它,请前往以下地址:
+```
http://server-ip/pgadmin4
+```
-你会看到登录网页界面。请确保提供你在运行安装脚本时提供的 Email 和密码,并点击 “Login”。
+你会看到登录网页界面。请确保提供你在运行安装脚本时提供的 Email 和密码,并点击 “登录”:
![][7]
-登录后,Pgadmin4的仪表板将出现在视图中,如图所示。
+登录后,PgAdmin4 的仪表板将出现在视图中,如图所示:
![][8]
-要添加一个可以由 Pgadmin4 管理的服务器,请点击 “Add New Server”。
+要添加一个可以由 PgAdmin4 管理的服务器,请点击 “添加新服务器”:
![][9]
-在 “General” 选项卡中,填写服务器的名称,并添加注释,以便更好地描述。
+在 “通用” 选项卡中,填写服务器的名称,并添加注释,以便更好地描述:
![][10]
-接下来,点击 “Connection”,填写主机名/地址、端口、维护数据库、用户名和密码。然后最后点击 “Save”。
+接下来,点击 “连接”,填写主机名/地址、端口、维护数据库、用户名和密码。然后最后点击 “保存”:
![][11]
-此后,你会看到 PosrgreSQL 服务器的统计数据显示在互动和直观的仪表板上。在左边的侧边栏,你可以浏览各种 PostgreSQL 参数。
+此后,你会看到 PosrgreSQL 服务器的统计数据显示在互动和直观的仪表板上。在左边的侧边栏,你可以浏览各种 PostgreSQL 参数:
![][12]
-##### 总结
+### 总结
我们希望你觉得本指南内容丰富,请在下面的评论部分发表你的疑问和反馈。
@@ -175,7 +179,7 @@ via: https://www.linuxtechi.com/how-to-install-pgadmin-on-rhel/
作者:[Pradeep Kumar][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
-校对:[校对者ID](https://github.com/校对者ID)
+校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
@@ -183,13 +187,15 @@ via: https://www.linuxtechi.com/how-to-install-pgadmin-on-rhel/
[b]: https://github.com/lkxed/
[1]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Install-pgadmin4-rhel9-dnf-command.png
[2]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Pgadmin4-RPM-Package-Information-RHEL9.png
-[3]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Start-Enable-Http-Pgadmin-RHEL9.png?ezimgfmt=ng:webp/ngcb22
-[4]: https://www.linuxtechi.com/wp-content/uploads/2023/03/semange-not-found-pgadmin4-rhel9.png?ezimgfmt=ng:webp/ngcb22
-[5]: https://www.linuxtechi.com/wp-content/uploads/2023/03/DNF-Whatprovides-semanage-RHEL9.png?ezimgfmt=ng:webp/ngcb22
-[6]: https://www.linuxtechi.com/wp-content/uploads/2023/03/pgadmin-setup-web-script-rhel9.png?ezimgfmt=ng:webp/ngcb22
-[7]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Pgadmin4-Login-Page-RHEL9.png?ezimgfmt=ng:webp/ngcb22
-[8]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Dashboard-Pgadmin4-RHEL9.png?ezimgfmt=ng:webp/ngcb22
-[9]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Add-New-PostgreSQL-to-Pgadmin4-RHEL9.png?ezimgfmt=ng:webp/ngcb22
-[10]: https://www.linuxtechi.com/wp-content/uploads/2023/03/General-Description-Pgadmin-New-PostgreSQL.png?ezimgfmt=ng:webp/ngcb22
-[11]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Connection-Details-PostgreSQL-Pgadmin4-GUI.png?ezimgfmt=ng:webp/ngcb22
-[12]: https://www.linuxtechi.com/wp-content/uploads/2023/03/PostgreSQL-Statistics-Dashboard-Pgadmin4.png?ezimgfmt=ng:webp/ngcb22
\ No newline at end of file
+[3]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Start-Enable-Http-Pgadmin-RHEL9.png
+[4]: https://www.linuxtechi.com/wp-content/uploads/2023/03/semange-not-found-pgadmin4-rhel9.png
+[5]: https://www.linuxtechi.com/wp-content/uploads/2023/03/DNF-Whatprovides-semanage-RHEL9.png
+[6]: https://www.linuxtechi.com/wp-content/uploads/2023/03/pgadmin-setup-web-script-rhel9.png
+[7]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Pgadmin4-Login-Page-RHEL9.png
+[8]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Dashboard-Pgadmin4-RHEL9.png
+[9]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Add-New-PostgreSQL-to-Pgadmin4-RHEL9.png
+[10]: https://www.linuxtechi.com/wp-content/uploads/2023/03/General-Description-Pgadmin-New-PostgreSQL.png
+[11]: https://www.linuxtechi.com/wp-content/uploads/2023/03/Connection-Details-PostgreSQL-Pgadmin4-GUI.png
+[12]: https://www.linuxtechi.com/wp-content/uploads/2023/03/PostgreSQL-Statistics-Dashboard-Pgadmin4.png
+[13]: https://www.linuxtechi.com/how-to-install-postgresql-on-rhel/
+[0]: https://img.linux.net.cn/data/attachment/album/202303/12/080937o03a11xsz99zawzm.jpg
\ No newline at end of file