본문 바로가기

웹개발34

warning: redirecting to https://github.com 경고 remote가 http://github.com 으로 설정되어있을 때 나는 경고이다. remote를 https로 변경해주면 된다. 2020. 9. 20.
fatal: refusing to merge unrelated histories, error: failed to push some refs to 에러 해결 처음에 git에 repository를 만들어 놓은 상태에서 local 파일을 업로드하려고 할 때 이런 오류가 발생했다. fatal: refusing to merge unrelated histories, error: failed to push some refs to git pull origin master --allow-unrelated-histories 를 이용해서 해결했다. 별로 좋지 않은 명령어이니 처음에 git을 push하는 과정에서 생기는 에러인 경우에만 사용하시길 바란다. 2020. 9. 20.
[AWS에 작성한 django 업로드하기] 3. putty로 접속하기 1. aws에 접속해서 ec2>인스턴스>인스턴스로 다시 들어간다. 만들어뒀던 인스턴스를 오른쪽 마우스로 클릭하면 다음과 같이 뜨는데 이때 연결을 선택한다. 2. SSH 클라이언트를 클릭하면 다음과 같은 화면이 뜨는데 여기서 4번에 검은색 윤곽선이 표시된 부분을 복사한다. 3. putty를 실행해서 Host name에 붙여넣고 saved session에 이름을 쓰고 save를 누른 후 선택한다. 4. 왼쪽 카테고리에서 Connection>SSH>Auth를 클릭한다. 우측 brose 버튼을 누르고 아까 저장한 ppk파일을 선택한다. open을 누른다. 5. 다음과 같은 창이 열리는데 우리는 우분투로 만들었으니 ubuntu라고 입력한다. 2020. 9. 19.
[AWS에 작성한 django 업로드하기] 2. puttygen으로 키 변환 1. putty를 다운받는다. www.putty.org/ Download PuTTY - a free SSH and telnet client for Windows Is Bitvise affiliated with PuTTY? Bitvise is not affiliated with PuTTY. We develop our SSH Server for Windows, which is compatible with PuTTY. Many PuTTY users are therefore our users as well. From time to time, they need to find the PuTTY download link. W www.putty.org 2. putty key generator을 실행한다. load 를 .. 2020. 9. 19.