본문 바로가기

Projects/Server

리눅스 페도라 4 에서 oracle xe 설치 하기

되는 사람도 있었구나...
======================================================


사용하지 않는 서버가 하나 있어서 시험삼아 설치 해 봤다..

서버 사양은 p3 733, 384M, 18*2 SCSI LVM2


우선 yum -y update 한방 날려 주고 시작 했다.


[root@ml370 ~]# rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
오류: Failed dependencies:
       libaio >= 0.3.96 is needed by oracle-xe-univ-10.2.0.1-1.0.i386


libaio 가 설치 되어 있지 않다고 해서 설치 했다.


[root@ml370 ~]# yum install libaio
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libaio to pack into transaction set.
libaio-0.3.104-2.i386.rpm 100% |=========================| 6.6 kB    00:00
---> Package libaio.i386 0:0.3.104-2 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
libaio                  i386       0.3.104-2        base               18 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 18 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): libaio-0.3.104-2.i 100% |=========================|  18 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: libaio                       ######################### [1/1]

Installed: libaio.i386 0:0.3.104-2
Complete!



[root@ml370 ~]# 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.



기본 셋팅

[root@ml370 init.d]# ./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.

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: 비밀번호

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: [엔터]
n 으로 하는 경우에 오류가 있을 수도 있다고 주서 들은 얘기.


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"
[root@ml370 init.d]#


setup 에서 방화벽 설정 꺼두고서 pc 에서 웹주소로 접속을 해보면 접속 환경이

웹상에서 보이게 됩니다.


제한조건으로는 저장영역 4G 이하, SGA+PGA 1G 이하라고 하네요..

연습용으로 적당할 듯 합니다..

'Projects > Server' 카테고리의 다른 글

리눅스 swap memory  (0) 2007.02.23
centos.org  (0) 2007.02.23
RHEL4 복제품인 CentOS4와 오라클 10g설치  (0) 2007.02.16
Remote Administrator  (0) 2007.02.14
컴퓨터 - 활용 … MySql 5.0과 Tomcat / 한글 관련 문제  (0) 2006.10.18