Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wsl install #1

Open
bhanwha opened this issue Jan 19, 2024 · 28 comments
Open

wsl install #1

bhanwha opened this issue Jan 19, 2024 · 28 comments
Assignees

Comments

@bhanwha
Copy link
Contributor

bhanwha commented Jan 19, 2024

STEP 1

https://learn.microsoft.com/ko-kr/windows/wsl/install

  • 오류나는 경우 아래와 같이 해보세요(W/민우)
$ wsl --install --web-download Ubuntu-22.04
@bhanwha bhanwha changed the title wslinstall wsl install Jan 19, 2024
@bhanwha
Copy link
Contributor Author

bhanwha commented Jan 19, 2024

STEP 2

@bhanwha
Copy link
Contributor Author

bhanwha commented Jan 19, 2024

STEP 3

nori@DESKTOP-BA13AN8:~/.ssh$ pwd
/home/nori/.ssh
nori@DESKTOP-BA13AN8:~/.ssh$ ls
config  id_rsa_beyondhanwha  id_rsa_beyondhanwha.pub
nori@DESKTOP-BA13AN8:~/.ssh$ cat config
# SSH 설정
Host github.com
    HostName github.com
    User hbeyond
    IdentityFile ~/.ssh/id_rsa_beyondhanwha
nori@DESKTOP-BA13AN8:~/.ssh$

@bhanwha
Copy link
Contributor Author

bhanwha commented Jan 19, 2024

STEP 4

@bhanwha
Copy link
Contributor Author

bhanwha commented Jan 19, 2024

STEP 5

$ sudo apt install zsh
$ cat ~/.zshrc | grep ZSH_THEME |grep -v "#"
ZSH_THEME="agnoster"

@bhanwha bhanwha self-assigned this Jan 19, 2024
@bhanwha
Copy link
Contributor Author

bhanwha commented Jan 19, 2024

STEP 6

  • git 기본 에디터 설정
$ git config --global core.editor "vim"
  • up version
$ sudo add-apt-repository ppa:git-core/ppa -y
$ sudo apt-get update
$ sudo apt-get install git -y
$ git version
git version 2.43.0
  • master => main
$ git config --global init.defaultBranch main
  • 확인
cat ~/.gitconfig
[core]
        editor = vim
[init]
        defaultBranch = main

@bhanwha
Copy link
Contributor Author

bhanwha commented Jan 19, 2024

@choi3179
Copy link

choi3179 commented Jan 19, 2024

@INAUGURATE-Ryong
Copy link

INAUGURATE-Ryong commented Jan 19, 2024

@Seull1
Copy link

Seull1 commented Jan 19, 2024

@ldh0308
Copy link

ldh0308 commented Jan 19, 2024

@ldh0308
-에러 내용
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

SSH 설정 다시 해보도록 하겠습니다.

-해결 내용
SSH key를 생성하는 명령 누락으로 인해 push가 안됐음.
생성 후 push 완료

@shimguh
Copy link

shimguh commented Jan 19, 2024

@Jaelinny
Copy link

Jaelinny commented Jan 19, 2024

@ae-chae
Copy link

ae-chae commented Jan 19, 2024

@minu1215
Copy link

minu1215 commented Jan 19, 2024

@dhkdtld37
Copy link

dhkdtld37 commented Jan 19, 2024

@yjinlee99
Copy link

yjinlee99 commented Jan 19, 2024

@pdh4869
Copy link

pdh4869 commented Jan 19, 2024

@CoffeerLatte
Copy link

CoffeerLatte commented Jan 19, 2024

@qkralsgml78
Copy link

ssh 키 에러 내용

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/home/mini/.ssh/minhee84.pub' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/mini/.ssh/minhee84.pub": bad permissions
git@github.com: Permission denied (publickey).

chmod로 다시 설정을 했는데도 안 바뀌었습니다.

@parc02
Copy link

parc02 commented Jan 19, 2024

@raheego
Copy link

raheego commented Jan 19, 2024

@dana096
Copy link

dana096 commented Jan 19, 2024

@papercrane55123
Copy link

papercrane55123 commented Jan 19, 2024

@Afresh2
Copy link

Afresh2 commented Jan 19, 2024

@hyunsungJoo
Copy link

hyunsungJoo commented Jan 19, 2024

@jsmin6330
Copy link

@qkralsgml78
Copy link

@temp12312yeap
Copy link

temp12312yeap commented Jan 22, 2024

https://temp12312yeap.github.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests