studybook
  • Introduction
  • 실무 하며 깨닫는 부분 정리
    • 옵션에 대해서
    • 코드 작성의 순서
    • 자바 프로그램에 문제가 생겼다면
    • 장애 대처법
  • Logstash, Beats 정리
  • Zookeeper 정리
  • Message Queue 정리
    • RabbitMQ 삽질
  • Java 관련 정리
    • Java Primitive Wrapper class
    • Java NIO
    • Java8 Double colon operator
    • Effective Java
      • 4장
      • 5장
      • 6장 - Enum, Annotation
      • 7장 - Method
      • 8장 - 프로그래밍 일반
      • 9장 - Exception
    • Java8 Lambda expression
    • JDBC
    • Linux에서 WatchService 이상동작
  • Spring 관련 정리
    • Spring Bean init, destroy 순서
    • Spring Async Controller
    • Spring Executable jar 웹 개발 및 배포
    • Spring Boot Font 배포 에러
    • Spring AOP
      • Spring AOP로 모든 Request 로그 남기기
    • Spring Cache
    • Spring Cloud
      • Consul로 spring 설정 관리하기
    • Spring Test
      • Spring Test DirtiesContext
      • Spring Test MockBean, SpyBean
      • Spring Test Dynamic @Scheduled
    • Spring JDBC
    • Spring Validation
    • Spring Transaction Management
      • Spring with JTA 삽질
    • Spring에서 효율적으로 Static resource 관리하기
    • Zuul을 사용해서 Spring Reverse proxy 만들기
    • Spring Security
    • 스프링 어노테이션이 안 먹힐 때 의심해볼만한 것
    • Spring Data
    • Spring Webflux
      • Tobi 강연
  • 코드 리팩토링
    • 한번에 하나씩
  • 지속적 통합 (CI)
    • Jenkins pipeline 삽질기
  • Log Aggregator 정리
    • Flume 테스트
    • Fluentd 테스트
  • Web Socket 정리
  • Akka
    • Actor 모델
    • Supervision
  • IE 8 대응 정리
  • 함수형 프로그래밍
    • 모나드
  • Netty
    • Netty 기본 예제
    • Netty 주요 특징
    • Netty 부트스트랩
    • Netty 채널 파이프라인, 코덱
    • Netty 이벤트 모델
    • Netty 바이트 버퍼
  • 스칼라 관련 정리
    • Maven으로 컴파일하기
    • Scala def 괄호 여부의 차이
    • 스칼라 function, method 차이점
    • ScalaTest와 Spring 연동하기
    • Programming in Scala
  • J2S 컨퍼런스
  • Android
    • 테스트
    • NDK
  • DDOS
  • HTTP
  • HttpClient
  • Container
    • Image 개요
    • cri-o
    • kata containers
    • Open Container Initiative Image
    • Buildkit
  • Github pages
  • Static Website
  • Webhook
  • Service Discovery Tools
    • Etcd
    • Eureka
    • Consul
      • ACL
    • 비교
  • React
    • JSX
    • React Element
    • Components, Props
    • State, Lifecycle
    • Handling Event
    • Flux
  • Vagrant
    • SSH 접속
  • Linux
    • Systemd
    • Alternatives
  • Messaging protocols
    • XMPP
    • AMQP
  • Windows
    • Windows10 내장 우분투에 ssh 클라이언트로 접속하기
    • Windows10 Hyper-V와 Virtual Box가 충돌을 일으켰을 때
    • Hyper-V 기반 docker에서 Shared Drives 설정 실패할 때
    • 윈도우 개발환경 설정
    • Docker desktop 없이 docker 환경 세팅하기
    • UWP 앱을 항상 관리자권한으로 실행하는 바로가기 만들기
  • Spring camp 2017
    • Project Reactive
    • 이벤트 소싱
    • CQRS
  • Spring webflux
  • 리액티브 프로그래밍
  • Linux Settings
    • 홈서버 백업 및 복구기
    • 홈서버 트러블슈팅
  • Kubernetes
    • k3s 설치 및 삽질
    • pod resources
    • Argo workflow
    • 트러블 슈팅
      • Kubernetes namespace의 phase가 Terminating에서 멈춰있을 때
    • 쿠버네티스 마스터
    • Knative
    • Knative Pipeline
    • Aggrerated API server
    • Accessing the API
      • Authenticating
  • Sonarqube
  • HTTP/2
  • Go
    • Go Module
    • Go dependency injection
    • Go Error handling
    • Go in Action
      • 3장 패키지
      • 4장 배열, 슬라이스, 맵
      • 5장 GO의 타입 시스템
      • 6장 동시성
      • 7장 동시성 패턴
      • 8장 표준 라이브러리
      • 9장 테스트와 벤치마킹
    • Go Channel 사용법
  • Cloud Native
