Windows 11 - WSL 설치 및 세팅

2024. 12. 11. 14:34·Hardware/ETC.

Windows Terminal 사용

  • Windows Store에 가면 Terminal이 따로 있는데 기능이 추가된 버전이니 사용해보자

WSL 설치

  • Powershell에서 실행
  • 실행 후 재부팅
  • wsl.exe --install
  • 원하는 배포판 확인
  • wsl.exe --list --online
  • 설치
  • wsl.exe --install -d Ubuntu-24.04

이름, 패스워드 등 설정 후

패키지 미러 주소 변경

sudo sed -i 's/archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list.d/ubuntu.sources

패키지 업데이트 + 업그레이드 + 자동제거

sudo apt update && sudo apt -y upgrade && sudo apt -y autoremove

ZSH 설치 및 Oh-My-Zsh 설치

  • shell의 종류로 간편하고 커스텀이 자유로움
    sudo apt -y install zsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

.zshrc 편집 (Customizing + Plugin)

  • Syntax Highlight 플러그인 설치
    git clone https://github.com/zsh-users/zsh-syntax-hightlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  • Autosuggestions 플러그인 설치
    git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  • Powerline 폰트 설치
    sudo apt install fonts-powerline
    sudo nano ~/.zshrc
    • Theme 설정 (agnoster 사용)
      export ZSH_THEME="agnoster"
    • 플러그인 적용 (git 뒤에 추가)
      plugins(
          git
          zsh-syntax-highlighting
          zsh-autosuggestions
          )
  • 적용
    source ~/.zshrc
저작자표시 비영리 변경금지 (새창열림)
'Hardware/ETC.' 카테고리의 다른 글
  • Verilog [ generate와 always@(*) ] 차이점
  • Verible - 설치 및 사용법
  • Verilator 설치
Zi_Yoon
Zi_Yoon
머리 속에 정리하는 곳 <전자공학>
  • Zi_Yoon
    ZY_repo
    Zi_Yoon
  • 전체
    오늘
    어제
    • 분류 전체보기 (70)
      • HDLBits (25)
        • Verilog (19)
        • Circuits (4)
        • Verification (0)
      • IDEC 교육 (1)
        • Embedded C (13)
        • Verilog HDL (8)
      • Hardware (8)
        • RISC-V Project (1)
        • Computer Architecture (0)
        • AMBA (2)
        • FPGA (0)
        • 논문 읽기 (1)
        • ETC. (4)
      • 42서울 (13)
        • 리눅스 (12)
        • 네트워크 (1)
      • 생각 (1)
      • 취업 (1)
  • 블로그 메뉴

    • 홈
    • 태그
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    verilator
    IDEC
    hdlbits
    charater
    signal trap
    ssh
    ARM
    세션 키
    c
    debian
    verilog
    vm
    research rabbit
    AppArmor
    embedded
    Keil
    보안 쉘
    QUARTUS
    bit-wise and
    비대칭 키
    centos
    fucntion
    fpga
    AXI4
    APT
    pointer
    lsblk
    AMBA
    axi
    RISC-V
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.1
Zi_Yoon
Windows 11 - WSL 설치 및 세팅
상단으로

티스토리툴바