Centos6和7的区别
作者:
杨丶子 | 来源:发表于
2019-05-14 17:42 被阅读0次
整体说明
1.系统
| 项目 |
CentOS6 |
CentOS7 |
| 1. 安装过程 |
6 一步一步 |
7随意 |
| 2. 默认的文件系统 |
ext4 |
xfs |
| 3. 启动流程 |
串行 |
并行 |
| 4. 运行级别 |
runlevel |
target |
| 5. 内核 |
2.6.32 |
3.10.0 |
| 6. 开机自启动服务 |
chkconfig |
systemctl enable/disable rsyncd |
| 7. 开启或关闭服务 |
/etc/init.d/network stop/start |
systemctl start/stop rsyncd |
| 8. 网卡命名 |
eth0 eth1 |
ens33 |
| 9. 普通用户uid |
>=500 |
>=1000 |
| 10.修改主机名 |
hostname和/etc/sysconfig/network |
hostnamectl和/etc/hostname |
| 11.修改字符集 |
/etc/sysconfig/i18n |
localectl 和/etc/locale.conf |
| 12.软件包名字 |
tree-1.6.0-10.el6.x86_64 el6 C6 |
tree-1.6.0-10.el7.x86_64 el7 C7 |
| 13.管理网卡主要服务: |
network |
NetworkManager network |
| 14.防火墙: |
iptables |
firewalld |
| 15.查看内存free -h |
可用内存需要看bufer/cache这一行的 |
可用内存直接看 ava |
| 16./etc/fstab |
/根分区和/boot分区默认都是检查 |
/根分区和/boot分区默认都是不检查 |
2.服务软件
| 项目 |
CentOS6 |
CentOS7 |
| 1.rsync |
直接使用rsync用户即可 |
需要使用fake super = yes |
| 2.数据库 |
yum源中默认是MySQL |
yum源中默认是MariaDB |
| 3.时间同步 |
ntpdate 或ntpd服务 |
chrony |
详细操作
[root@oldboyedu ~]# free -m
total used free shared buffers cached
Mem: 3832 2973 859 0 265 1771
-/+ buffers/cache: 936 2896
Swap: 2047 0 2047
本文标题:Centos6和7的区别
本文链接:https://www.haomeiwen.com/subject/useeaqtx.html
网友评论