Active Directory 机器中的 Postgresql

发布于 2024-08-05 15:26:35 字数 164 浏览 4 评论 0原文

我有一台安装了 Postgresql 的服务器。我想在此服务器中安装 Microsoft Active Directory。我可以毫无问题地做到这一点吗?我可以毫无问题地更改运行 Postgresql 服务的用户吗?

当我安装 AD 时,所有计算机用户都将被删除,因此我需要创建域用户来运行该服务。

I have a server in which Postgresql is installed. In this server I want to install the Microsoft Active Directory. Can I do this without a problems? Can I change the user that runs the Postgresql service without a problem?

When I install the AD all the machine users will be deleted so I need to create domain users to run that service.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

反目相谮 2024-08-12 15:26:35

它可以工作,但可能会出现性能问题,因为您基本上是在同一台计算机上运行两个数据库。

升级存在删除 PostgreSQL 服务用户的风险。在这种情况下,您只需创建一个新的并将其分配给该服务。另一种选择是卸载 PostgreSQL(这不会卸载数据),将机器变成 AD 控制器,然后重新安装 PostgreSQL(相同版本!)。然后它会自动选择旧的数据目录。

It will work, but there could be performance issues since you're basically running two databases on the same machine.

It's a risk that the upgrade will remove the PostgreSQL service user. In this case, you will jus thave to create a new one and assign it to the service. Another option is to uninstall PostgreSQL (this will not uninstall the data), turn the machine into an AD controller, and then reinstall PostgreSQL (same version!). It will then pick up the old data directory automatically.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文