Kiểm tra version Centos - 21102019

Breaking

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

Tuesday, September 18, 2018

Kiểm tra version Centos

1. Lệnh RPM:
# rpm --query centos-release
centos-release-6-9.el6.12.3.x86_64

# rpm --query centos-release
centos-release-7-2.1511.el7.centos.2.10.x86_64

2. Lệnh hostnamectl

# hostnamectl
Static hostname: localhost.localdomain
Icon name: computer-vm
Chassis: vm
Machine ID: 36252b628d10412e8ed195ef08ec7076
Boot ID: b05ad5db8fec46bc9ab3507deb1bded6
Virtualization: vmware
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-862.3.3.el7.x86_64
Architecture: x86-64

No comments:

Post a Comment

Post Top Ad

Responsive Ads Here