일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 리눅스
- Custom
- Python
- 말라키
- STS
- 원한
- error
- pythoncom37.dll
- Anaconda
- LOG
- 가상환경
- checkbox
- build
- SCADA
- ORA-28002
- geckodriver
- DataTables
- Eclipse
- 분노
- Linux
- 맥코트
- HMI
- JQuery
- 명령어
- 파이썬
Archives
- Today
- Total
2010년 5월 1일, 2막
WSL2에서 systemctl 사용 본문
sudo systemctl daemon-reload
WSL2에서 systemctl 실행 시 아래 오류 발생
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
systemctl enable 처리
wget --content-disposition \
> "https://gist.githubusercontent.com/djfdyuruiry/6720faa3f9fc59bfdf6284ee1f41f950/raw/952347f805045ba0e6ef7868b18f4a9a8dd2e47a/install-sg.sh"
chmod +x /tmp/install-sg.sh
/tmp/install-sg.sh && rm /tmp/install-sg.sh
powershell에서 wsl 중지
wsl --shutdown
powershell에서 wsl 재시작
wsl genie -s
sudo apt update
sudo apt install -y git
git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
cd ubuntu-wsl2-systemd-script/
bash ubuntu-wsl2-systemd-script.sh
powershell에서 wsl 중지
wsl --shutdown
'Computer > Tips' 카테고리의 다른 글
Ubuntu 22.04 in VirtualBox (0) | 2023.03.02 |
---|---|
폴더 내 파일 리스트 추출 in 윈도우 cmd (0) | 2022.10.19 |
wsl 드라이버 이동 설치 (0) | 2022.08.02 |
[git] clone 시 "no matching host key type found." 에러 발생 (0) | 2022.06.14 |
[git] SSL certificate problem 해결 (0) | 2022.06.14 |