Env2022. 3. 9. 13:15
[Env] 무료 PostgreSQL 호스팅 서비스 - ElephantSQL

 

[서비스명]

ElephantSQL

https://www.elephantsql.com/

 

 

[사용방법]

1. 회원가입(Github 또는 Google 계정으로도 가능)

2. Team 생성

3. 약관동의

4. Instance 추가(생성)

 

5. 접속정보 확인

 

6. 접속정보 세팅

 

 

https://www.elephantsql.com/

 

ElephantSQL - PostgreSQL as a Service

Security is something we prioritize above anything else. A well built environment start with high coding standards that guard against attempted security breaches. Our system components undergo tests and source code reviews to assess the security before we

www.elephantsql.com

 

Posted by 이야봉
Env2020. 10. 25. 16:07

증상

타이핑할때마다 에러메시지가 Text Editor에 새 줄로 표시되어, 속도 저하 및 코딩작업 방해 

 

해결방법

 

설정 변경 후

좌측 에러아이콘에 마우스 hover로 에러 내용 확인 가능

 

Posted by 이야봉
Env2020. 10. 25. 14:52

 

원인

Spring Boot 프로젝트 생성시 탬플릿 엔진 지정 누락

 

 

해결방법

1. build.gradle파일 > dependencies {} 블록에 탬플릿엔진(ex: thymeleaf) 추가

dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
    ...
    ...
    ...
}

2. gradle refresh

3. Spring Boot 재기동 

 

 

   

 

Posted by 이야봉
Env2020. 10. 11. 13:40

1. 설정 변경(해제)

 

2. 변경사항 확인

 

 

 

Posted by 이야봉
Env2020. 10. 4. 16:10

1. ROW 수 1,000개 쿼리 수행

SELECT ROWNUM AS R_NO
FROM DUAL
CONNECT BY ROWNUM <=1000

기본 값 : 200 ROW

 

2. ROW 수 0개(제한없음)로 설정

 

3. ROW 수 제한 해제 후

 

 

 

 

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 이야봉