리눅스 OS 버전 확인하기
■ 커널 정보 확인
# uname -a
[root@localhost ~]# uname -a
Linux localhost.localdomain 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
■ OS 버전 확인
# cat /etc/*release*
RedHat 계열
# cat /etc/redhat-release
# rpm -qa *-release
[root@localhost ~]# cat /etc/*release*
NAME="Red Hat Enterprise Linux"
VERSION="8.3 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.3"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.3 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.3:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.3
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.3"
Red Hat Enterprise Linux release 8.3 (Ootpa)
Red Hat Enterprise Linux release 8.3 (Ootpa)
cpe:/o:redhat:enterprise_linux:8.3:ga
[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.3 (Ootpa)
[root@localhost ~]# rpm -qa *-release
redhat-release-8.3-1.0.el8.x86_64
■ OS bit 확인
# getconf LONG_BIT
[root@localhost ~]# getconf LONG_BIT
64
'SECURITY > 시스템 (인프라)' 카테고리의 다른 글
[진단환경구축] Red Hat Enterprise Linux 7.9 네트워크 설정 (0) | 2023.05.11 |
---|---|
[Apache] 응답 메시지 헤더 정보 숨기기 (0) | 2023.05.09 |
[진단환경 구축] IIS 버전 확인 및 설치 방법 (0) | 2021.06.09 |
[보안성 검증] 서비스 배너 /etc/ssh/sshd_config 설정 (0) | 2021.06.02 |
[OS_LINUX] [서비스관리] 로그온 시 경고 메시지 제공 (서비스 배너) (0) | 2021.06.02 |