전체 글 (266) 썸네일형 리스트형 [ORACLE] Pluggable Database 생성/삭제 개요 pdb 생성, 삭제 구성환경 oracle-19.3 / CentOS 7.6 1. PDB 생성 syntax) create pluggable database "PDB 이름" admin user "PDB 관리자 이름" identified by "PDB 관리자 패스워드" roles = (role) file_name_convert = ('소스 PDB 위치','PDB 생성 위치') * 시드(SEED)에서 새 PDB를 생성하는 경우 PDB 관리자를 지정해야 합니다. 명령문이 관리자를 PDB에 로컬 사용자로 생성하고 로컬에서 PDB_DBA 롤을 관리자에게 부여합니다. PDB가 생성되면 PDB_DBA 롤에 더 많은 롤이나 권한을 부여할 수 있습니다. SQL> create pluggable database "HRPDB.. [ORACLE] Pluggable Database 관리 개요 pluggable 데이터베이스 관리 구성환경 oacle 19.3 / CentOS 7.6 1. Container DB 모드 확인 방법 SQL> select cdb from v$database ; CDB --- YES SQL> 2. PDB 상태 조회 SQL> SELECT NAME, OPEN_MODE, RESTRICTED, OPEN_TIME FROM V$PDBS; NAME OPEN_MODE RES OPEN_TIME --------------- ---------- --- ---------------------------------------- PDB$SEED READ ONLY NO 20/01/20 22:42:46.047 +09:00 ORCLPDB MOUNTED SQL> OR SQL> show pdbs ; .. nginx + tomcat 클러스터링 구성 개요 구성환경 nginx-1.17.7 / tomcat-9 / CentOS 7.6 테스트 환경 nginx 서버 : 192.168.0.167 / tomcat 1 서버 : 192.168.0.130 / tomcat 2 서버 : 192.168.0.140 1. nginx 구성 nginx.conf http { upstream tomcat_group_1 { ip_hash ; server 192.168.0.130:8080 weight=1 max_fails=6 fail_timeout=10s; server 192.168.0.140:8080; } server { listen 80; server_name localhost; location /examples { proxy_pass http://tomcat_group_1; pro.. nginx tomcat 연동 개요 nginx의 proxy 기능을 사용하여 tomcat 연동 구성환경 CentOS 7.6 / nginx-1.17.7 / tomcat 9 톰캣에 기본 내장된 examples 어플리케이션과 연동하는 예제 단계 1) nginx 구성 1. nginx.conf sserver { location /examples { => context root proxy_pass http://localhost:8080; => tomcat http 주소 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # proxy_set_header X-Real-IP $remote_addr; proxy_set_header HOST $http_host; proxy_set_header X-.. [NGINX] 설치 및 기동/종료 개요 구성환경 CentOS 7.6 / nginx-1.16.1 / nginx-1.17.1 1. Yum을 이용한 설치 1.1 epel(Extra Pacckage for Enterprise Linux) repos를 이용한 설치 shell> yum install epel-release shell> yum install nginx ** epel-release 가 설치 되어 있는 경우 /etc/yum.repos.d/epel.repo 파일의 enabled 항목이 1 인지 확인 [epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist.. [Yum] Yum Local Http Repos 구성 개요 구성 CentOS 7.6 단계 1) 웹서버 설치(nginx) shell> yum install epel-release shell> yum install nginx - epel-release : extra pacacke for enterprise linux, 커뮤니티 기반 저장소 단계 2) yum local repository 생성 1. yum local repository 생성,설정 및 관리를 위한 패키지 설치 shell> yum install createrepo yum-utils 2. 패키지와 관련정보를 저장할 repositories 디렉토리 생성 shell> mkdir /home/www/html/repos/{base,centosplus,extras,updates} 3. local reposito.. [Yum] Yum 파일 구조 개요 구성환경 CentOS 7.6 1. 관련 파일, 디렉토리 1.1 /etc/yum.conf [main] cachedir=/var/cache/yum/$basearch/$releasever => package 다운로드 위치 keepcache=0 debuglevel=2 logfile=/var/log/yum.log=> yum 관련 로그 exactarch=1 obsoletes=1 gpgcheck=1 => gpg 체크 전역 변수 plugins=1 installonly_limit=5 bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum dis.. [Yum] Yum 명령어 개요 구성환경 CentOS 7.6 1. Yum Repository 목록 shell> yum repolist Loaded plugins: fastestmirror, langpacks Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast Loading mirror speeds from cached hostfile * base: data.aonenetworks.kr * epel: www.ftp.ne.jp * extras: data.aonenetworks.kr * updates: mirror.kakao.com repo id repo name status !base/7/x86_64 CentOS-7 - Base 10,097 !epel/.. 이전 1 ··· 16 17 18 19 20 21 22 ··· 34 다음