[b]1. download rpm zip from Oracle official site..[/b]
[b]2. [url=https://forums.oracle.com/forums/thread.jspa?threadID=2301639]check and configure your system for the installation requirements[/url], like SWAP size, memory...[/b]
[b]3. the installation:[/b]
[b]2. [url=https://forums.oracle.com/forums/thread.jspa?threadID=2301639]check and configure your system for the installation requirements[/url], like SWAP size, memory...[/b]
[b]3. the installation:[/b]
# a. install rpm, if you met error here, check step 2.
rpm -ivh xxxxxx.rpm
# b. configure the Oracle XE:
sudo /etc/init.d/oracle-xe configure
# press enter if you want to use [default] value
#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:
#Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:
# c. change user 'oracle' 's password:
sudo passwd oracle
# d. configure Oracle variables:
sudo vim /etc/environment
# add the following lines (without '#' at the beginning):
#ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
#TNS_ADMIN=$ORACLE_HOME/network/admin
#ORACLE_SID=XE
source /etc/environment
# add variables to your profile like .profile or .bashrc (without '#')
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
#export PATH=$PATH:$ORACLE_HOME/bin
# e. test sqlplus, the <password> is set in step 4
sqlplus sys@XE as sysdba
# f. change user 'system's password
alter user system identified by <password>;
# g. simple use 'system' to login
sqlplus system/<password>@XE