
查看centos系统版本的方法:
推荐:《centos使用教程》
1、使用lsb_release -a命令查看
[root@centos6 ~]# lsb_release -aLSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchDistributor ID: CentOSDescription: CentOS release 6.9 (Final)Release: 6.9Codename: Final
但是,centos7.3里没有lsb_release命令。
多商户双网版电子商城CRMEB系统
基于ThinkPhp6+ swoole4+uniapp 开发的一套CRMEB新零售多商户商城系统。如果不会搭建请到 查看搭建说明系统环境推荐 使用 宝塔配置环境centos PHP7.3 mysql5.6新增功能: 01·新增支持销售虚拟产品自动发货 02.支持销售链接与卡密可导入导出 03.自定义后台路径对后台进行保护 04.新增支持商家缴纳保证金功能 05·违法或侵权商品一键举报功能 06·仲
0 查看详情
2、使用cat /etc/os-release命令打开文件查看
[root@centos7 app]# cat /etc/os-release NAME="CentOS Linux"VERSION="7 (Core)"ID="centos"ID_LIKE="rhel fedora"VERSION_ID="7"PRETTY_NAME="CentOS Linux 7 (Core)"ANSI_COLOR="0;31"CPE_NAME="cpe:/o:centos:centos:7"HOME_URL="https://www.centos.org/"BUG_REPORT_URL="https://bugs.centos.org/"CENTOS_MANTISBT_PROJECT="CentOS-7"CENTOS_MANTISBT_PROJECT_VERSION="7"REDHAT_SUPPORT_PRODUCT="centos"REDHAT_SUPPORT_PRODUCT_VERSION="7"
3、使用cat /etc/redhat-release(/etc/centos-release)命令查看
[root@centos6 ~]# cat /etc/redhat-release CentOS release 6.9 (Final)[root@centos7 app]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core)
4、使用rpm -q centos-release命令查看
[root@centos6 ~]# rpm -q centos-releasecentos-release-6-9.el6.12.3.x86_64[root@centos7 app]# rpm -q centos-releasecentos-release-7-3.1611.el7.centos.x86_64
推荐学习Linux视频教程:https://www.php.cn/course/list/33.html
以上就是centos如何查看版本的详细内容,更多请关注创想鸟其它相关文章!
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/793967.html
微信扫一扫
支付宝扫一扫