💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` // 查看当前操作系统发行版信息 [root@root /]$ cat /etc/issue CentOS release 6.4 (Final) Kernel \r on an \m // 查看centos 版本 [root@root /]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) [root@root /]# cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) // 通过查询centos安装包来查询centos版本信息 [root@root /]# rpm -q centos-release centos-release-7-4.1708.el7.centos.x86_64 // 通过lsb_release 命令查询centos版本信息,如果命令未找到,则需要安装:yum install -y redhat-lsb [root@root /]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.4.1708 (Core) Release: 7.4.1708 Codename: Core // 查看当前操作系统内核信息 [root@root /]# cat /proc/version Linux version 3.10.0-957.27.2.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Mon Jul 29 17:46:05 UTC 2019 [root@root /]# uname -a Linux izwz91quxhnlkan8kjak5hz 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux ```