2017. 7. 2. 21:37
oracle 10g XE설치 C. Oracle2017. 7. 2. 21:37
(os: fc4) oracle 10g XE install
yum -y update
oracle 10g xe 설치시 나는 의존성 에러를 잡는다.
libaio >= 0.3.96 is needed by oracle-xe-univ-10.2.0.1-1.0.i386
yum install libaio
yum -y update
oracle 10g xe 설치시 나는 의존성 에러를 잡는다.
libaio >= 0.3.96 is needed by oracle-xe-univ-10.2.0.1-1.0.i386
yum install libaio
oracle 10g XE 설치
rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
준비 중... ########################################### [100%]
1:oracle-xe-univ ########################################### [100%]
Executing Post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to
configure the database.
rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
준비 중... ########################################### [100%]
1:oracle-xe-univ ########################################### [100%]
Executing Post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to
configure the database.
기본 셋팅
# ./oracle-xe configure
# ./oracle-xe configure
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g 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 <Enter> to accept the defaults.
Ctrl-C will abort.
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g 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 <Enter> 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: [엔터]
Password can't be null. Enter password: 비밀번호
Confirm the password: 비밀번호
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: [엔터]
Password can't be null. Enter password: 비밀번호
Confirm the password: 비밀번호
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: [엔터]
Starting Oracle Net Listener...Done
Configuring Database... [한참 걸립니다.]
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
계정으 sys / 위에서 입력한 비밀번호 입력 ->접속후 각계정을 풀어주고, 계정생성...작업을 한다.
Starting Oracle Net Listener...Done
Configuring Database... [한참 걸립니다.]
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
계정으 sys / 위에서 입력한 비밀번호 입력 ->접속후 각계정을 풀어주고, 계정생성...작업을 한다.
환경설정
cd /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
안의 내용을 /etc/profile 에 붙여넣는다.
#sqlplus 실행
cd /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
oracle_env.csh
(for C or tcsh shell)oracle_env.sh
(for Bourne, Bash, or Korn shell)안의 내용을 /etc/profile 에 붙여넣는다.
#sqlplus 실행
ps. 로컬에서 실행할때는 oracle계정으로 접속하여야 한다.
'C. Oracle' 카테고리의 다른 글
oracle NULL (0) | 2017.07.02 |
---|---|
oracle 10g 설치 linux (0) | 2017.07.02 |
oracle SGA 영역 (0) | 2017.07.02 |
oracle 조인 (0) | 2017.07.02 |
oracle DDL (0) | 2017.07.02 |