Skip to content

라즈베리파이 세팅하는 문서 #5

Description

@iknoom

1. OS 설치

https://ndb796.tistory.com/478

2. local ssh 설정

https://desertbot.io/blog/headless-pi-zero-ssh-access-over-usb-windows

http://blog.naver.com/PostView.nhn?blogId=21ahn&logNo=221311535318

https://m.blog.naver.com/PostView.naver?blogId=taehyeon_1018&logNo=221492402268&proxyReferer=https:%2F%2Fwww.google.com%2F

3. 와이파이 연결

$ sudo vi /etc/wpa_supplicant/wpa_supplicant.conf

수정 이후 reboot

학교 와이파이 관련

https://blog.iolate.kr/m/201

https://gist.github.com/elec3647/1e223c02ef2a9a3f836db7984011b53b

https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf

4. 필요한 소프트웨어 설치

$ sudo apt-get update
$ sudo apt-get install vim
$ sudo apt-get install git
$ sudo apt-get install python-pip
$ sudo apt-get install python3-rpi.gpio
$ vi ~/.vimrc
set number    " line 표시
set ai    " auto indent
set si " smart indent
set cindent    " c style indent
set shiftwidth=4    " 자동 공백 채움 시 4칸
set tabstop=4    " tab을 4칸 공백으로
set ignorecase    " 검색 시 대소문자 무시
set hlsearch    " 검색 시 하이라이트
set nocompatible    " 방향키로 이동 가능
set fileencodings=utf-8,euc-kr    " 파일 저장 인코딩 : utf-8, euc-kr
set fencs=ucs-bom,utf-8,euc-kr    " 한글 파일은 euc-kr, 유니코드는 유니코드
set bs=indent,eol,start    " backspace 사용가능
set ruler    " 상태 표시줄에 커서 위치 표시
set title    " 제목 표시
set showmatch    " 다른 코딩 프로그램처럼 매칭되는 괄호 보여줌
set wmnu    " tab 을 눌렀을 때 자동완성 가능한 목록
syntax on    " 문법 하이라이트 on
filetype indent on    " 파일 종류에 따른 구문 강조
set mouse=a    " 커서 이동을 마우스로 가능하도록

https://gabii.tistory.com/entry/Ubuntu-vim-%EC%84%A4%EC%B9%98-%EB%B0%8F-%EC%84%A4%EC%A0%95

5. 소프트웨어 실행

작성한 코드를 실행

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions