centos 安装与操作方法




centos 安装与操作方法

2022-07-20 21:04:48 网络知识 官方管理员

CentOS简介
CentOS(CommunityEnterpriseOperatingSystem)是一个基于RedHatLinux提供的可自由使用源代码的企业级Linux发行版本,它是来自于RedHatEnterpriseLinux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以CentOS替代商业版的RedHatEnterpriseLinux使用,相对于其他Linux发行版,其稳定性值得信赖。两者的不同,在于CentOS并不包含封闭源代码软件,详见我先前的博客Centos和Redhat的区别和联系

CentOS下载安装
官方下载页面:http://wiki.centos.org/Download
i386镜像:http://isoredirect.centos.org/centos/6/isos/i386/
x86-64镜像:http://isoredirect.centos.org/centos/6/isos/x86_64/
CentOS6.4下载:http://mirrors.163.com/centos/6.4/isos/(网易镜像)
CentOS帮助文档:http://mirrors.163.com/.help/centos.html

CentOS查看版本

#lsb_release-a
LSBVersion::core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
DistributorID:CentOS
Description:CentOSrelease5.4(Final)
Release:5.4
Codename:Final

uname命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。

root@MyMail~#uname
Linux
root@MyMail~#uname-r

2.6.32-279.el6.x86_64

以下二种方法适用于RedHat,CentOS

root@MyMail~#cat/etc/redhat-release
CentOSrelease6.3(Final)

登录到linux执行rpm-qredhat-release或rpm-qcentos-release
root@MyMail~#rpm-qcentos-release
centos-release-6-4.el6.centos.10.x86_64


发表评论:

最近发表
网站分类
标签列表