Changes

From SME Server
Jump to navigationJump to search
151 bytes added ,  12:13, 1 February 2015
better start/stop commands + formatting
Line 1: Line 1: −
Oracle 11.2 XE (free edition)
+
==Oracle 11.2 XE (free edition)==
    
Following this page: http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL121
 
Following this page: http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL121
Line 24: Line 24:     
Again I left everything standard (8080 port and simple password)
 
Again I left everything standard (8080 port and simple password)
 +
<pre>
 +
ALTER USER ANONYMOUS ACCOUNT UNLOCK;
   −
ALTER USER ANONYMOUS ACCOUNT UNLOCK;
+
EXEC DBMS_XDB.SETHTTPPORT(8080);
   −
EXEC DBMS_XDB.SETHTTPPORT(8080);
+
/etc/init.d/oracle-xe restart
 
+
</pre>
/etc/init.d/oracle-xe restart
+
Configure OracleXE to start/stop in the SMEserver way:
 
+
<pre>
  ln -s /etc/rc.d/init.d/oracle-xe /etc/rc7.d/S99Oracle
+
config set oracle-xe service status enabled TCPPort 8080
 
+
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99oracle-xe
ln -s /etc/rc.d/init.d/oracle-xe /etc/rc1.d/K98Oracle
+
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc1.d/K01oracle-xe
 +
</pre>
147

edits

Navigation menu