如何查看rethinkdb进程
How to check rethinkdb process
我在后台和启动时根据 https://www.rethinkdb.com/docs/start-on-startup/(快速设置)重新思考数据库 运行。
但是如何在我的服务器终端中找到该进程?
如果我键入 rethinkdb,它会说它已经 运行 / 正在侦听该端口。
RethinkDb 是 运行,但我想知道如何在我的 ubuntu 服务器上访问它。
RethinkDB 没有像 MySQL 这样的用于 shell 访问的控制台客户端。您可以将 RethinkDB 管理仪表板用作 REPL 工具。它通常在端口 8080 上 运行,因此您可以使用 127.0.0.1:8080 访问它。但是因为它在服务器上并且你不想将它绑定到 public IP,你可以像 https://rethinkdb.com/docs/security/#via-a-socks-proxy
那样使用 SSH 端口转发
您可以从总体上了解有关仪表板和 RethinkDB 的更多信息https://www.rethinkdb.com/docs/quickstart/
如果您仍然想要 CLI REPL,请尝试一下:https://github.com/stiang/recli
RethinkDB 在官方 cli 上工作时遇到问题:https://github.com/rethinkdb/rethinkdb/issues/189
我在后台和启动时根据 https://www.rethinkdb.com/docs/start-on-startup/(快速设置)重新思考数据库 运行。
但是如何在我的服务器终端中找到该进程? 如果我键入 rethinkdb,它会说它已经 运行 / 正在侦听该端口。 RethinkDb 是 运行,但我想知道如何在我的 ubuntu 服务器上访问它。
RethinkDB 没有像 MySQL 这样的用于 shell 访问的控制台客户端。您可以将 RethinkDB 管理仪表板用作 REPL 工具。它通常在端口 8080 上 运行,因此您可以使用 127.0.0.1:8080 访问它。但是因为它在服务器上并且你不想将它绑定到 public IP,你可以像 https://rethinkdb.com/docs/security/#via-a-socks-proxy
那样使用 SSH 端口转发您可以从总体上了解有关仪表板和 RethinkDB 的更多信息https://www.rethinkdb.com/docs/quickstart/
如果您仍然想要 CLI REPL,请尝试一下:https://github.com/stiang/recli
RethinkDB 在官方 cli 上工作时遇到问题:https://github.com/rethinkdb/rethinkdb/issues/189