DB2020. 9. 30. 16:19

1. 테이블 스페이스 생성할 폴더 생성 및 권한 부여

# mkdir /usr/ts           // root사용자로 테이블스페이스가 위치할 디렉터리 생성

# chown oracle /usr/ts    // oracle사용자로 소유권 변경

 

2. 테이블스페이스 생성

CREATE TABLESPACE ORA_SQL_TEST_TS DATAFILE '/usr/ts/ORA_SQL_TEST.DBA' SIZE 10G 
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;

 

참고
https://codechacha.com/ko/linux-chown/
SQL BOOSTER 프로젝트 성공을 위한 SQL 필독서 유일환 저 | 디비안(DBian)

 

 

https://codechacha.com/ko/linux-chown/

 

Linux - chown 명령어로 소유자 변경하는 방법

chown 명령어는 파일의 Owner 또는 Group을 변경하는 명령어입니다. 재귀적으로(Resursive) 하위 폴더 소유자 모두 변경하려면 chown 명령어에 -R 옵션을 주면 됩니다. 예제를 통해 사용방법을 자세히 알��

codechacha.com

 

 

www.yes24.com/Product/Goods/82818767

 

SQL BOOSTER

SQL BOOSTER는 프로젝트 성공을 위한 SQL 필독서다. 이 책은 마치 프로젝트를 진행하는 순서처럼 구성되어 있다. 프로젝트 투입을 위해 필요한 SQL 기술을 설명하고, 성능 테스트를 위해 필요한 기술�

www.yes24.com

 

Posted by 이야봉
Env2020. 9. 30. 15:14

선행사항

- Oracle 11g XE 설치

- 방화벽 설정(접근 허용)

 

접속설정

1. SYS 접속 설정

 

2. SYS로 접속하여 HR 유저 UNLOCK

ALTER USER HR ACCOUNT UNLOCK;

ALTER USER HR IDENTIFIED BY <password>;

 

3. HR로 접속 설정

 

 

참조 : exploreinformatica.com/how-to-unlock-hr-sample-account-in-oracle-11g-express-edition/
 

How to unlock HR sample account in oracle 11G express edition - Explore Informatica

How to Unlock HR sample account in oracle 11G express edition This session will cover how to unlock HR sample account in oracle 11G express edition. Here is the steps to follow … 1. Go to CMD (Command Prompt) 2. Execute below commands in CMD 3. To conne

exploreinformatica.com

 

 

Posted by 이야봉
Env2020. 9. 30. 14:13

아래 링크 참조하여, Step 03까지 진행

davidghedini.com/pg/entry/install_oracle_11g_xe_on_centos/

 

 

1. root 유저로 접속

$ su

 

2. rpm으로 설치

# rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm

 

※ 아래 에러 발생시, Swap 용량 늘리고 진행

This system does not meet the minim
um requirements for swap space. Based on the amount of physical memory available on the system, Oracle Database 11g Express Edition requires 962 MB of swap space. This system has 0 MB of swap space. Configure more swap space on the system and retry the installation.

# 1024MB = 1024 * 1024
dd if=/dev/zero of=/var/swapfile bs=1024 count=1048576

 

3. SQL PLUS로 접속 테스트

$ sqlplus /nolog  ↵

SQL> connect sys/password as sysdba ↵

 

 

 

참조사이트

davidghedini.com/pg/entry/install_oracle_11g_xe_on_centos/

 

Install Oracle 11g Express (XE) on CentOS – David Ghedini

This post will cover basic installation and configuration of Oracle 11g Express Edition (XE) on CentOS. We will also take a quick look at configuring Application Express (APEX) for 11g XE. Basic installation is straight forward. If you just want to get up

davidghedini.com

https://www.airix.net/en/projects/19-vps/9-swap-file-on-aws-lightsail-ubuntu

 

AIRIX.NET - Enable Swap File on AWS Lightsail Ubuntu Instance

