1、进入命令行,连接sqlplus
C:/ >sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 星期三 10月 12 14:53:56 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL>
2、以SYSDBA身份登录
SQL> conn sys/wangzh@test as sysdba
已连接。
3、修改 HTTP port 由 8080 改为 8088
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
3 ,8088))
4 /
调用完成。
4、 也可以修改FTP 端口,举例如下,将端口2100改为2111,一般情况下不用改就可以。
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port /text()'
3 ,2111))
4 /
调用完成。
5、提交修改
SQL> commit;
提交完成。
SQL> exec dbms_xdb.cfg_refresh;
PL/SQL 过程已成功完成。
C:/ >sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 星期三 10月 12 14:53:56 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL>
2、以SYSDBA身份登录
SQL> conn sys/wangzh@test as sysdba
已连接。
3、修改 HTTP port 由 8080 改为 8088
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
3 ,8088))
4 /
调用完成。
4、 也可以修改FTP 端口,举例如下,将端口2100改为2111,一般情况下不用改就可以。
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port /text()'
3 ,2111))
4 /
调用完成。
5、提交修改
SQL> commit;
提交完成。
SQL> exec dbms_xdb.cfg_refresh;
PL/SQL 过程已成功完成。