- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
大家好,我已经在 Linux VM(谷歌云计算)上成功安装了 Oracle 11g Express 添加我有 sqlplus 工作,我可以查询数据。监听器也在工作。
但是由于 Linux 服务器没有 GUI,我无法尝试本地主机和外部机器连接被拒绝。
我的问题是:
1) Apex 是否预装在它曾经但未在任何地方提及的 Oracle XE 上。
2) 如果服务器的 ip 地址是 123.123.123,我将使用什么 url 从远程机器访问 apex?我试过了
3) 如何判断是服务器还是 Oracle 拒绝连接?
防火墙
$ netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 10.128.0.3:50776 169.254.169.254:80 ESTABLISHED
tcp 0 0 10.128.0.3:43548 10.128.0.3:1521 ESTABLISHED
tcp 0 0 10.128.0.3:50722 169.254.169.254:80 CLOSE_WAIT
tcp 0 0 10.128.0.3:50814 169.254.169.254:80 ESTABLISHED
tcp 0 0 10.128.0.3:50774 169.254.169.254:80 ESTABLISHED
tcp 0 64 10.128.0.3:22 74.125.41.105:38312 ESTABLISHED
tcp6 0 0 :::40070 :::* LISTEN
tcp6 0 0 :::8080 :::* LISTEN
tcp6 0 0 :::1521 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN
tcp6 0 0 10.128.0.3:1521 10.128.0.3:43548 ESTABLISHED
听众
$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 22-AUG-2017 02:59:51
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 22-AUG-2017 02:00:17
Uptime 0 days 0 hr. 59 min. 33 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/centossmallblockpro/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=centossmallblockpro.c.sincere-destiny-176110.internal)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=centossmallblockpro.c.sincere-destiny-176110.internal)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully
SQLPLUS 工作
sqlplus
SQL*Plus: Release 11.2.0.2.0 Production on Tue Aug 22 03:03:51 2017
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter user-name: system
Enter password:
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
SQL> select * from dual;
D
-
X
.
Telnet XX.XXX.XXX.XX 8080
Telnet: Unable to connect to remote host: Connection timed out
最佳答案
1) 我认为 Oracle XE (11g) 带有 APEX 3.2 版。这是一个非常古老的 APEX 版本。按照说明如何删除此旧版本并从 otn.oracle.com 获取最新版本.最新版本应该也适用于 11g XE。
2)隧道
您可以创建从桌面计算机到运行服务的端点服务器的 ssh 隧道。现在您可以从您的桌面环境 aka 访问远程机器上的服务。 sqlplus、SQL Developer、Firefox 等。
# Access Your Database Remotely Through an SSH Tunnel
# ssh -L [local port]:[database host]:[remote port] [username]@[remote host]
# console 1: 9998 is just an arbitrary port > 1024. Can be anything.
ssh -N -L 9998:10.128.0.3:1521 -i ~/.ssh/id_rsa user@35.184.136.98
# console 2:
sqlplus user/pwd@localhost:9998/XE
# firefox:
http://localhost:9998/apex
关于linux - 从远程机器访问 Oracle Apex,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45808308/
我有一个包含很多列的交互式网格,APEX 将它们全部放在屏幕上,使它们变得很小而有用。 我怎样才能给它们一个默认宽度并让它们用滚动条离开屏幕? 更改 Width Appearance 中列的参数节没有
我希望在 Oracle Express 版本上设置 Oracle APEX 应用程序。用户限制为2,并发用户数如何确定? 最佳答案 I am looking to set up an Oracle A
是否可以在客户端移动区域?我不是在说页面设计器/网格布局吗? 似乎没有关于是否可能的任何文档。 最佳答案 这在 APEX 中不受“开箱即用”的支持,但由于 APEX 使用 jQuery,因此使用 jQ
我在初始“门户”应用程序(“App1”)中建立了 2 个全局范围的应用程序项“USER_ID”和“USER_NAME”,我想在多个应用程序(“App2”、“App3”等)中使用它们从 App1 调用。
我在更改交互式报告列顺序时遇到问题。 我的 APEX 版本 5.0.3.00.03。 如果我更改列中的顺序,则不会发生任何变化。 如果我在 SqlQuery 中更改顺序,则没有任何变化。 如果我更改报
在 Oracle APEX 中,如果在字段 A 中选择了“调制解调器”,是否可以创建验证以使字段 B 不能为空? (字段 A 是一个选择列表,其中包含一个使用查询来接收其值列表的值列表) 谢谢托尼,
我是 Oracle Apex 的初学者。 我将如何着手创建自定义授权方案?该过程应如下所示: 如果用户在数据库中没有特定角色,则应弹出模式表单以创建该页面的访问请求。 本质上,一些行应该作为请求的待处
我有几个类似的交互式报告。我想要某种模板,所有报告都将遵守该模板。例如,每个报告都需要有一个按钮,而为每个新报告添加按钮很乏味。如果我想更改所有报告的共同部分,我将需要浏览所有报告并应用困难的更改。
我有一个有条件地显示的项目 - 基于另一个项目选择。我想在隐藏时使该项目成为非必需项。最好的方法是什么? 最佳答案 正如您可能已经发现的那样,您不能只设置依赖项的 Required 属性,因为这使得它
Oracle Application Express 是否适合 Intranet 客户端/服务器应用程序?如果是这样,我应该怎样做才能允许客户端访问应用程序? 嗯,我是一名 PowerBuilder/
我在 Java 中有一个二维数组: private static final string[][] namestr = { { John, Mark, David, }, { Peter, Ken,
我有一个交互式网格,当用户单击自定义工具栏按钮时,它会通过自定义 javascript 进行更新。然后结果是通过一个过程使用网格的 save 按钮保存的。该过程运行后,将显示旧数据(更新前存在),直到
转自 users@apex.incubator.apache.org 什么时候调用运算符的构造函数?文档说运算符(operator)的生命周期只有一次,但我想知道“生命周期”的定义是否跨越 apex
我正在使用 APEX 19.2.0.00.18。我有一个带有 4 个图表子区域的静态区域的页面,以及一个单选按钮,允许用户选择要在图表中显示的系列(总数、平均值、中位数)。当单选按钮值更改时,我设置了
我是一名经验丰富的 Oracle Forms 开发人员,今天我第一次了解了 Oracle APEX。老实说,我只是快速浏览了 Apress 的一本面向初学者的书,但我注意到没有提及如何创建可重用组件。
转自 users@apex.incubator.apache.org Apex 利用缓冲服务器进行背压。缓冲服务器如何在应用程序崩溃后幸存下来?如果缓冲服务器本身挂掉了怎么办? Apex 能否保证当缓
我在 Java 中有一个二维数组: private static final string[][] namestr = { { John, Mark, David, }, { Peter, Ken,
我有一个交互式网格,当用户单击自定义工具栏按钮时,它会通过自定义 javascript 进行更新。然后结果是通过一个过程使用网格的 save 按钮保存的。该过程运行后,将显示旧数据(更新前存在),直到
我正在使用 Apex 4.2 和 Oracle 11.g 我在交互式报告中显示了一个名为“交易详细信息”的列。报告列的显示文本为选项设置为“标准报告列”。报告列选自名为 transaction_det
我正在使用一个自定义登录函数,无论用户是否应该被允许登录(标准的事情),它都会产生一个 true/false 值。 我的问题是:当函数返回“false”时,会显示标准消息“无效的登录凭据” 即使凭证是
我是一名优秀的程序员,十分优秀!