作者:手机用户2502926851 | 来源:互联网 | 2014-07-09 16:02
更改ORACLE所占用的8080端口号C:\DocumentsandSettings\hesai>sqlplusSQL*Plus:Release10.1.0.2.0-Productionon星期六10月2015:16:372012Copyright(c)1982,2004,Oracle.All...
更改ORACLE所占用的8080端口号
C:\Documents and Settings\hesai>sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on 星期六 10月 20 15:16:37 2012
Copyright (c) 1982, 2004,
Oracle. All rights reserved.
www.2cto.com
Enter user-name: / as sysdba
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
-- Change the HTTP/WEBDAV port from 8080 to 8090
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig
/protocolconfig/httpconfig/http-port/text()',8090));
Call completed.
-- Change the FTP port from 2100 to 2111
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig
/protocolconfig/ftpconfig/ftp-port/text()',2111));
www.2cto.com
Call completed.
SQL> commit;
Commit complete.
SQL> exec dbms_xdb.cfg_refresh;
PL/SQL procedure successfully completed.