21.PC_1




새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


원도우에서 데비안 설치 Linux용 Windows 하위 시스템 설치 후 bash 로 설치 상태 확인 작업

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    원도우에서 데비안 설치 Linux용 Windows 하위 시스템 설치 후 bash 로 설치 상태 확인 작업

    WSL용 Linux 배포판을 설치하려면 먼저 선택적인 "Linux용 Windows 하위 시스템" 기능을 사용하도록 설정해야 합니다.

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

    1. PowerShell을 관리자 권한으로 열어 실행합니다.

      PowerShell복사
      Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
      
    2. 메시지가 표시되면 컴퓨터를 다시 시작합니다.

    선택한 Linux 배포 설치

    기본 설정 배포판을 다운로드하여 설치하려면 다음 세 가지 옵션 중에서 선택할 수 있습니다.

    1. Microsoft Store에서 다운로드 및 설치(아래 참조)
    2. 명령줄/스크립트에서 다운로드 및 설치(수동 설치 지침 참조)
    3. 다운로드 및 수동으로 압축을 푼 후 설치(Windows Server의 경우 - 지침)

    Windows 10 Fall Creators Update 이상: Microsoft Store에서 설치

    이 섹션은 Windows 빌드 16215 이상에 적용됩니다. 다음 단계에 따라 빌드를 확인하세요.

    1. Microsoft Store를 열고 즐겨찾는 Linux 배포를 선택합니다.

      Microsoft Store에서 Linux 배포판 보기

      각 배포에 대한 Microsoft Store 페이지를 여는 링크는 다음과 같습니다.

    2. 배포판의 페이지에서 "가져오기"를 선택합니다.

      Microsoft Store에서 Linux 배포판 보기

    배포판의 초기화 완료

    이제 Linux 배포판이 설치되었으므로 새 배포판 인스턴스를 사용하려면 먼저 초기화해야 합니다.

    문제 해결:

    관련 오류 및 제안된 수정 사항은 다음과 같습니다. 다른 일반적인 오류 및 해결 방법에 대해서는 WSL 문제 해결 페이지를 참조하세요.

    • 0x80070003 오류로 인한 설치 실패

      • Linux용 Windows 하위 시스템은 시스템 드라이브(일반적으로 C: 드라이브)에서만 실행됩니다. 배포판이 시스템 드라이브에 저장되어 있는지 확인합니다.
      • 설정 -> 스토리지 -> 더 많은 스토리지 설정을 차례로 엽니다. 새 콘텐츠가 저장된 위치를 변경합니다. C: 드라이브에 앱을 설치하기 위한 시스템 설정에 대한 그림
    • 0x8007019e 오류로 인한 WslRegisterDistribution 실패

    • 선택적인 Linux용 Windows 하위 시스템 구성 요소가 실행되지 않습니다.

    • 제어판 -> 프로그램 및 기능 -> Windows 기능 사용/사용 안 함을 차례로 열어 Linux용 Windows 하위 시스템을 선택하거나 이 문서의 시작 부분에서 설명한 PowerShell cmdlet을 사용합니다.

      Debian 이 응용 프로그램을 사용하면 Linux 용 Windows 하위 시스템 (WSL) 용 데비안을 얻을 수 있습니다. 현재 안정적인 전체 릴리스 환경이 포함 된 완전한 데비안 명령 줄 환경을 사용할 수 있습니다. https://docs.microsoft.com/en-us/windows/wsl/install-win10의 안내에 따라 WSL을 먼저 설정하십시오. 설치 후 "데비안"타일을 클릭하여 WSL 콘솔을 시작할 수 있습니다. 메뉴를 시작하거나 powershell 또는 cmd에 "debian"을 입력하십시오. 이 응용 프로그램의 소스 코드는 데비안 저장소에서 찾을 수 있습니다 : 


     https://salsa.debian.org/rhaist-guest/WSL    


    설치조건 > Windows 빌드 16215 이상

    cmd 에서 윈도우 버전 확인 > ver

    3232235521_1570893265.5698.png

    https://www.microsoft.com/ko-kr/p/debian/9msvkqc78pk6?rtc=1&activetab=pivot:overviewtab


    설치후 상태

    3232235521_1570893374.4811.png

    PowerShell을 관리자 권한으로 열어 실행 후

    PowerShell복사
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux


    3232235521_1570897920.7005.png

    설치전 > bash

    3232235521_1570893491.6689.png


    3232235521_1570898025.8916.png

    설치후> bash


    > 리눅스 버전 확인

    grep . /etc/*-release


    >업데이트
    sudo apt-get update

    sudo apt-get upgrade
    ===
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    PS C:\WINDOWS\system32> bash
    Linux용 Windows 하위 시스템에 배포가 설치되어 있지 않습니다.
    아래의 Microsoft Store에서 배포를 설치할 수 있습니다.
    https://aka.ms/wslstore
    PS C:\WINDOWS\system32>
    PS C:\WINDOWS\system32> bash
    shimss@homepc-11qkr:/mnt/c/Windows/System32$ grep . /etc/*-release
    PRETTY_NAME="Debian GNU/Linux 10 (buster)"
    NAME="Debian GNU/Linux"
    VERSION_ID="10"
    VERSION="10 (buster)"
    VERSION_CODENAME=buster
    ID=debian
    HOME_URL="https://www.debian.org/"
    SUPPORT_URL="https://www.debian.org/support"
    BUG_REPORT_URL="https://bugs.debian.org/"
    shimss@homepc-11qkr:/mnt/c/Windows/System32$
    shimss@homepc-11qkr:/mnt/c/Windows/System32$ sudo apt-get update
    We trust you have received the usual lecture from the local System
    Administrator. It usually boils down to these three things:
        #1) Respect the privacy of others.
        #2) Think before you type.
        #3) With great power comes great responsibility.
    [sudo] password for shimss:
    Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
    Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
    Get:3 http://deb.debian.org/debian buster/main amd64 Packages [7,899 kB]
    Get:4 http://ftp.debian.org/debian buster-backports InRelease [46.7 kB]
    Get:5 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB]
    Get:6 http://ftp.debian.org/debian buster-backports/main amd64 Packages [110 kB]
    Get:7 http://deb.debian.org/debian buster/main Translation-en [5,967 kB]
    Get:8 http://security.debian.org/debian-security buster/updates/main amd64 Packages [98.2 kB]
    Get:9 http://ftp.debian.org/debian buster-backports/main Translation-en [90.0 kB]
    Get:10 http://security.debian.org/debian-security buster/updates/main Translation-en [60.5 kB]
    Get:11 http://deb.debian.org/debian buster-updates/main amd64 Packages [5,792 B]
    Get:12 http://deb.debian.org/debian buster-updates/main Translation-en [3,655 B]
    Fetched 14.5 MB in 7s (2,137 kB/s)
    Reading package lists... Done
    shimss@homepc-11qkr:/mnt/c/Windows/System32$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      base-files e2fsprogs gpgv libbz2-1.0 libcom-err2 libcryptsetup12 libext2fs2 libncurses6 libncursesw6 libss2
      libssl1.1 libsystemd0 libtinfo6 libudev1 ncurses-base ncurses-bin systemd systemd-sysv tzdata udev
    20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 10.2 MB of archives.
    After this operation, 1,024 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://deb.debian.org/debian buster/main amd64 base-files amd64 10.3+deb10u1 [69.7 kB]
    Get:2 http://deb.debian.org/debian buster/main amd64 ncurses-bin amd64 6.1+20181013-2+deb10u1 [406 kB]
    Get:3 http://deb.debian.org/debian buster/main amd64 ncurses-base all 6.1+20181013-2+deb10u1 [258 kB]
    Get:4 http://deb.debian.org/debian buster/main amd64 libsystemd0 amd64 241-7~deb10u1 [330 kB]
    Get:5 http://deb.debian.org/debian buster/main amd64 systemd amd64 241-7~deb10u1 [3,495 kB]
    Get:6 http://security.debian.org/debian-security buster/updates/main amd64 libssl1.1 amd64 1.1.1d-0+deb10u1 [1,531 kB]
    Get:7 http://security.debian.org/debian-security buster/updates/main amd64 libext2fs2 amd64 1.44.5-1+deb10u2 [221 kB]
    Get:8 http://security.debian.org/debian-security buster/updates/main amd64 e2fsprogs amd64 1.44.5-1+deb10u2 [576 kB]
    Get:9 http://security.debian.org/debian-security buster/updates/main amd64 libcom-err2 amd64 1.44.5-1+deb10u2 [68.4 kB]
    Get:10 http://security.debian.org/debian-security buster/updates/main amd64 libss2 amd64 1.44.5-1+deb10u2 [72.8 kB]
    Get:5 http://deb.debian.org/debian buster/main amd64 systemd amd64 241-7~deb10u1 [3,495 kB]
    Get:11 http://deb.debian.org/debian buster/main amd64 udev amd64 241-7~deb10u1 [1,276 kB]
    Get:12 http://deb.debian.org/debian buster/main amd64 libudev1 amd64 241-7~deb10u1 [149 kB]
    Get:13 http://deb.debian.org/debian buster/main amd64 systemd-sysv amd64 241-7~deb10u1 [98.8 kB]
    Get:14 http://deb.debian.org/debian buster/main amd64 libcryptsetup12 amd64 2:2.1.0-5+deb10u2 [193 kB]
    Get:15 http://deb.debian.org/debian buster/main amd64 libbz2-1.0 amd64 1.0.6-9.2~deb10u1 [45.3 kB]
    Get:16 http://deb.debian.org/debian buster/main amd64 gpgv amd64 2.2.12-1+deb10u1 [584 kB]
    Get:17 http://deb.debian.org/debian buster/main amd64 libncurses6 amd64 6.1+20181013-2+deb10u1 [102 kB]
    Get:18 http://deb.debian.org/debian buster/main amd64 libtinfo6 amd64 6.1+20181013-2+deb10u1 [325 kB]
    Get:19 http://deb.debian.org/debian buster/main amd64 libncursesw6 amd64 6.1+20181013-2+deb10u1 [132 kB]
    Get:20 http://deb.debian.org/debian buster-updates/main amd64 tzdata all 2019c-0+deb10u1 [261 kB]
    Fetched 10.2 MB in 35s (291 kB/s)
    Preconfiguring packages ...
    (Reading database ... 9861 files and directories currently installed.)
    Preparing to unpack .../base-files_10.3+deb10u1_amd64.deb ...
    Unpacking base-files (10.3+deb10u1) over (10.3) ...
    Setting up base-files (10.3+deb10u1) ...
    Installing new version of config file /etc/debian_version ...
    (Reading database ... 9861 files and directories currently installed.)
    Preparing to unpack .../ncurses-bin_6.1+20181013-2+deb10u1_amd64.deb ...
    Unpacking ncurses-bin (6.1+20181013-2+deb10u1) over (6.1+20181013-2) ...
    Setting up ncurses-bin (6.1+20181013-2+deb10u1) ...
    (Reading database ... 9861 files and directories currently installed.)
    Preparing to unpack .../ncurses-base_6.1+20181013-2+deb10u1_all.deb ...
    Unpacking ncurses-base (6.1+20181013-2+deb10u1) over (6.1+20181013-2) ...
    Setting up ncurses-base (6.1+20181013-2+deb10u1) ...
    (Reading database ... 9861 files and directories currently installed.)
    Preparing to unpack .../libsystemd0_241-7~deb10u1_amd64.deb ...
    Unpacking libsystemd0:amd64 (241-7~deb10u1) over (241-5) ...
    Setting up libsystemd0:amd64 (241-7~deb10u1) ...
    (Reading database ... 9861 files and directories currently installed.)
    Preparing to unpack .../systemd_241-7~deb10u1_amd64.deb ...
    Unpacking systemd (241-7~deb10u1) over (241-5) ...
    Preparing to unpack .../udev_241-7~deb10u1_amd64.deb ...
    Unpacking udev (241-7~deb10u1) over (241-5) ...
    Preparing to unpack .../libudev1_241-7~deb10u1_amd64.deb ...
    Unpacking libudev1:amd64 (241-7~deb10u1) over (241-5) ...
    Setting up libudev1:amd64 (241-7~deb10u1) ...
    Setting up systemd (241-7~deb10u1) ...
    (Reading database ... 9861 files and directories currently installed.)
    Preparing to unpack .../systemd-sysv_241-7~deb10u1_amd64.deb ...
    Unpacking systemd-sysv (241-7~deb10u1) over (241-5) ...
    Preparing to unpack .../libssl1.1_1.1.1d-0+deb10u1_amd64.deb ...
    Unpacking libssl1.1:amd64 (1.1.1d-0+deb10u1) over (1.1.1c-1) ...
    Preparing to unpack .../libcryptsetup12_2%3a2.1.0-5+deb10u2_amd64.deb ...
    Unpacking libcryptsetup12:amd64 (2:2.1.0-5+deb10u2) over (2:2.1.0-5) ...
    Preparing to unpack .../libext2fs2_1.44.5-1+deb10u2_amd64.deb ...
    Unpacking libext2fs2:amd64 (1.44.5-1+deb10u2) over (1.44.5-1) ...
    Setting up libext2fs2:amd64 (1.44.5-1+deb10u2) ...
    (Reading database ... 9861 files and directories currently installed.)
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.


    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


    • 일간 조회수
        • 게시물이 없습니다.
    • 주간 조회수
        • 게시물이 없습니다.
    • 월간 조회수


    Total 1,132 / 27 Page
    [ 추천)광고없는 torrent / 토랜토 다운로드 Tixati 무엇인가? 사용기 및 10월01일 최신트래커 추… ] 댓글 5

    추천)광고없는 torrent / 토랜토 다운로드 Tixati 무엇인가? 사용기 및 10월01일 최신트래커 추가/파일 전송추가 torrent 파일…

    [ VMWARE 에서 UEFI 모드로 windows WINPE 설치하기 ] 댓글 2

    VMWARE 에서 UEFI 모드로 windows 8 설치하기Enable efi mode in vmwarevmware 로 새로운 가상머신을 생성w…

    [ batch 파일 정복 (배치파일) ] 댓글 1

    batch 파일 정복 (배치파일) :: Rainbow Chaser - roresy - Tistoryroresy.tistory.com/200120…

    [ 간단) usb_500giga hdd에서 윈도우 install.wim 4기가 이상 파일 uefi로 설치 구성하… ] 댓글 3

    uefi는 4기가 이상을 인식 하지 못해 install.wim 파일 18기가 짜리를 설치 못한다방법1) hdd 파티션을 fat32로 하나더 만들…

    [ 펌)UEFI / MBR Legacy 공용 USB 만들기,UEFI 부팅후 4기가 이상 INSTALL.WIM 파… ] 댓글 5

    너무나 좋은 자료 가 있어 자료를 저장 공유 합니다저의 설치 사용기 입니다<< uefi/ mbr 공용 부팅 USB-HDD 만들기 &g…

    [ Windows Repair Toolbox 윈도우 복구 도구 상자 사용기 ]

    WindowsRepairToolbox윈도우복구도구상자(거의)모든것을당신은하나의작은편리한도구의Windows문제를복구해야합니특징:-다운로드및실행"온…

    [ autoruns를 이용하여 자동실행 파일 설치된 구동 악성파일 실행 제거 및 삭제 구동파일 삭제로 컴퓨터 … ]

    autoruns를 이용하여 자동실행 파일 설치된 구동 악성파일 실행 제거 및 삭제 구동파일 삭제로 컴퓨터 부팅 가볍게 하기구글링하여 최신 버전 …

    [ HD Tune Pro Portable 5.6 ] 댓글 9

    HD Tune Pro Portable 5.6유명한 하드디스크 검사 툴 입니다.포터블로 되어 있어서 설치도 필요없구요.1개의 단일 파일로 실행되어…

    [ 윈도우10에서 가젯 사용하기 Network_Meter_V9.6.gadget ] 댓글 1

    윈도우8.1, 윈도우10에서 가젯 사용하기2015.09.11 23:44icayniaProgram/TIPs윈도우 7 버전에는 가젯이 있지만 윈도우…

    [ 답변_본문수정) 스윙브라우즈 포터블 만들기 2.1 버전 / swing-browser 무설치 시용 하기… ] 댓글 2
    등록일 08.29 조회 4953 추천 0

    본문의 ".................설치된 스윙 uninstall 사용하니 편리합니다" <= 이것이 무슨 뜻 인지요 ??\r\n너무 궁…

    [ folder merger 폴더 합치기, 폴더 병합 하기 ] 댓글 3

    그누보드 아미나,APMS 모바일 pc 홈페이지 일상생활 을 위하여 정보를 찾아 공유 합니다.\r\n♠ 11q.kr은 정보를 찾아 공유 합니다. …

    [ 안정된 복사 프로그램 Roadkil's Unstoppable Copier ] 댓글 2

    Roadkil's Unstoppable Copier​최신 버전5.2이 버전 다운로드1676538모든 버전 다운로드3804335파일 크기427,2…

    [ free virus check 무료 바이러스 검사 설치 바리러스체이서 ] 댓글 2

    첨부는 20160724 버전 9.0입니다설치할 때 [개인용 제품번호] 자동 할당 시리얼를 받고 설치합니다.\r\n♠ shimss home 는 \…



    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-02 02:52:24

    오늘의 홈 현황


    • 현재 접속자♨ 558 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 7 명
    • 오늘 방문자 1,147 명
    • 어제 방문자 2,099 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,354,392 명
    • 전체 게시물※ 8,612 개
    • 전체 댓글수※ 24,675 개
    • 전체 회원수 11,004 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