Ubuntu Server OS (Minimal) 설치
- Ubuntu Server OS (LTS 버전)의 ISO 파일 다운로드: https://ubuntu.com/download/server
- Ubuntu OS ISO를 USB에 구워서 부팅 가능한 USB 생성 (Rufus 사용)
- 컴퓨터 전원을 켠 후 BIOS에 진입하려면 F2 키 또는 F12 키를 연타로 누르기
- Ubuntu Server OS (LTS 버전) 설치 중 SSH 접속 준비를 위해 주의할 부분
Docker 설치
shell
# Docker 공식 설치 스크립트 실행
curl -fsSL https://get.docker.com | sh
# 사용자 권한 부여
sudo usermod -aG docker $USER # docker 그룹 추가
newgrp docker # 그룹 변경 즉시 적용
# 설치 확인 및 테스트
docker --version # 버전 확인
docker info # 시스템 상태 확인
docker run hello-world # 설치 테스트
# hello-world는 자동으로 이미지 pull → container 실행 → 종료
docker ps -a # hello-world 컨테이너 확인
docker rm hello-world # 테스트 컨테이너 삭제OpenSSH server 실행
shell
sudo systemctl status ssh
sudo systemctl start ssh # if not active
sudo systemctl enable ssh # ensure the ssh service is started automatically when the system bootsCheck Network connectivity
shell
ip addr show