Wednesday 30 September 2020

www.airix.net

https://klero.tistory.com/entry/%EB%A6%AC%EB%88%85%EC%8A%A4-swap-%EC%9A%A9%EB%9F%89-%EB%8A%98%EC%9D%B4%EB%8A%94-%EB%B0%A9%EB%B2%95-%EB%B0%8F-%EC%A0%9C%EA%B1%B0%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95

 

리눅스 swap 용량 늘이는 방법 및 제거하는 방법

swap 용량 늘이는 방법 1. 2G로 설정한 swap용량에 추가로 swap 용량 2G (2048M)를 늘리고 싶다면 파일크기는 2048 X 1024 = 2097152가 된다. 2. 스왑 파일을 저장할 디렉토리를 만든다 # mkdir /swap 3. dd 명..

klero.tistory.com

 

 

Posted by 이야봉
Env2020. 9. 30. 12:56

LightSail 설정에 따라 WinSCP(파일전송), Putty(콘솔) 설정하여 접속

LightSail 접속

 

Posted by 이야봉
eXbuilder2020. 9. 13. 13:51

1. UDC 파일

  1.1. UDC파일 생성 :UDC 폴더 밑에 파일 생성

  1.2. 컴포넌트(인풋, 버튼 등)  추가

  1.3. 출판된 속성, 출판된 이벤트 추가 (UDC를 사용하는 파일에서 액세스 할 수 있도록)

  1.4. DispatchEvent 코딩 (UDC를 사용하는 파일에서 액세스 할 수 있도록)

/*
 * "Search" 버튼에서 click 이벤트 발생 시 호출.
 * 사용자가 컨트롤을 클릭할 때 발생하는 이벤트.
 */
function onButtonClick(/* cpr.events.CMouseEvent */ e){
	var event = new cpr.events.CUIEvent("search");
	app.dispatchEvent(event);
}

 

 

2. UDC를 사용하는 파일

  2.1. Palette > UDC > 위에서 만든 UDC 컴포넌트 추가

  2.2. 추가한 UDC컴포넌트의 출판된 이벤트 코딩

/*
 * 사용자 정의 컨트롤에서 search 이벤트 발생 시 호출.
 */
function onUdc_search1Search(/* cpr.events.CUIEvent */ e){
	/** 
	 * @type udc.search
	 */
	
	var search = e.control; // udc.search 컨트롤을 얻습니다.
	/*
	 * 검색어를 얻습니다. 검색어는 udc.search 컨트롤의 인풋의 값입니다.
	 */
	search.setAppProperty("searchWord", "udc_search_click!");
	search.redraw();
}

 

 

참조 

techdom.tomatosystem.co.kr/p/00019/?bn=eXbuilder6&tn=qna&ps=7902

 

토마토시스템 기술지원사이트

토마토시스템 기술지원사이트, 프로그램 다운로드 제공, 교육신청 제공, 테크돔

techdom.tomatosystem.co.kr

 

 

 

 

Posted by 이야봉
Spring2020. 7. 4. 16:23

프로젝트\src\main\resources\application.properties

 

 

 

Posted by 이야봉
Git2020. 6. 28. 19:51

GIT 원격저장소 추가 시 에러 대처

fatal: not a git repository (or any of the parent directories): .git

 

https://waspro.tistory.com/539

 

[TroubleShooting] fatal: Not a git repository (or any of the parent directories): .git

[문제발생] [root@kubemaster helm]# git checkout https://sonnaraon.github.io/helm-chart-repo/ fatal: Not a git repository (or any of the parent directories): .git [root@kubemaster hel..

waspro.tistory.com

 

 

 

Posted by 이야봉
DB2020. 6. 20. 16:42

 

PostgreSQL 샘플 DB 얻는 곳

https://github.com/morenoh149/postgresDBSamples

 

 

대용량 db

https://futurists.tistory.com/19

 

 

Posted by 이야봉