gbmin's Tech Notes

서버 구축 및 유지보수, 클라우드 컴퓨팅, 네트워크 보안, IT 분야 기술 노트. :)

Tech Notes/Linux

Rocky Linux 9.1 (Blue Onyx) - 록키 리눅스9.1 설치

gbmin 2023. 5. 10. 13:52

Rocky Linux은 CentOS의 후속 제품으로, RHEL(Red Hat Enterprise Linux)과 100% 호환되는 무료 및 오픈 소스 기업용 리눅스 배포판이다. Rocky Linux 9.1은 2022년 11월 22일에 출시된 최신 버전으로, 다양한 보안 기능과 업데이트가 제공되고 최신 RHEL 9.1 패키지와 동일한 기능을 제공한다.

 

- 목차

1. Rocky Linux 9.1

공식문서

EoL(End of Life)

특징

2. Rocky Linux 9.1 설치

설치 파일다운로드

설치환경

버추얼박스(VirtualBox) 가상머신 생성 및 설정

Rocky Linux 9.1 설치

3. OS 체크

접속

패키지 정보 확인

기본 서비스 목록

 

 

1. Rocky Linux 9.1

공식 문서

공식 사이트 : https://rockylinux.org/
공식 문서 wiki : https://wiki.rockylinux.org/

 

Rocky Linux

Rocky Linux is an open enterprise Operating System designed to be 100% bug-for-bug compatible with Enterprise Linux.

rockylinux.org

 

Welcome - Rocky Linux Wiki

Rocky Linux Wiki About Rocky Linux is a community enterprise Operating System designed to be 100% bug-for-bug compatible with Enterprise Linux. Quick Links Below is a list of links to common resources for Rocky Linux. For more, see the "links" section foun

wiki.rockylinux.org

 

Rocky Linux

 

 

EoL(End of Life)

Rocky Linux 8 - 2029년 5월 31일
Rocky Linux 9 - 2032년 5월 31일
참고 : https://wiki.rockylinux.org/rocky/version/

 

Rocky Linux Release Version Guide - Rocky Linux Wiki

Rocky Linux Release Version Guide This page goes over the Rocky Linux Release Versions, their support, timelines, and how it affects our users. Current Supported Releases Below is a table of Rocky Linux versions, with accompanying general release and (plan

wiki.rockylinux.org

 

특징

Kernel 5.14: 최신 리눅스 커널 버전 5.14을 사용한다.
Python 3.9: Python 3.9를 기본 제공한다.
Cockpit 254: Cockpit 254 버전을 기본 제공한다. (웹기반 시스템 모니터링 툴)
Podman 3.4: Podman을 기본 제공한다. (docker와 같이 컨테이너 관리 도구)
DNF 4.7: DNF을 기본 패키지 관리자로 사용한다.

 

 

 

2. Rocky Linux 9.1 설치

설치파일 다운로드

https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.1-x86_64-dvd.iso

 

설치 환경

AMD 64bit 기반 cpu
VirtualBox VM에 설치 진행.

 

 

버추얼박스(VirtualBox) 가상머신 생성 및 설정

VM생성

 

유저,hostname설정

 

자원할당

 

disk설정

 

네트워크어댑터설정

 

생성후부팅

 

부팅후 가상머신이 구동이 참고

[Tech Notes/Trouble Shooting] - Result Code: E_FAIL (0X80004005) Component: ConsoleWrap Interface: IConsole

 

Result Code: E_FAIL (0X80004005) Component: ConsoleWrap Interface: IConsole

VirtualBox (버추얼박스)에서 VM 추가 후 에러 발생 VM Name: Rocky Linux9 Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE). AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED). Result Code: E_FAIL (0X80004005) Com

gbminnote.com

 

 

 

 

Rocky Linux 9.1 설치

설치초기화면

 

언어선택

 

설치패키지및설정선택

 

파티션설정

 

파티션확인

 

설치패키지선택

 

네트워크설정

 

root계정설정

 

설치중화면

 

설치완료

 

 

3. OS 체크

접속
login as: root
root@rocky.gbminnote.com's password:
Activate the web console with: systemctl enable --now cockpit.socket
Last login: Wed May 10 00:23:55 2023 from 192.168.0.16
[root@rocky9 ~]#

 

패키지 정보 확인
[root@rocky9 ~]# cat /etc/redhat-release
Rocky Linux release 9.1 (Blue Onyx)

[root@rocky9 ~]# uname -r
5.14.0-162.6.1.el9_1.x86_64

