• Linux系统发行版本及其区别


    1 Linux系统组成

    Linux操作系统=Linux内核+GNU软件及系统软件+必要的应用程序。下表为Linux系统各组成部分的贡献人员:

    Linux内核 GNU组件(gcc、bash) 其他必要应用程序
    开发者Linus Torvalds 项目发起人 Richard Stallman BSD Unix和X Windows以及成千上的程序员

    2 Linux发行版本

    Linux内核版本主要有四个系列:Linux kernel2.2、 Linux kernel 2.4、Linux kernel 2.6、Linux kernel 3.x。

    常用发行商:CentOS、Ubuntu、Redhat、Debian、Fedora、SUSE。。。

    Fedora是Redhat的预发布版。

    CentOS是将Redhat Linux源代码的商标LOGO以及非自由软件部分去掉后在编译而成的版本。

    CentOS和Fedora是Redhat的两个分支。

    Linux发行版本选择  
    Linux桌面系统 Ubuntu
    服务器端Linux系统 首选Redhat(付费)或者CentOS
    如果对安全要求很高 Debian或者FreeBSD(银行)
    使用数据库高级服务或者电子邮件网络用户 SUSE(德国,收费)、openSUSE(开源)
    想新技术、新功能,是rhel和CentOS的测试版或预发布版 Fedoras(Fedora稳定之后-->Redhat-->去LOGO除收费-->CentOS)
    中文 红旗Linux、麒麟Linux

    3 CentOS6与7的区别

    注意:面试的时候被问及使用的是什么操作系统,要一次性说出系统版本、内核版本、是32位还是64位,例如:CentOS 6.7 x86_64为Linux系统,内核版本为2.6.32-573,573是编译次数。

    区别 CentOS6.x CentOS7.x
    内核版本 Kernel2.6 Kernel3.10
    系统启动进程 /etc/init进程 /usr/lib/systemd/systemd
    系统启动方式 串行 并行
    服务启动关闭 service sshd restart systemctl restart sshd
    服务开机自启动 chkconfig systemctl enable firewalld.service
    默认文件系统 ext4 xfs
    防火墙 iptables firewalld
    默认数据库 mysql mariadb
    修改主机名 vim /etc/sysconfig/network /etc/hostname或者hostnamectl
    字符集 /etc/sysconfig/i18n /etc/locale.conf
    查看IP ifconfig ip address show
    网卡名称 /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-ens33
    普通用户UID 500+ 1000+
    /etc/fstab /分区和/boot分区默认检查 /分区和/boot分区默认不检查

    详情参考:https://www.yuque.com/guiguyouwo/linux/version.html

  • 相关阅读:
    Hadoop: No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).解决办法
    Libnfc
    生产服务GC调优实践及基本流程总结
    万年历算法
    C#中操作Oracle时的SQL语句参数的用法
    对DataGrid的初步了解
    C#中HashTable的用法
    正则表达式
    C#动态调用WebService
    Ubuntu 故障处理笔记
  • 原文地址:https://www.cnblogs.com/centlnx/p/12390734.html
Copyright © 2020-2023  润新知