2018년 10월 2일 화요일

[라즈베리파이] IP 주소 변경

터미널 창에 sudo vi /etc/dhcpcd.conf 입력

interface eth0
static ip_address=192.168.1.2
static routers=192.168.1.1
static domain_name_servers=168.126.63.1
static netmask=255.255.255.0
재부팅 후 ifconfig로 확인

[라즈베리파이] SSH 설정

[SSH Enable]

sudo raspi-config :
5 Interfacing Options - P2 SSH - Yes

[SSH Port]
sudo vi /etc/dhcpcd.conf
#Port 22 ==>> Port5522
sudo vi /etc/services
기존 : ssh      22/tcp      # SSH Remote Login Protocol
변경 : ssh      5522/tcp      # SSH Remote Login Protocol

[라즈베리파이] 한글 깨짐 문제 해결

sudo apt-get -y install ibus-hangul
sudo apt-get -y install fonts-unfonts-core

환경설정에서 변경
라즈베리파이 라즈비안 리눅스 한글 깨짐 문제해결 방법

재부팅

[라즈베리파이] 화면 캡쳐 방법

터미널에서

sudo apt-get install scrot
명령어로 설치

터미널에서
scrot 입력하면 현재 화면이 /home/pi에 저장됨

2018년 9월 19일 수요일

[라즈베리파이] 라즈비안 설치

라즈베리파이 구매 후 OS인 라즈비안 설치

https://www.raspberrypi.org/
라즈베리파이 홈페이지로 이동 - Downloads 메뉴



RASPBIAN 선택



DESKTOP 버전과 LITE 버전 중 선택
용량은 DESKTOP : 1.62GB, LITE : 450MB 정도 된다.


SD Card Formatter 다운로드
https://www.sdcard.org/downloads/formatter_4/

Win32DiskImager 다운로드
https://sourceforge.net/projects/win32diskimager/


SD 리더기에 SD카드 장착 후 포맷


 다운받은 라즈비안 이미지 파일을 SD카드로 Write

 이제 라즈베리파이에서 라즈비안을 사용할 수 있다.