Raspberry Pi 에 우분투 서버 설치

2021. 10. 22. 10:08it 이야기/라즈베리파이

Raspberry Pi

Raspberry Pi (https://www.raspberrypi.org/)는 ARM 기반의 소형보드 입니다

 

Raspberry Pi의 Ubuntu Server를 설치해 봅니다

Ubuntu Server 는 Raspberry Pi 3 과 Raspberry Pi 4 에 설치가 가능합니다.

 

이미지 파일 다운로드

https://ubuntu.com/download/raspberry-pi

64-bit for Raspberry Pi 3 and 4
를 다운로드 받습니다.

xz 압축 파일을 풉니다. ( 반디집 또는 7zip )

 

이미지 파일 SD 메모리에 복사 ( 윈도우 )

https://sourceforge.net/projects/win32diskimager/files/latest/download

Win32 Disk Imager 를 설치후 이미지 파일을 선택하고
SD 메모리가 있는 디스크(Device)를 지정한 뒤에 Write 합니다.

 

라즈베리이파이 보드 ( 3 or 4 ) 에 설치

복사가 완료된 SD 메모리를 라즈베리파이에 장착하고
전원을 연결 합니다.

ID : ubuntu / PW : ubuntu 로 로그인힙니다.

 

apt source 변경

~# sudo -i ~# cd /etc/apt ~# cp sources.list sources.list.backup ~# vi sources.list:%s/ports.ubuntu.com\/ubuntu-ports/ftp.harukasan.org\/ubuntu-ports

apt 를 통한 패키지 설치시 속도 향상을 위해 apt source 를 국내 ( 부경대 ) 로 변경합니다.

apt update & upgrade

~# apt update ~# apt upgrade

설치된 패키지를 업데이트 합니다.