반응형

윈도우 터미널에서 지원하는 wsl2 ubuntu 22-04 버전은 기본적으로 systemctl 을 지원하지 않습니다.

 

그래서 수동 설정으로 사용할 수 있도록 설정을 해야하는데 방법은

 

sudo apt install git

git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git

cd ubuntu-wsl2-systemd-script

sudo bash ubuntu-wsl2-systemd-script.sh --force

위의 명령어를 순서대로 입력해 서 설치하고

 

터미널을 재시작 하시면 systemctl 이 활성화 됩니다.

반응형

+ Recent posts