retoropi 레트로파이 레트로 게임기
우분투 설치
- 참고링크 : https://blog.may-i.io/tech-7/
- 참고링크 : https://ubuntu.com/download/raspberry-pi?ref=blog.may-i.io
- Raspberry Pi OS
- window용 imager를 다운로드하고 설정값을 설정한다음 이미지 쓰기 수행
- SD카드 최소 8GB, 권장 16GB
- 이미지 설치 완료 후 라즈베리파이에 삽입하고 수시간 기다리면 부팅 후 화면이 나옴
우분투 초기 세팅
sudo apt-get update로컬 컴퓨터 패키지 데이터베이스 업데이트sudo apt-get upgradecat /proc/device-tree/model라즈베리파이 보드 버전확인- raspberray pi 3 model B rev1
uname -acat /etc/issuecat /etc/*release*- OS 버전 확인
네트워크 세팅
iwconfig네트워크 설정확인ifconfig wlan0 up랜카드 활성화sudo vi /etc/network/interfaces관리자 권한으로 인터페이스 파일 수정- 파일이 readonly라 수정되지 않았다. 네트워크 매니저를 사용
auto wlan0
iface wlan0 inet dhcp
allow-hotplug wlan0
wpa-ssid "무선 네트워크 이름"
wpa-psk "비밀번호"
sudo ifdown wlan0네트워크 내리기sudo ifup wlan0네트워크 올리기
네트워크 매니저
sudo apt-get install network-manager네트워크 매니저 설치sudo nmtui네트워크 매니져 시작- edit a connection > Wi-Fi > Active a connection
- 리스트에서 와이파이 선택
ssh 설정
sudo apt-get install openssh-serversudo apt-get install ufw- ```sudo ufw allow 22``
sudo /etc/init.d/ssh restartsystemctl enable ssh-
systemctl status ssh sudo apt-get install firewall-configsudo firewall-cmd --add-service-ssh --permanent-
sudo firewall-cmd --reload sudo reboot- Raspberry Pi OS 설정에서 ssh를 설정하여 추가설정이 필요하지 않았음
기타
-
라즈베리파이 5 레트로파이 셋업 : https://github.com/danielfreer/raspberrypi5-retropie-setup
sudo apt updatesudo apt upgrade
로컬설정
sudo raspi-config- localisation options 선택
- locale 선택
- en_US.UTF-8 UTF-8
- finish
sudo update-locale LANGUAGE="en_US:en"sudo update-locale LC_ALL=en_US.UTF-8sudo apt install git lsb-releasegit clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.gitcd RetroPie-Setupchmod +x retropie_setup.shsudo ./retropie_setup.sh- OK, OK, Basic install, Yes
- Configuration / tools
- autostart, Start Emulation Station at boot, Ok
- bashwelcometweak, install bash welcome tweak, ok
- 컴파일 과정이 너무 오래 걸림 (수시간 이상)
#라즈겜동
