반응형

전체 글 148

Node) NVM 설치하여 Node.js 버전 관리 (Windows 기반)

NVM 소개 : NVM 소개 - NVM 문서NVM은 Node Version Manager(Node.js 버전 관리자)의 약자로, 여러 Node.js 버전을 관리하기 위한 도구입니다. NVM을 사용하면 같은 컴퓨터에서 다양한 버전의 Node.js를 쉽게 설치하고 전환할 수 있습니다.NVM 윈도우 버전 설치 : nvm-windows/nvmNVM 버전 확인 : nvm -vNODE 설치 목록 확인 : nvm lsNVM에서 사용 가능한 NODE 버전 목록 : nvm ls availableNVM을 이용한 NODE 설치LTS 최신버전 설치 : nvm install lts특정 버전 설치 : nvm install {버전}예) nvm install 24.20.0NVM을 이용한 NODE 특정 버전 삭제 : nvm unins..

Oracle) 오늘 기준 특정 날짜 가져오기

Oracle 오늘 기준 특정 날짜 가져오기오늘 기준 이전 3년 YEAR목록 가져오기SELECT TO_CHAR(TO_NUMBER(TO_CHAR(SYSDATE, 'YYYY')) - LEVEL) AS YYYY FROM DUAL CONNECT BY LEVEL 오늘 기준 +5일 DAY목록 가져오기 (오늘 제외) SELECT (SYSDATE + LEVEL) AS DT_CAL, TO_CHAR(SYSDATE + LEVEL, 'YYYYMMDD') AS YYYYMMDD, TO_CHAR(SYSDATE + LEVEL, 'YYYY-MM-DD') AS DISPLAY_DATE FROM DUAL CONNECT BY LEVEL 오늘 기준 +5일 DAY목록 가져오기 (오늘 포함)SELECT (SYSDA..

DBMS/Oracle 2026.08.25

GIT) 로컬 repo와 원격 repo간 차이로 인한 특정 파일(로그) 제외

GIT 로컬 repo와 원격 repo간 차이로 인한 특정 파일(로그) 제외특정 파일 제외 : git filter-branch --force --index-filter "git rm --cached --ignore-unmatch '~~~~~.zip'" --prune-empty --tag-name-filter cat -- --all커밋 연결이 끊어진 로그 만료 시키기 : git reflog expire --expire=now --all가비지 컬렉션 실행 및 퍼지 : git gc --aggressive --prune=now다시 강제 푸시 : git push -f origin main

GIT) 푸시할려고하는 파일 용량이 너무 큰 경우 - 오류 (HTTP 499)

GIT 푸시할려고하는 파일 용량이 너무 큰 경우 - 오류 (HTTP 499)오류 (HTTP 499)HTTP 499 / unexpected disconnect실행 : git push -uf origin main실행 결과 (예시)Enumerating objects: 1597, done.Counting objects: 100% (1597/1597), done.Delta compression using up to 16 threadsCompressing objects: 100% (1580/1580), done.error: RPC failed; HTTP 499 curl 22 The requested URL returned error: 499send-pack: unexpected disconnect while rea..

GIT) 최초 원격 저장소(repo) 설정 및 Push

GIT 최초 원격 저장소(repo) 설정 및 Pushgit 초기 설정cd existing_repogit initgit remote add origin http://git.xxx/xxx/~~~.gitgit branch -M main파일 추가git add .윈도우 줄바꿈 자동 변환 기능 (옵션)전역 : git config --global core.safecrlf false현재 Repo만환경등록 : git config core.safecrlf false고정 관리 (.gitattributes)# .gitattributes 내용 수정 ---------------------------------------------------# 모든 텍스트 파일은 Git 저장소에는 LF로, Windows 체크아웃 시 CRLF로 자..

GIT) 원격 저장소(repo) URL(set-rul) 변경

GIT 원격 저장소(repo) URL(set-rul) 변경원격 저장소 확인git remote -v결과 예시origin http://git.xxx/xxx/~~~.git (fetch)origin http://git.xxx/xxx/~~~.git (push)저장소 변경git remote set-url origin https://github.com/xxx/~~~.git기존 (push) URL이 틀린 경우git remote set-url --delete --push origin http://git.xxx/xxx/~~~.git또는git remote set-url --push origin http://git.xxx/xxx/~~~.git최종 원격 저장소 재확인 : git remote -v

Oracle) 오라클 Full 백업 후 스키마별 복원

오라클 Full 백업 후 스키마별 복원Export : 데이터베이스 전체(FULL)로 백업Import : 필요한 스키마(SCHEMA)만 복원전체 FULL Exportexpdp system/password \ full=y \ directory=DATA_PUMP_DIR \ dumpfile=full_20260804.dmp \ logfile=full_20260804.logorexpdp "'/ as sysdba'" \ full=y \ directory=DATA_PUMP_DIR \ dumpfile=full_20260804.dmp \ logfile=full_20260804.logDump 포함 내용모든 사용자(User)모든 스키마테이블인덱스ViewProcedureSequence..

DBMS/Oracle 2026.08.04

Windows/bat) 특정 폴더 이하 용량을 빠르게 확인 하는 방법 (w/ robocopy)

특정 폴더 이하 용량을 빠르게 확인 하는 방법탐색기를 통하여 용량 확인하는것이 상대적으로 느려서 찾게 된 방법robocopy 시뮬레이션robocopy : 대용량·다수 파일에서 실무적으로 빠른 편실제로 복사하지 않고 파일 수와 용량만 집계@echo offrem bat파일set _SOURCE_DIR_=D:\Backuprobocopy "%_SOURCE_DIR_%" "%TEMP%\DummyFolder" /L /E /BYTES /NFL /NDL /NJH예:------------------------------------------------------------------------------ 전체 복사됨 건너 뜀 불일치 실패..

S.W./Microsoft 2026.08.04

[Oracle] Data Pump Export(expdp) 실행 시 UDE-28000, ORA-28000(Account is Locked) 해결 방법

Oracle Data Pump를 활용한 Export시 UDE-28000, ORA-28000 계정 잠김된 경우 해결 법expdp(Data Pump Export)로 접속하려는 Oracle 계정이 잠금(Account Locked) 상태일 때 발생하는 오류명령 실행 (예시)$ORACLE_HOME/bin/expdp system/{비밀번호} full=y ~~~`오류 내용Export: Release 11.2.0.4.0 - Production on Wed Jul 29 09:33:33 2026Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.UDE-28000: operation generated ORACLE error 28000ORA..

DBMS/Oracle 2026.07.29
반응형