Powered by GitBook
On this page
  • 윈도우 설정
  • WSL설정
  • ubuntu 세팅
  1. Windows

윈도우 개발환경 설정

PreviousHyper-V 기반 docker에서 Shared Drives 설정 실패할 때NextDocker desktop 없이 docker 환경 세팅하기

Last updated 5 months ago

윈도우 설정

  1. 제어판에서 hyper-v, WSL 설정 켜기

  2. WSL ubuntu 설치

  3. 설치

  4. 설치

  5. 설치 (choco install vscode)

  6. 폰트 설치 (choco install d2codingfont)

  7. 설치

  8. 설치

  9. 키보드 shift+space, 한영키 둘 다 먹히게 만들기

WSL설정

/etc/wsl.conf

[automount]
enabled = true
root = /
options = "metadata"

파일 생성 이후 admin 권한으로 실행한 PowerShell에서 Restart-Service WSLService 실행하고 WSL 재시작

안되면 Restart-Service LxssManager 언제부터인지 서비스 이름이 바뀌었다.

또는 cmd, powershell에서 wsl.exe --shutdown 으로도 가능

ubuntu 세팅

$ sudo update-alternatives --config editor
$ sudo visudo # %sudo   ALL=(ALL:ALL) NOPASSWD:ALL
$ sudo vi /etc/apt/sources.list
# :%s/archive.ubuntu.com/mirror.kakao.com/g
# :%s/security.ubuntu.com/mirror.kakao.com/g
$ sudo apt update && sudo apt upgrade
$ sudo apt install build-essential zsh

ZSH 세팅

  1. zsh plugin 설치

키보드 shift space, 한영키 동시에 먹히게 만들기

Golang 환경 세팅

    1. windows의 경우 그냥 msi버전 다운로드 받아서 설치하고 끝

    2. linux의 경우 압축 해제 후 $GOROOT, $GOPATH 및 $PATH 등록

IDE 설정

  1. JetBrain

    1. Ctrl+Alt+S -> Editor -> Code Style -> Line separator: Unix and macOS (\n) 설정

  2. vscode

    1. Ctrl+, -> eol 검색 -> \n 설정

Git 설정

  1. wsl에서 ssh key 생성 ssh-keygen -t ed25519

  2. windows에 복사 mkdir -p /c/Users/kwons/.ssh/ && cp ~/.ssh/* /c/Users/kwons/.ssh/

  3. oss, github에 방금 생성된 public key를 deploy key로 등록

  4. windows cmd, wsl 둘다 아래 git config 명령어 실행

$ git config --global core.fileMode false
$ git config --global core.autocrlf input
$ git config --global core.eol lf
$ git config --global credential.helper store
$ git config --global url.ssh://git@oss.navercorp.com/.insteadOf https://oss.navercorp.com/
$ git config --global url.ssh://git@github.com/.insteadOf https://github.com/

설치

다운로드

windows terminal
chocolatey
vscode
D2Coding
Docker for windows
Docker 세팅
Notion
oh-my-zsh
powerline10k
https://github.com/zsh-users/zsh-syntax-highlighting
https://github.com/zsh-users/zsh-autosuggestions
https://go.dev/dl/
1KB
한영전환(Shift Space_Default).reg