카테고리 없음
Centos에 Oracle XE 설치하기
kgmcscs
2018. 2. 12. 13:26
1. 라이브러리 설치
yum install libaio bc flex
2.Oracle rpm Download
http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html
위의 사이트로 접속을 하여 파일을 다운로드 후에 URL 을 확인합니다.
wget을 이용하여 다운로드 받습니다. 오라클의 경우 다운받을수 있는 시간을 제한하기 떄문에 할때마다 새로 url을 확인 하셔야 합니다.
3. 압출 풀기.
unzip -q oracle-xe*
4. 설치하기.
- cd DISK1
-rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm
5. 설정하기
-/etc/init.d/oracle-xe configure
- [root@ms3 Disk1]# /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 <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:
- Confirm the password:
- Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:y
- Starting Oracle Net Listener...Done
- Configuring database...Done
- Starting Oracle Database 11g Express Edition instance...Done
- Installation completed successfully.</enter>
6. 환경 설정
- cd /u01/app/oracle/product/11.2.0/xe/bin
- ./oracle_env.sh
- /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
7.접속하기
- sqlplus /nolog