我对 Ords 和 Apex 完全陌生,所以请耐心等待:)。如何登录本地主机命令?我已经在本地下载了最新的 23 Apex 以及最新的 Ords 并设置了一切。我不会使用云。我确实从 Windows 创建了一个工作区,并且能够在我的 Windows 计算机上登录,但无法通过终端 ($google-chrome) 在我的 Linux 服务器上登录。我的Linux是虚拟环境。我可以使用 Tomcat 启动 Apex,并可以使用 ords config (java) 自行启动 Ords。以下是我的配置道具。欢迎您提供任何帮助。我的工作空间是什么?我有用户名和密码。
db.servicename=<serviceName>
standalone.context.path=/ords
db.hostname=<Ipaddress>
db.password=******
conf.use.wallet=true
security.requestValidationFunction=ords_util.authorize_plsql_gateway
standalone.static.context.path=/i
database.api.enabled=true
db.username=ORDS_PUBLIC_USER
standalone.http.port=8080
standalone.static.path=/home/oracle/ords/images/
restEnabledSql.active=true
resource.templates.enabled=false
plsql.gateway.mode=proxied
db.port=1521
feature.sdw=true
config.required=true
db.connectionType=basic
standalone.doc.root=/home/oracle/ords/bin/ordsconfig/global/doc_root
我不清楚您是询问将 ORDS 连接到数据库还是尝试从命令行以最终用户身份使用 ORDS:
如果尝试以用户身份登录,则无法通过命令行访问 ORDS;您需要使用网络浏览器并通过 APEX UI 登录。您可以使用 SQLPlus 或 SQLcl 作为客户端与 APEX 和 ORDS PL/SQL API 进行交互,但这是登录到数据库,而不是通过 ORDS。
如果尝试将 ORDS 连接到后端数据库,安装指南中应包含此内容:https://docs.oracle.com/en/database/oracle/oracle-rest-data-services/22.1 /ordig/index.html#Oracle%C2%AE-REST-数据服务