🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 查看基本信息 ~~~ root@MyMail ~ # uname Linux ~~~ ~~~ root@MyMail ~ # uname -r 2.6.18-164.el5 ~~~ ~~~ [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux ~~~ 以下二种方法适用于RedHat,CentOS ~~~ root@MyMail ~ # cat /etc/redhat-release CentOS release 5.4 (Final) ~~~ 登录到linux执行rpm -q redhat-release #rpm -q redhat-release 或CentOS root@MyMail ~ # rpm -q centos-release centos-release-5-4.el5.centos.1