ARM_core 기반 리눅스 BSP 개발/Raspberry_PI Kernel build

[Raspberry_PI]_간단 정리

juniha 2025. 6. 17. 18:29

Shell : 사용자가 입력한 명령을 해석하고 실행하는 프로그램.

CLU(Command Line Interface) 형태로 동작.

 

종류

PowerShell : 윈도우요  shell

bash : 가장 일반적은 리눅스 shell (Bourne Again Shell)

sh : 전통적인 유닉스 shell (Bourne Shell)

zash : 기능이 강화된 shell

 

PowerShell에서 wsl --install 명령으로 Ubuntu 설치

 

명령어 정리

ls  : list, 경로내의 파일 목록을 보여줌 
-l, -s ..
cd : change directory : 경로의 위치를 변경
.   :  자기 자신(현위치)
..  :  부모 (자신의 상위 폴더)
~ :   자신의 홈(로그인 계정의 홈) 위치
/  :   리눅스에서 경로의 구분 기호
\  :  윈도우즈에서 경로의 구분 기호 


pwd    : 현재 경로의 위치를 표시
mkdir  : 새로운 폴더를 생성
rm       : 폴더를 삭제, 파일도 삭제
-rf        : 하위 폴더 및 파일을 삭제
nano   : 텍스트 편집기_(초보자용)
vi        : 텍스트 편집기 _(고급 사용자용)
sudo   : 슈퍼 유저 권한 수행

1. 모듈 버전 업데이트
sudo apt-get update
sudo apt-get uprgrade
=> Y/n 에서 엔터를 눌러 Y 선택

2. xrdp 모듈 설치
sudo apt-get install xrdp

3. 모듈 활성화
sudo systemctl enable xrdp

4. 모듈 재시작
sudo systemctl restart xrdp

5. windows에서 원격 데스크탑 연결을 실행

6. IP주소 입력

REBOOT sudo reboot now

SSH활성화 sudo raspi-config 3번 Interface Options 선택 I1번 SSH선택 후 YES 선택


전원 OFF하기 sudo shutdown now vs half, poweroff

 

WSL2설치

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart