分享
 
 
 

改变或关闭OracleXDB的ftp和http端口

王朝oracle·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

The following section describes the syntax that can be used to alter XML DB configuration information from within SQL*Plus. Ensure that you are logged into the database from a DBA account. In the following example, the default HTTP/WebDAV and FTP ports are changed from 8080 and 2100 to 8081 and 2111 respectively:

SQL -- Change the HTTP/WEBDAV port from 8080 to 8081

SQL call dbms_xdb.cfg_update(updateXML(

2

dbms_xdb.cfg_get()

3

, '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'

4

, 8081))

5

/

Call completed.

SQL -- Change the FTP port from 2100 to 2111

SQL call dbms_xdb.cfg_update(updateXML(

2

dbms_xdb.cfg_get()

3

, '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()'

4

, 2111))

5

/

Call completed.

SQL COMMIT;

Commit complete.

SQL EXEC dbms_xdb.cfg_refresh;

PL/SQL procedure successfully completed.

SQL -- Verify the change

SQL set long 100000

SQL set pagesize 9000

SQL SELECT dbms_xdb.cfg_get FROM dual;

CFG_GET

--------------------------------------------------------------------------------

<xdbconfig xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd" xmlns:xsi="http://w

ww.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/x

db/xdbconfig.xsd

http://xmlns.oracle.com/xdb

/xdbconfig.xsd"

<sysconfig

<acl-max-age900</acl-max-age

<acl-cache-size32</acl-cache-size

<invalid-pathname-chars,</invalid-pathname-chars

<call-timeout300</call-timeout

<max-session-use100</max-session-use

<default-lock-timeout3600</default-lock-timeout

<resource-view-cache-size1048576</resource-view-cache-size

<protocolconfig

<common

<extension-mappings

<mime-mappings

<mime-mapping

<extensionau</extension

<mime-typeaudio/basic</mime-type

</mime-mapping

<mime-mapping

<extensionavi</extension

<mime-typevideo/x-msvideo</mime-type

</mime-mapping

<mime-mapping

<extensionbin</extension

<mime-typeapplication/octet-stream</mime-type

</mime-mapping

<mime-mapping

<extensionbmp</extension

<mime-typeimage/bmp</mime-type

</mime-mapping

<mime-mapping

<extensiondoc</extension

<mime-typeapplication/msword</mime-type

</mime-mapping

<mime-mapping

<extensioneml</extension

<mime-typemessage/rfc822</mime-type

</mime-mapping

<mime-mapping

<extensiongif</extension

<mime-typeimage/gif</mime-type

</mime-mapping

<mime-mapping

<extensionhtm</extension

<mime-typetext/html</mime-type

</mime-mapping

<mime-mapping

<extensionhtml</extension

<mime-typetext/html</mime-type

</mime-mapping

<mime-mapping

<extensionjpe</extension

<mime-typeimage/jpeg</mime-type

</mime-mapping

<mime-mapping

<extensionjpeg</extension

<mime-typeimage/jpeg</mime-type

</mime-mapping

<mime-mapping

<extensionjpg</extension

<mime-typeimage/jpeg</mime-type

</mime-mapping

<mime-mapping

<extensionjsp</extension

<mime-typetext/html</mime-type

</mime-mapping

<mime-mapping

<extensionmid</extension

<mime-typeaudio/mid</mime-type

</mime-mapping

<mime-mapping

<extensionmov</extension

<mime-typevideo/quicktime</mime-type

</mime-mapping

<mime-mapping

<extensionmovie</extension

<mime-typevideo/x-sgi-movie</mime-type

</mime-mapping

<mime-mapping

<extensionmp3</extension

<mime-typeaudio/mpeg</mime-type

</mime-mapping

<mime-mapping

<extensionmpe</extension

<mime-typevideo/mpg</mime-type

</mime-mapping

<mime-mapping

<extensionmpeg</extension

<mime-typevideo/mpg</mime-type

</mime-mapping

<mime-mapping

<extensionmpg</extension

<mime-typevideo/mpg</mime-type

</mime-mapping

<mime-mapping

<extensionmsa</extension

<mime-typeapplication/x-msaccess</mime-type

</mime-mapping

<mime-mapping

<extensionmsw</extension

<mime-typeapplication/x-msworks-wp</mime-type

</mime-mapping

<mime-mapping

<extensionpcx</extension

<mime-typeapplication/x-pc-paintbrush</mime-type

</mime-mapping

<mime-mapping

<extensionpdf</extension

<mime-typeapplication/pdf</mime-type

</mime-mapping

<mime-mapping

<extensionppt</extension

<mime-typeapplication/vnd.ms-powerpoint</mime-type

</mime-mapping

<mime-mapping

<extensionps</extension

<mime-typeapplication/postscript</mime-type

</mime-mapping

<mime-mapping

<extensionqt</extension

<mime-typevideo/quicktime</mime-type

</mime-mapping

<mime-mapping

<extensionra</extension

<mime-typeaudio/x-realaudio</mime-type

</mime-mapping

<mime-mapping

<extensionram</extension

<mime-typeaudio/x-realaudio</mime-type

</mime-mapping

<mime-mapping

<extensionrm</extension

<mime-typeaudio/x-realaudio</mime-type

</mime-mapping

<mime-mapping

<extensionrtf</extension

<mime-typeapplication/rtf</mime-type

</mime-mapping

<mime-mapping

<extensionrv</extension

<mime-typevideo/x-realvideo</mime-type

</mime-mapping

<mime-mapping

<extensionsgml</extension

<mime-typetext/sgml</mime-type

</mime-mapping

<mime-mapping

<extensiontif</extension

<mime-typeimage/tiff</mime-type

</mime-mapping

<mime-mapping

<extensiontiff</extension

<mime-typeimage/tiff</mime-type

</mime-mapping

<mime-mapping

<extensiontxt</extension

<mime-typetext/plain</mime-type

</mime-mapping

<mime-mapping

<extensionurl</extension

<mime-typetext/plain</mime-type

</mime-mapping

<mime-mapping

<extensionvrml</extension

<mime-typex-world/x-vrml</mime-type

</mime-mapping

<mime-mapping

<extensionwav</extension

<mime-typeaudio/wav</mime-type

</mime-mapping

<mime-mapping

<extensionwpd</extension

<mime-typeapplication/wordperfect5.1</mime-type

</mime-mapping

<mime-mapping

<extensionxls</extension

<mime-typeapplication/vnd.ms-excel</mime-type

</mime-mapping

<mime-mapp

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有