[root@rocky9 ~]# python -V
Python 3.9.14

root@rocky9 ~]# rpm -q cockpit
cockpit-276.1-1.el9.x86_64

[root@rocky9 ~]# podman version
Client:       Podman Engine
Version:      4.2.0
API Version:  4.2.0
Go Version:   go1.18.4
Built:        Wed Nov 16 02:00:08 2022
OS/Arch:      linux/amd64

[root@rocky9 ~]# dnf --version
4.12.0
  설치되었습니다: dnf-0:4.12.0-4.el9.noarch (일시: 2023년 05월 09일 (화) 오후 03시 19분 21초)
  구성 :Rocky Linux Build System (Peridot) <releng@rockylinux.org> (일시: 2022년 11월 15일 (화) 오전 09시 28분 34초)

  설치되었습니다: rpm-0:4.16.1.3-19.el9_1.x86_64 (일시: 2023년 05월 09일 (화) 오후 03시 19분 05초)
  구성 :Rocky Linux Build System (Peridot) <releng@rockylinux.org> (일시: 2022년 11월 15일 (화) 오후 04시 42분 25초)

 

기본 서비스 목록
[root@rocky9 ~]# systemctl list-units --type=service
  UNIT                               LOAD   ACTIVE SUB     DESCRIPTION
  atd.service                        loaded active running Deferred execution scheduler
  auditd.service                     loaded active running Security Auditing Service
  chronyd.service                    loaded active running NTP client/server
  crond.service                      loaded active running Command Scheduler
  dbus-broker.service                loaded active running D-Bus System Message Bus
  dracut-shutdown.service            loaded active exited  Restore /run/initramfs on shutdown
  firewalld.service                  loaded active running firewalld - dynamic firewall daemon
  getty@tty1.service                 loaded active running Getty on tty1
  irqbalance.service                 loaded active running irqbalance daemon
  kdump.service                      loaded active exited  Crash recovery kernel arming
  kmod-static-nodes.service          loaded active exited  Create List of Static Device Nodes
  libstoragemgmt.service             loaded active running libstoragemgmt plug-in server daemon
  lvm2-monitor.service               loaded active exited  Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
● mcelog.service                     loaded failed failed  Machine Check Exception Logging Daemon
  NetworkManager-wait-online.service loaded active exited  Network Manager Wait Online
  NetworkManager.service             loaded active running Network Manager
  nis-domainname.service             loaded active exited  Read and set NIS domainname from /etc/sysconfig/network
  plymouth-quit-wait.service         loaded active exited  Hold until boot process finishes up
  plymouth-quit.service              loaded active exited  Terminate Plymouth Boot Screen
  plymouth-read-write.service        loaded active exited  Tell Plymouth To Write Out Runtime Data
  plymouth-start.service             loaded active exited  Show Plymouth Boot Screen
  polkit.service                     loaded active running Authorization Manager
  rsyslog.service                    loaded active running System Logging Service
  sshd.service                       loaded active running OpenSSH server daemon
  systemd-journal-flush.service      loaded active exited  Flush Journal to Persistent Storage
  systemd-journald.service           loaded active running Journal Service
  systemd-logind.service             loaded active running User Login Management
  systemd-modules-load.service       loaded active exited  Load Kernel Modules
  systemd-network-generator.service  loaded active exited  Generate network units from Kernel command line
  systemd-random-seed.service        loaded active exited  Load/Save Random Seed
  systemd-remount-fs.service         loaded active exited  Remount Root and Kernel File Systems
  systemd-sysctl.service             loaded active exited  Apply Kernel Variables
  systemd-tmpfiles-setup-dev.service loaded active exited  Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service     loaded active exited  Create Volatile Files and Directories
  systemd-udev-settle.service        loaded active exited  Wait for udev To Complete Device Initialization
  systemd-udev-trigger.service       loaded active exited  Coldplug All udev Devices
  systemd-udevd.service              loaded active running Rule-based Manager for Device Events and Files
  systemd-update-utmp.service        loaded active exited  Record System Boot/Shutdown in UTMP
  systemd-user-sessions.service      loaded active exited  Permit User Sessions
  systemd-vconsole-setup.service     loaded active exited  Setup Virtual Console
  tuned.service                      loaded active running Dynamic System Tuning Daemon
  user-runtime-dir@0.service         loaded active exited  User Runtime Directory /run/user/0
  user@0.service                     loaded active running User Manager for UID 0

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
43 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.