전체 글

전체 글

    lockylinux9.7에 oracle19c 설치

    lockylinux9.7에 oracle19c 설치

    [root@localhost ~]# cat /etc/os-release NAME="Rocky Linux" VERSION="9.7 (Blue Onyx)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="9.7" PLATFORM_ID="platform:el9" PRETTY_NAME="Rocky Linux 9.7 (Blue Onyx)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:9::baseos" HOME_URL="https://rockylinux.org/" VENDOR_NAME="RESF" VENDOR_URL="https://resf.org/" BUG_REPORT_URL="http..

    Oracle19c RAC에 RMAN 데이터파일 복구

    Oracle19c RAC에 RMAN 데이터파일 복구

    1. 기본구성 Oralce Linux 7.9 / Oracle 19.3.0.0.0 2. RMAN을 이용한 백업[RACDB1:/home/oracle]> rman target sys/oracle@racdbRecovery Manager: Release 19.0.0.0.0 - Production on Wed Apr 16 14:40:57 2025Version 19.3.0.0.0Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.connected to target database: RACDB (DBID=1176255865)RMAN> backup database;Starting backup at 25/04/16allocated cha..

    Linux7.9 LVM 확장

    Linux7.9 LVM 확장

    * 하드디스크 추가 : /dev/sdg (VDI-고정크기-20G) 1. 기존 디스크 확장[root@RAC1 ~]# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsdf 8:80 0 15G 0 disk└─sdf1 8:81 0 15G 0 partsdd 8:48 0 1G 0 disk└─sdd1 8:49 0 1023M 0 partsdb 8:16 0 1G 0 disk└─sdb1 8:17 0 1023M 0 partsr0 11:0 1 1024M 0 romsdg 8:96 0 20G 0..

    CentOS7 - Error: Package: glibc-2.17-260.el7.i686 (base)

    CentOS7 - Error: Package: glibc-2.17-260.el7.i686 (base)

    [root@localhost ~]# yum -y install gccError: Package: glibc-2.17-260.el7.i686 (base) Requires: glibc-common = 2.17-260.el7 Installed: glibc-common-2.17-317.el7.x86_64 (@CentOS) glibc-common = 2.17-317.el7 Available: glibc-common-2.17-260.el7.x86_64 (base) glibc-common = 2.17-260.el7 You could try using --skip-broken to work around the pro..

    CentOS7 -[에러코드] Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

    # 경로 이동cd /etc/yum.repos.d# 백업 폴더 생성mkdir old_repo# 기존 파일 이동mv CentOS-* old_repo# 폴더 이동mv old_repo /opt/apps/# 새 레포지토리 파일 생성# original이 기존, new가 새로운 URL입니다.# mirrorlist 부분은 모두 주석하였습니다.vi CentOS-Base.repo[base]name=CentOS-$releasever - Base# original#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra#baseurl=http://mirror.centos.org/centos/$releasever..

    Oracle Linux 7.9에 Oracle19c RAC 설치-(1)

    Oracle Linux 7.9에 Oracle19c RAC 설치-(1)

    1. 기본구성RAC1 (어댑터에 브리지,호스트전용),기본 메모리 8192 MBPublic IP :  192.168.200.103 Private IP :  192.168.56.103 Vitual IP :  192.168.200.153 Netmask : 255.255.255.0 Gateway : 192.168.200.1  DNS : 127.0.0.1  RAC2 (어댑터에 브리지,호스트전용),기본 메모리 8192 MB Public IP :  192.168.200.104 Private IP : 192.168.56.104 Vitual IP : 192.168.200.164 Netmask : 255.255.255.0 Gateway : 192.168.200.1  DNS : 127.0.0.1 2. VM 세팅  3. Or..

    CentOS7 Kernel-uek 다운

    CentOS7 Kernel-uek 다운

    * OS 환경 : CentOS 7.9 1. 새로운 repo 목록 다운# wget http://yum.oracle.com/public-yum-ol7.repo 2. 새로운 repo 활성화# yum-config-manager --enable ol7_UEKR5 3. 환경 업그레이드# yum upgrade 4. 환경 재부팅# reboot 5. uek 다운로드# cd /etc/yum.repos.d/# wget http://yum.oracle.com/public-yum-ol7.repo# yum repolist# yum upgrade# reboot

    CentOS7 -[에러코드] GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle"

    CentOS7 -[에러코드] GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle"

    * OS 환경 : CentOS 7.9 * 에러코드 : GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle" * 에러원인 : yum으로 설치할 때 발생 * 해결방법 : gpgcheck 값 수정 [root@rac1 yum.repos.d]# vi /etc/yum.repos.d/public-yum-ol7.repo# vi 명령어 : 입력 후 %s/gpgcheck=1/gpgcheck=0/g 입력:%s/gpgcheck=1/gpgcheck=0/g# 모든 gpgcheck=1을 gpgcheck=0/g으로 변경 설정 후 재설치하면 정상 완료됨

    오라클 TABLESPACE 파일경로 확인 및 이동

    오라클 TABLESPACE 파일경로 확인 및 이동

    * 테이블스페이스명 : gonmossi * 테이블스페이스 경로명 : /u01/app/oracle/oradata/DB11G/gon01.dbf * 변경할 경로명 : /home/oracle/gontest01.dbf 1. 테이블스페이스 생성 SQL> create tablespace gonmossi datafile '/u01/app/oracle/oradata/DB11G/gon01.dbf' size 10M; * 생성된 테이블스페이스에 데이터파일 추가하는법 SQL> alter tablespace gonmossi add datafile '/u01/app/oracle/oradata/DB11G/gon02.dbf' size 10M; 2. 테이블스페이스 경로 조회 SQL> select tablespace_name, statu..

    Linux7.9  LVM 생성

    Linux7.9 LVM 생성

    * 하드디스크 추가 : /dev/sdb (VDI-동적할당-5GB)  1. 디스크 확인[root@OL7 ~]# fdisk -lDisk /dev/sdb: 5368 MB, 5368709120 bytes, 10485760 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/sda: 85.9 GB, 85899345920 bytes, 167772160 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 5..