목록기타 (8)
우당탕탕 개발일지
소규모 프로젝트를 많은 팀원과 함께 진행하다 보니, 이전에 사용해보지 않았던 Issue 기능을 경험하게 되었다. 1. Git 컨벤션 개개인마다 Git 사용 방식이 다르기 때문에 컨벤션을 정해야 한다. 가장 기본적인 컨벤션은 다음과 같다. [main] 브랜치에는 직접 커밋을 올리지 않는다.기능 개발을 하기 전에 [main] 브랜치를 기준으로 새로운 브랜치를 만든다. master: 전체 버전을 관리하는 메인 브랜치💡 master / { 버전 }feature: 새로운 기능을 개발하는 브랜치 💡 feature / { 구현 문항 번호 } / { 이슈 번호 }test: 테스트 코드를 위한 브랜치💡 test / { controller } / { 이슈 번호 } / { 버전 } >💡 기능 태그_freatur..
공공데이터 포털국가에서 보유하고 있는 다양한 데이터를『공공데이터의 제공 및 이용 활성화에 관한 법률(제11956호)』에 따라 개방하여 국민들이 보다 쉽고 용이하게 공유•활용할 수 있도록 공공데이터(Datasewww.data.go.kr데이터를 수집하는 방법으로 오픈 API를 사용하여 크롤링 하는 방법이 있다.공공데이터포털은 대한민국 정부가 소유한 각종 데이터를 누구나 사용할 수 있도록 서비스를 제공하고 있다. 오픈API 활용신청"활용신청" 클릭하면 다음과 같은 페이지가 보인다. 활용목적을 간단히 작성하고 라이선스 표시 동의 체크 후 다시 "활용신청" 버튼을 누르면 해당 API를 사용할 수 있는 인증키가 발급이 된다. 마이페이지에서 신청한 API를 확인할 수 있다. End Point에 해당하는 URL로 요..
1. 고가용성 장애가 생기면 빠른 시간안에 장애를 고치고 서비스 지속 => 다중 AZ 2. 탄력성 확장 및 축소가 자동으로 동작 = 자동 확장 3. 최소한의 운영 오버헤드 = 키워드와 관련된 AWS 서비스 문제) 스트리밍 데이터 최소한 운영으로 스트리밍 데이터 변환 → Firehose + Lambda 문제) 데이터 분석 Glue → 데이터 분석 Glue Databrew → S3, Redshift, RDS 탐색 AppFlow → SaaS 데이터 활용 데이터 필터 → Lake Formation 민감한 정보 액세스 방지 열 수준 권한 부여 → Lake Formation + QuickSight = 최소한의 관리 노력 문제) ..
빌드(Build) 작성된 코드를 실제 기기에서 실행 될 수 있는 소프트웨어로 변환하기 위한 과정 보통 컴파일을 포함하여 배포하기 직전까지의 모든 과정을 '빌드'라고 표현한다. 빌드 도구 프로젝트가 커지면 커질수록 라이브러리를 직접 추가하여 빌드하기에는 매우 비효율적이다. 빌드 도구는 빌드 자동화를 시켜주는 도구이다. Back-end 1. 라이브러리 다운로드 2. 소스코드를 바이너리코드로 컴파일 3. 바이너리 코드를 패키징 - jar Java 애플리케이션이 동작할 수 있도록 자바 프로젝트를 압축한 파일 JRE만 있어도 실행이 가능 - war Servlet / JSP 컨테이너에 배치할 수 있는 웹 애플리케이션을 압축한 파일 별도의 웹 서버 필요 (WAS) 4. 테스트 실행 5. 프로덕션 시스템에 배포 - p..
네트워크 주소 네트워크 주소 하나의 네트워크를 통칭하기 위한 주소 해당 네트워크의 첫 번째 IP 주소 계산방법 : IP주소와 서브넷마스크의 AND연산 브로드캐스트 주소 특정 네트워크에 속하는 모든 호스트들이 갖게 되는 주소 → 네트워크에 있는 모든 클라이언트들에게 데이터를 보내기 위함 해당 네트워크에 속하는 모든 IP 주소 가운데 맨 마지막 IP주소 계산방법 : 서브넷 마스크의 '0'인 부분을 모두 1로 바꾼다 C클래스 하나로 특정 IP를 할당했고 그 ip의 네트워크 주소가 192.168.2.0이라 한다면 브로드캐스트 주소는 192.168.2.255(맨 뒤 모든0->1)가 된다. 서브넷마스크 서브넷마스크는 1과 0으로 이뤄져있고, 1이 연속으로 나와야한다. IP 뒤에 /24 라는 표현이 1이 24개가 있..
권한 관리 umask 파일이나 디렉터리 생성 시 부여되는 기본 허가권 값을 지정하는 명령 기본값으로 설정한 umask 값의 보수와 AND 연산을 통해 지정 파일 : 666 (rw-rw-rw-) 디렉터리 : 777 (rwxrwxrwx) 파일이기 때문에 666-022 = 644 => -rw- r-- r-- 의 형식으로 6 4 4 를 표현 su (switch user) 다른 사용자로 전환하는 명령어 참조 파일 - /bin/su passwd 사용자 비밀번호 변경 명령어 * 참조 파일 - /etc/passwd(명령어 실행 파일 위치) - 시스템에 등록된 사용자의 정보들이 담겨있는 파일 - /etc/shadow - 암호화된 패스워드와 패스워드 설정 정책이 기재되어 있는 파일 - 비밀번호를 설정하면 /etc/pass..
계층형 질의란? 테이블에 계층형 데이터가 존재하는 경우 데이터를 조회하기 위해서 사용 * 계층형 데이터 동일 테이블에 계층적으로 상위와 하위 데이터가 포함된 데이터 START WITH 계층 구조 전개의 시작 위치를 지정하는 구문 CONNECT BY 전개될 자식 데이터를 지적하는 구문 PRIOR CONNECT BY 절에 사용 PRIOR 자식 = 부모 부모 데이터에서 자식 데이터(부모 → 자식) 방향으로 전개하는 순방향 전개 PROR 부모 = 자식 자식 데이터에서 부모 데이터(자식 → 부모) 방향으로 전개하는 역방향 전개 NOCYCLE 사이클(Cycle)이 발생한 데이터는 런타임 오류가 발생하지만, NOCYCLE을 추가하면 사이클이 발생한 이후의 데이터는 전개하지 않는다 * 사이클(Cycle) 데이터를 전개..
JOIN 두 개 이상의 테이블을 연결 또는 결합하여 데이터를 출력하는 것을 의미한다. 일반적으로 PK나 FK 값의 연관에 의해 성립되지만, 논리적인 값들의 연관만으로도 JOIN이 성립 가능하다. SELECT 테이블.컬럼, 테이블.컬럼 FROM 테이블1, 테이블2 WHERE 조건 EQUI JOIN (등가 조인) 두 개의 테이블 간에 칼럼 값들이 서로 정확하게 일치하는 경우에 사용되는 방법 Non EQUI JOIN (비등가 조인) 두 개의 테이블 간에 칼럼 값들이 서로 정확하게 일치하지 않는 경우에 사용된다. Join 종류 1) INNER JOIN JOIN 조건에서 동일한 값이 있는 행만 반환한다. INNER JOIN 표시는 JOIN 조건을 FROM 절에서 정의하겠다는 표시이므로 USING 조건절이나 ON ..