티스토리 뷰
oracle 계정 생성
root> groupadd -g 5000 dba
root> useradd -g dba oracle
root> passwd oracle
libnsl 패키지 설치
참고자료 : https://positivemh.tistory.com/837
root> dnf install -y libnsl
root> dnf install -y libnsl.i686
root> dnf install -y libnsl2
root> dnf install -y libnsl2.i686
/etc/redhat-release 수정
참고자료 : http://readysystem.co.kr/ready/bbs/board.php?bo_table=tech_application&wr_id=117&sfl=&stx=&sst=wr_hit&sod=desc&sop=and&page=2
- 기존 문구 주석처리 후 아래와 같이 수정
redhat-4
EC2 GUI 사용을 위한 라이브러리 설치
참고자료 : https://www.youtube.com/watch?v=hE5a7S73Rew
root> yum grouplist
root> yum group install "Server with GUI"
root> yum install https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/e/epel-release-9-7.el9.noarch.rpm
root> yum install xrdp tigervnc-server
root> systemctl start xrdp
root> systemctl enable xrdp
- EC2 보안그룹 설정 RDP - 3389 - 내 IP 허용해주기
oracle 압축풀기
oracle> gzip -d 10201_database_linux_x86_64.cpio.zip
oracle> cpio -idmv < 10201_database_linux_x86_64.cpio
oracle> ll
10201_database_linux_x86_64.cpio database
/etc/sysctl.conf 수정
kernel.shmmax=536870912
kernel.shmmni=4096
kernel.shmall=2097152
kernel.sem=250 32000 100 128
fs.file-max=65536
net.ipv4.ip_local_port_range=1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
/etc/security/limits.conf 수정
oracle10g soft nproc 2047
oracle10g hard nproc 16384
oracle10g soft nofile 1024
oracle10g hard nofile 65536
/etc/pam.d/login 수정
session required pam_limits.so
/etc/selinux/config 수정
SELINUX=disabled
oracle 설치 시 필요한 패키지 설치
참고자료 : https://stackoverflow.com/questions/6329887/how-to-fix-linker-error-cannot-find-crt1-o
https://m.blog.naver.com/spacemarket/221905694917
https://www.rpmfind.net/linux/rpm2html/search.php?query=compat-libstdc%2B%2B-33
root> yum install ld-linux.so.2 libXp.x86_64 libXt.x86_64 libXp-devel.x86_64 libXt-devel.x86_64 libXp.i686 libXt.i686 libXp-devel.i686 libXt-devel.i686 libXtst.i686 libXtst.i686 libXtst-devel.i686 libXtst-devel.x86_64
root> yum install binutils.x86_64 binutils-devel.i686 binutils-devel.x86_64
root> yum install compat-libstdc++-33 compat-db.x86_64 compat-db42.x86_64
root> yum install glibc.i686 glibc.x86_64 glibc-devel.i686 glibc-devel.x86_64
root> yum install libstdc++.i686 libstdc++.x86_64 libstdc++-devel.i686 libstdc++-devel.x86_64
root> yum install elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static
root> yum install gcc gcc-c++ ksh libaio libaio-devel libgomp libgcc make sysstat unixODBC unixODBC-devel pdksh
- 내 기억상.. 3, 6, 7 번째 패키지가 설치를 한꺼번에 못해서 따로 설치했던 기억이 있음
- yum install gcc, yum install gcc-c++ 이런식으로..
GUI 가 나올 수 있게 설정
oracle> echo $DISPLAY
:10.0 // 이런식으로 떠야 함
oracle> vncserver
oracle> xhost +
Oracle 설치 실행
./runInstaller -ignoreSysPrereqs
'1일 1삽질' 카테고리의 다른 글
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- OS
- Java
- 트랜잭션격리성
- 운영체제
- ci/cd
- N+1
- 인덱스
- nginx
- 트랜잭션
- Travis CI
- graphql
- CodeDeploy
- db
- 람다식
- 프로그래머스
- Oracle
- SpringSecurity
- spring
- ORA-27125
- level0
- AWS
- 네이버클라우드
- ddl-auto
- EC2
- JPA
- Til
- SpringGraphQL
- TCP
- 파일업로드설정
- 기술면접
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함