
AWS에서 EC2 인스턴스를 시작하고 싶습니다. Ubuntu Xenial 배포판을 설치하고 싶습니다. 이 중 어느 것이 Xenial인지 어떻게 알 수 있나요?
다음과 같은 많은 옵션이 표시됩니다.
- Ubuntu Server 18.04 LTS(HVM), SSD 볼륨 유형 - ami-0b76c3b150c6b1423
- Ubuntu Server 14.04 LTS(HVM), SSD 볼륨 유형 - ami-001dae151248753a2
- Deep Learning AMI(Ubuntu) 버전 23.0 - ami-0726ab58f406b644f
- Deep Learning Base AMI(Ubuntu) 버전 18.0 - ami-00c2ec90e50ed2f33
- SQL Server 2017 Standard가 포함된 Ubuntu Server 16.04 LTS(HVM) - ami-f13ff693
- Ubuntu Server 14.04 LTS(HVM), SSD 볼륨 유형 - ami-0d21bd76bdbb39f53
업데이트
내가 Xenial을 원하는 이유는 Galera 클러스터가 이미 Xenial용으로 구축되었기 때문입니다.
http://releases.galeracluster.com/mysql-wsrep-5.6.39-25.22/ubuntu/dists/xenial/
답변1
Ubuntu 16.04(질문 목록의 5번째 항목)의 코드명은 xenial입니다. 터미널을 열고 다음 명령을 실행하여 이를 확인할 수 있습니다.
lsb_release -c
운영 체제가 16.04인 경우 위 명령의 결과는 다음과 같습니다.
코드 네임: 제니알
답변2
Ubuntu 16.04 LTS는 코드명 Xenial Xerus(https://wiki.ubuntu.com/XenialXerus)
전체 릴리스 목록은 다음에서 볼 수 있습니다.https://wiki.ubuntu.com/Releases, 표준 지원 종료(또는 LTS EOL) 또는 가능한 경우 ESM 지원에 대한 링크를 제공합니다.
답변3
아무것도 구문 분석하지 않고 -r
및 -c
플래그를 사용하여 각각 릴리스와 코드명을 가져옵니다.
$ lsb_release -rc
Release: 16.04
Codename: xenial
답변4
uname -m && uname -r && cat /etc/*release
일반적인 출력
x86_64
5.0.0-15-generic
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.04"
VERSION_ID="19.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=disco
UBUNTU_CODENAME=disco
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free inact active si so bi bo in cs us sy id wa st
1 1 24696 3070640 1620404 2600012 0 0 73 124 551 451 26 9 64 1 0
Desktop: ubuntu:GNOME
Session: ubuntu