본문 바로가기

Computer Science/[dev]cloud.linux.git.data

(26)
gcp 해보기 (ce 배포) kooku.netlify.app/cloud/(gcp)-vm-%EC%9D%B8%EC%8A%A4%ED%84%B4%EC%8A%A4-%EC%83%9D%EC%84%B1-&-react-%EB%B0%B0%ED%8F%AC/ (GCP) VM 인스턴스 생성 & React 배포 1. VM 인스턴스 설치 & 실행 GCP에 들어간 후 새로운 프로젝트를 만들어 줍니다. 프로젝트명은 TestServer로 하겠습니다. 프로젝트를 만든 후 만든 프로젝트 페이지로 넘어갑니다. 새로 만든 프로젝트 kooku.netlify.app 이거 보고 하니깐 그냥 됨.
[git] Logon failed, use ctrl+c to cancel basic credential prompt git 갑자기 git push 할때마다 github 로그인 하라고 창이 뜹니다. 한번 로그인 하면 자격증명 관리자가 정보를 가지고 있어서, github 로그인 창이 안떠야 하는데.. 알고보니 로그인을 하니 자꾸 Logon failed, use ctrl+c to cancel basic credential prompt 이라고 뜹니다. 알고보니 로그인에 계속 실패하고 있었습니다. 그리고 푸쉬할때마다 prompt로 아이디랑 비번을 계속 입력해줘야 합니다. 이렇게 해야 푸쉬가 됩니다. 하지만 매번 푸쉬할때마다 아이디랑 비번을 입력하는게 쫌 그렇습니다. git update-git-for-windows 검색을 해서 알아보니 git을 최신버전으로 업데이트하면 이런 문제가 사라진다고 합니다. 업데이트를 하니 정말사라졌습..
[git] commit 을 했는데 contribution 그래프가 안채워진 경험 (private repository, email변경) 상황 다른 사용자의 private repository에 collaborator 로 등록되어 있고, git extentions을 사용하고 있었습니다. 그러던 중 깃허브 홈페이지에서 연동되어있는 계정을 변경하게 되었습니다. private repository 원래 private repository 는 contribution 그래프에 표시가 안됐는데, 언제 업데이트가 됐는지 이제는 설정을 하면 표시가 됩니다. Private contributions 를 클릭하면 됩니다. git extentions 제가 로컬에서 올리는 계정의 아이디와 계정을 다시 설정해줍니다. git config --global user.email "your_email@abc.com" git config --global user.email git..
[git] 원격 브랜치 삭제하기 git push origin --delete git add . 취소 git reset HEAD fatal: refusing to merge unrelated histories www.educative.io/edpresso/the-fatal-refusing-to-merge-unrelated-histories-git-error
[git] 처음 푸쉬하기 Github 푸쉬하기 깃허브에서 저장소를 생성하면, 몇가지 명령어들을 확인할 수 있습니다. git remote add origin https://github.com/githubid/repositoryname.git git branch -M main git push -u origin main 저는 create react-app 으로 프로젝트를 생성해서 git 이 자동으로 생성되어 git init 을 할 필요가 없었습니다. 위 명령어가 무슨 뜻인지 알아보겠습니다. origin 이라는 이름으로 내 원격저장소 주소를 설정합니다. 내 로컬 브랜치를 --move(-M) 을 이용해 main으로 변경합니다. (Default local branch: master) 근데 사실 이동하는 곳이없으니 이름이 변경됩니다. 원래는..
[GCP공부] Coursera: Google Cloud Platform Fundamentals: Core Infrastructure - Getting Started with Google Cloud Platform Introduction 프로젝트를 조직화하고 관리하기 위해서 Google Cloud Identity and Access Management 를 사용해야 합니다.(IAM, IM) The principle of least privilege is very important This principle says that each user should have only those privileges needed to do their jobs. In a least-privilege environment, people are protected from an entire class of errors. A coworker of mine once accidentally deleted a running production d..
[GCP공부] Coursera: Google Cloud Platform Fundamentals: Core Infrastructure - Introducing Google Cloud Platform Introducing Google Cloud Platform GCP offers four main kinds of services - compute - storage - big data - machine learning 근데 이 강좌에서는 compute 랑 storage 만 다룬다고 합니다. what is cloud : cloud computing is a way of using I.T. that has these five equally important traits - 필요하면 아무때나 (on demand = 필요하면 즉시) 자원을 사용하고 '셀프' 서비스로 사용하는것 인간의 개입없이 - 이러한 지원에 anywhere 언제든지 network을 통해 접근할수 있어야 하는 것 - provider 는 큰 자..
GCP 자격증이란? GCP 구글 클라우드 플랫폼 자격증이 있다고 합니다. 저는 초보니깐 Associate Cloud Engineer 에 도전 해보겠습니다. 😀 Associate Cloud Engineer (ACE) 시험시간: 2시간 등록비용: $125 (후..) 유효기간: 2년 시험에 나오는 주제,범위를 알아야합니다(중요!) [링크] 여러 모의고사들이 있습니다. [링크] 외부 강의들을 이용해 키워 실력을 키웁니다. (코세라, 큌랩 등) 시험을 봅니다. 어떻게 공부해야할까? 강의도 많고, 범위도 넓고.. 도대체 어떻게 공부해야할지 한번 알아봤더니 대부분 아래내용으로 공부하는걸 확인할수 있었습니다. 1. 학습 - Official Study Guide 책 [링크] - Coursera 강의 - Qwiklabs 강의 2. 연습문제풀..