Raspberry Pi/Raspberry Pi OS
(macOS)[Raspberry Pi] 기본 환경 설정 : terminal, samba
jinozpersona
2022. 12. 27. 14:21
Intro
OS : MacOS
Target HW : Raspberry Pi 3B+
Target OS : Raspberry Pi OS(64bit) with desktop
Raspberry Pi
Terminal 사용을 편리하게 : zsh, omyzsh
파일공유 : SAMBA
추가로 visual studio code 설치까지
1. Terminal : ohmyzsh
raspi $ sudo apt update
raspi $ sudo apt upgrade
raspi $ sudo apt install zsh
raspi $ chsh -s /bin/zsh
raspi $ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
zsh plugin 3종
# zsh-syntax-highlighting
raspi $ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# zsh-autosuggestions
raspi $ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# zsh-completions
raspi $ git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
zsh plugin 설정
raspi $ nano .zshrc
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
....
plugins=(git zsh-autosuggestions zsh-syntax-highlighting zsh-completions)
autoload -U compinit && compinit
2. samba 설치 및 파일 공유
아래 링크 파일 참조 : Linux mint 설치 법과 동일
https://jinozblog.tistory.com/183
3. Visual Studio Code 설치
raspi $ sudo apt update
raspi $ sudo apt upgrade
raspi $ sudo apt install code
반응형