IT기술/Oracle 119

CentOS5 + 10g silent

CentOS5에 Oracle 10g 를 설치하는 방법은 RHEL4에 Oracle 10g를 설치하는 방법과 /home/oracle/.bash_profile 파일의 설정만 조금 다르고 나머지는 모두 동일하다. # vi /home/oracle/.bash_profile 빨간색 글씨(커널설정)은 입력하지 않는다. (입력시 oracle 계정으로 로그인이 안됨) export EDITOR=viexport LD_ASSUME_KERNEL=2.4.19export ORACLE_BASE=/home/oracleexport ORACLE_HOME=$ORACLE_BASE/product/10gexport ORACLE_SID=testdbexport LANG=ko_KR.eucKRexport ORACLE_TERM=xtermexport NLS..

IT기술/Oracle 2013.10.15

RHEL5 + 11g

RHEL5 설치 HDD 40GBRAM 1024MB 하드 파티션/ 7000/boot 100/var 1000swap 2000/home 나머지/app 15G 네트워크 설정ip, subnet mast, host, gateway 설정 소프트웨어 사용자 설치개발 모두 선택서버 모두 해제기반 시스템 시스템 도구 - 옵션 패키지 - sysstat 체크 설치 완료 후 # vi /etc/ssh/sshd_configPermitRootLogin 주석 해제 후 putty로 접속해서 작업 dba 그룹, oracle 계정 생성# groupadd -g 5000 dba# useradd -g dba -d /home/oracle oracle# passwd oracle 설치 권장사양 확인# grep SwapTotal /proc/meminf..

IT기술/Oracle 2013.10.14

RHEL4 + 11g

RHEL4 설치 과정은 생략HDD만 40G로 셋팅/ 7000/boot 100/var 1000swap 2000/home 나머지/app 15G # vi /etc/ssh/sshd_config PermitRootLogin yes # /etc/init.d/sshd restart - dba 그룹, oracle 계정 생성# groupadd -g 5000 dba# useradd -g dba oracle# passwd oracle - 설치 권장사양 확인 ( swap 은 메모리의 1.5배 ~ 2배, /tmp 디렉토리의 여유공간 1G 이상 필요)# grep SwapTotal /proc/meminfo# df -h /tmp - /etc/profile 수정# vi /etc/profile변경 전 값 : ulimit –s –c 0 ..

IT기술/Oracle 2013.10.11

RHEL4 + 10g silent

RHEL4 설치 과정은 생략HDD만 40G로 셋팅/ 7000/boot 100/var 1000swap 2000/home 나머지/app 15G - dba 그룹, oracle 계정 생성# groupadd -g 5000 dba# useradd -g dba -d /home/oracle oracle# passwd oracle - .bash_profile 수정# su - oracle$ vi .bash_profile - 파일 하단에 아래 내용 추가export LD_ASSUME_KERNEL=2.4.19export ORACLE_BASE=/home/oracleexport ORACLE_HOME=$ORACLE_BASE/product/10gexport ORACLE_SID=testdbexport LANG=ko_KR.eucKRexp..

IT기술/Oracle 2013.10.11

RHEL4 + 10g

10.2.0.1 --> 10.2.0.4 --> DB생성 --> 10.2.0.5 RHEL4 설치 후,설치파일 중 10201_database_linux32.zip 파일과디렉토리를 전부 옮긴다. - /etc/sysctl.conf 커널설정하기# vi /etc/sysctl.conf - 아래의 내용 추가kernel.shmmax=536870912 kernel.shmmni=4096kernel.shmall=2097152kernel.sem=250 32000 100 128fs.file-max=65536net.ipv4.ip_local_port_range=1024 65000net.core.rmem_default=262144net.core.rmem_max=262144net.core.wmem_default=262144net.cor..

IT기술/Oracle 2013.10.10

RHEL3 + 9i 설치 + 패치 후 DB 생성 + 패치

Oracle 버전 설명R1 - 9.1.x.x 10.1.x.x R2 - 9.2.x.x 10.2.x.x 9.2.0.4 설치 후 --> 9.2.0.7 로 패치 --> DB 생성 후 --> 9.2.0.8로 또 다시 패치 - VMWARE 설정과 RHEL3 설치과정은 중복되는 관계로 생략하겠다. putty로 root 계정 로그인 설정 ( PermitRootLogin yes 주석 해제 ) dba 그룹 추가, oracle 사용자 추가 - WinSCP 로 설치파일을 넘긴다. - 공유메모리 설정# echo '2147483648' > /proc/sys/kernel/shmmax - rc.local 파일에도 위 작업 내용 등록 (리눅스 시작시 자동실행 파일)# vi /etc/rc.d/rc.local - 설치파일 압축 풀기 # ..

IT기술/Oracle 2013.10.08

RHEL3 + 8i

- VMWARE에서 하드- 20G, 램- 1G Virtual Machine 생성RHEL3 설치 시작Enter - media test 는 Skip - RHEL 3 설치 첫화면이 나왔다. Next - 설치 언어는 한국어 - 키보드는 U.S.English - 마우스 설정 다음 - 드라이브 파티션 설정 Disk Druid 를 통한 수동 파티션 설정 선택 후 다음 - 예 - 새로 생성 클릭RHEL 3, 4 파티션 나누기 정보20G HDD 기준/ 7000/boot 100/var 1000swap RAM의 2배 (1G로 잡았으니 2000)/home 나머지 (오라클 설치 예정) - /home 오라클을 설치할 곳, 나머지 용량 모두 지정 - 부트로더 설정 확인 후 다음 - 네트워크 설정 편집 클릭 - DHCP 사용 체크 ..

IT기술/Oracle 2013.10.07