linux的学习
初步接触的linux系统有RedHatEnterpriseLinux、Ubuntu、CentOs、Debian、Deepin
1.RedHat系列:Redhat、Centos、Fedora等
2.Debian系列:Debian、Ubuntu等
RedHat 系列
1 常见的安装包格式 rpm包,安装rpm包的命令是“rpm -参数”
2 包管理工具 yum
3 支持tar包
Debian系列
1 常见的安装包格式 deb包,安装deb包的命令是“dpkg -参数”
2 包管理工具 apt-get
3 支持tar包
针对RedHat
[root@localhost ~]# iostat
-bash: iostat: command not found
[root@localhost ~]# yum install -y sysstat
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package sysstat available.
Nothing to do
原因是
Redhat服务服务 是需要授权的,也就是说是收费的;
如果您需要安装新的rpm包,请从您的光盘安装;
如果是学习目录,可以用rhel的社区版centos替代。