Oracle Apex 3.2.1 @11gR2(1)
11G 上的Apex和XE上的是一樣的都採用embedded pl/sql gateway的方式,(文件1.4.2)要更改裡面的images內容或上傳新的圖片就比較費勁了,因為不能像Apache 的mod_plsql那樣從檔案系統的目錄裡可以看到相應的路徑去更改。這是就需要進行一下設定使其能夠進行FTP的訪問,
SQL*Plus: Release 11.2.0.1.0 Production on Sun Sep 20 09:39:14 2009
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL> select banner from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> exec dbms_xdb.setftpport(2100);
PL/SQL procedure successfully completed.
SQL> alter system register;
System altered.
SQL> host
oracle@oracle11gr2:~> ftp localhost 2100
Connected to localhost.
220- oracle11gr2
Unauthorised use of this FTP server is prohibited and may be subject to civil and criminal prosecution.
220 oracle11gr2 FTP Server (Oracle XML DB/Oracle Database) ready.
Name (localhost:oracle): system
331 pass required for SYSTEM
Password:
230 SYSTEM logged in
Remote system type is Unix.
ftp> ls
227 Entering Passive Mode (127,0,0,2,144,155)
wrong server: return code must be 229
227 Entering Passive Mode (127,0,0,2,60,148)
150 ASCII Data Connection
drw-r--r-- 2 SYS oracle 0 AUG 13 23:17 OLAP_XDS
drw-r--r-- 2 SYS oracle 0 SEP 04 16:54 home
drw-r--r-- 2 SYS oracle 0 AUG 13 23:34 images
drw-r--r-- 2 SYS oracle 0 AUG 13 23:17 olap_data_security
drw-r--r-- 2 SYS oracle 0 AUG 13 23:10 public
drw-r--r-- 2 SYS oracle 0 SEP 04 16:54 sys
-rw-r--r-- 1 SYS oracle 0 SEP 20 13:40 xdbconfig.xml
drw-r--r-- 2 SYS oracle 0 AUG 13 23:17 xds
226 ASCII Transfer Complete
ftp> cd images
250 CWD Command successful
ftp> ls
227 Entering Passive Mode (127,0,0,2,41,87)
150 ASCII Data Connection
-rw-r--r-- 1 SYS oracle 130 AUG 13 23:34 16admin.gif
-rw-r--r-- 1 SYS oracle 43 AUG 13 23:34 1pixelbeige.gif
-rw-r--r-- 1 SYS oracle 799 AUG 13 23:34 1px_gray.gif
-rw-r--r-- 1 SYS oracle 43 AUG 13 23:34 1px_trans.gif
...........省略200多行!
-rw-r--r-- 1 SYS oracle 42 AUG 13 23:34 yellow.gif
-rw-r--r-- 1 SYS oracle 90 AUG 13 23:34 yellow_flag.gif
-rw-r--r-- 1 SYS oracle 1599 AUG 13 23:34 yes.gif
226 ASCII Transfer Complete
ftp> bye
221 QUIT Goodbye.
oracle@oracle11gr2:~> exit
exit
這樣應該會比較直觀的看到目錄裡的內容,進行上傳和下載檔案了。
另,為了安全。使用完後再把FTP 的port設定取消就行了。
SQL> exec dbms_xdb.setftpport(0);
PL/SQL procedure successfully completed.
SQL> alter system register;
System altered.
--EOF
[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/733893/viewspace-1027169/,如需轉載,請註明出處,否則將追究法律責任。
上一篇:
APEX 3.2.1 Released
下一篇:
沒有了~
請登入後發表評論
登入
全部評論
相關文章
- Oracle Apex 3.2.1 @11gR2(1)(轉)Oracle
- [APEX] APEX無法連線
- Oracle apex3.2 語言問題Oracle
- 部署Oracle 11gR2 Data Guard安裝記錄(1)Oracle
- Oracle APEX皇家國際線上hj8828.vip Oracle APEX, 讓你秒變全棧開發的黑科技Oracle全棧
- Oracle 11gR2 ASM磁碟組管理與新特性實踐[1]OracleASM
- oracle 11gr2 drop asmOracleASM
- oracle 11GR2 新特性Oracle
- 【oracle】靜默安裝 oracle 11gr2Oracle
- Oracle 11gR2 New Features Oracle RestartOracleREST
- 升級APEX 元件元件
- windows apex 安裝Windows
- Oracle 11GR2 Duplicate from BackupOracle
- oracle 11gR2 install problemOracle
- oracle 11gr2 SCAN LISTENER配置Oracle
- oracle 11gr2 rac 安裝Oracle
- oracle 11gR2 如何修改vipOracle
- Oracle 11gr2提供下載Oracle
- 3.2.1 Mounting a Database to an InstanceDatabase
- Spring Framework 3.2.1 釋出SpringFramework
- apex在steam上怎麼玩 國區steam玩apex方法教程
- 【Oracle12C】11GR2升級到12CR1並插入CDBOracle
- Oracle 11gR2 RAC修改SCAN IPOracle
- ORACLE 11gr2 ASM redo log 增加OracleASM
- oracle 11gR2 scan ip (DNS模式)OracleDNS模式
- oracle 11gR2 如何修改public ipOracle
- oracle 11gR2 如何修改 private ipOracle
- 安裝oracle 11GR2 手記Oracle
- 【官方文件 oracle documentation】oracle官方文件總彙(9i,10g,11gR1, 11gR2)Oracle
- Mac中安裝maven3.2.1MacMaven
- Solaris 10.5 安裝Oracle 11gR2Oracle
- Oracle RAC 11gR2開啟歸檔Oracle
- Oracle 11gR2 警告檔案的位置Oracle
- Oracle 11gR2 RAC ORA-00845Oracle
- Oracle 11gR2 RAC修改SCAN IP地址Oracle
- Oracle 11gR2 RAC 常用維護操作Oracle
- Oracle Database 11gR2 OEM故障排除案例OracleDatabase
- Windows環境配置Oracle 11gR2 ListenerWindowsOracle