[windows] windows 초기 세팅

powershell

프로필 스크립트 설정

처음 설정하는 경우 프로필 파일이 없을 것이다. 생성 후 실행할 수 있도록 RemoteSigned 모드로 변경해야한다. (로컬 스크립트는 실행, 외부 스크립트는 서명된 것만 실행)

PS> $profile
PS> if (!(Test-Path -Path $profile)) {
    New-Item -Path $profile -ItemType File -Force
}

PS> Get-ExecutionPolicy
PS> Set-ExecutionPolicy RemoteSigned

이전 탭 경로로 새 탭 열기


WSL 세팅

ubuntu 설치

계정세팅

계정생성
비밀번호 변경
sudo 그룹권한 추가
/etc/wsl.conf 에 기본계정 설정

툴세팅

기본 설치


높은버전 우분투에서 낮은버전 파이썬 설치
파이썬 3.10 설치
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.10
sudo update-alternatives –install /usr/bin/python python /usr/bin/python3.10 1
sudo update-alternatives –install /usr/bin/python python /usr/bin/python3.12 2
sudo update-alternatives –config python # 여기에서 선택

gdb peda 등 세팅

Comments

ESC
Type to search...