打开命令窗口:
Change the HTTP/WEBDAV port from 8080 to 8081
call dbms_xdb.cfg_update(updateXML(
dbms_xdb.cfg_get()
, '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
, 8081))
/
-- Change the FTP port from 2100 to 2111
call dbms_xdb.cfg_update(updateXML(
dbms_xdb.cfg_get()
, '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()'
, 2111))
/
COMMIT;
EXEC dbms_xdb.cfg_refresh;
Change the HTTP/WEBDAV port from 8080 to 8081
call dbms_xdb.cfg_update(updateXML(
dbms_xdb.cfg_get()
, '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
, 8081))
/
-- Change the FTP port from 2100 to 2111
call dbms_xdb.cfg_update(updateXML(
dbms_xdb.cfg_get()
, '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()'
, 2111))
/
COMMIT;
EXEC dbms_xdb.cfg_refresh;
本文介绍了一种通过Oracle PL/SQL过程来更改Oracle XDB中HTTP与FTP服务端口的方法。具体步骤包括使用`dbms_xdb.cfg_update`过程更新配置文件中的HTTP端口从8080改为8081,FTP端口从2100改为2111,并最终通过`dbms_xdb.cfg_refresh`刷新配置。
6377

被折叠的 条评论
为什么被折叠?



