Instalace je obdobná jako u předchozí verze, ale konečně se instaluje do obvyklého ORACLE_HOME.
[root@vmsrv01 opt]# ls -ltr
total 813984
drwxr-xr-x. 2 root root 4096 Mar 31 19:05 upgrade
drwxr-xr-x. 2 root root 4096 Mar 31 19:05 response
-rwxr-xr-x. 1 root root 285970605 Mar 31 19:05 oracle-xe-11.2.0-0.5.x86_64.rpm
-rw-r–r–. 1 root root 284621943 Apr 8 10:01 linux.x64_11gR2_OracleXE.zip
Instalace
[root@vmsrv01 opt]# rpm -ivh oracle-xe-11.2.0-0.5.x86_64.rpm
Preparing… ########################################### [100%]
error: „net.bridge.bridge-nf-call-ip6tables“ is an unknown key
error: „net.bridge.bridge-nf-call-iptables“ is an unknown key
error: „net.bridge.bridge-nf-call-arptables“ is an unknown key
error: %pre(oracle-xe-11.2.0-0.5.x86_64) scriptlet failed, exit status 255
error: install: %pre scriptlet failed (2), skipping oracle-xe-11.2.0-0.5
[root@vmsrv01 opt]# rpm -ivh oracle-xe-11.2.0-0.5.x86_64.rpm
Preparing… ########################################### [100%]
1:oracle-xe ########################################### [100%]
Executing post-install steps…
You must run ‚/etc/init.d/oracle-xe configure‘ as the root user to configure the database.
[root@vmsrv01 opt]# yum install libaio
[root@vmsrv01 opt]# yum install unixODBC
[root@vmsrv01 opt]# yum install binutils
[root@vmsrv01 opt]# yum install glibc
[root@vmsrv01 opt]# yum install gcc
Konfigurace
[root@vmsrv01 opt]# /etc/init.d/oracle-xe configure
Oracle Database 11g Express Edition Configuration
————————————————-
This will configure on-boot properties of Oracle Database 11g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:
Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:
Starting Oracle Net Listener…Done
Configuring database…Done
Starting Oracle Database 11g Express Edition instance…Done
Installation completed successfully.
{phocagallery view=category|categoryid=1|imageid=199}
{phocagallery view=category|categoryid=1|imageid=200}
{phocagallery view=category|categoryid=1|imageid=201}
Databáze se automaticky nainstaluje do adresáře /u01/app/oracle/product/11.2.0/xe
Uživatel Oracle:
-bash-4.1$ cd /u01/app/oracle/product/11.2.0/xe/bin/
-bash-4.1$ ls -ltr oracle*
-rwxr-xr-x. 1 oracle dba 156 Mar 11 06:15 oracle_env.sh
-rwxr-xr-x. 1 oracle dba 156 Mar 11 06:15 oracle_env.csh
-rwsr-s–x. 1 oracle dba 178499800 Mar 23 07:05 oracle
-bash-4.1$ . ./oracle_env.sh
-bash-4.1$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Beta on Fri Aug 5 17:03:42 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 – 64bit Beta
SQL> show parameter instance
NAME TYPE VALUE
———————————— ———– ——————————
active_instance_count integer
cluster_database_instances integer 1
instance_groups string
instance_name string XE
instance_number integer 0
instance_type string RDBMS
open_links_per_instance integer 4
parallel_instance_group string
parallel_server_instances integer 1