美文网首页
centos8 预装Hadoop更改项2020-04-05

centos8 预装Hadoop更改项2020-04-05

作者: dbabby | 来源:发表于2020-04-05 16:26 被阅读0次
    
    [root@abby ~]# vim /etc/sysconfig/network-scripts/ifcfg-ens33
    
    [root@abby ~]# vim /etc/sysconfig/network-scripts/ifcfg-ens33
    
    [root@abby ~]# vim /etc/sysconfig/network-scripts/ifcfg-ens33
    
    [root@abby ~]# cd /etc/sysconfig/network-scripts/
    
    [root@abby network-scripts]# mv ifcfg-ens33 ifcfg-eth0
    
    [root@abby network-scripts]# vim /etc/default/grup
    
    [root@abby network-scripts]# vim /etc/default/grub
    
    [root@abby network-scripts]# grup2-mkcofig -o /boot/grub2/grub.cfg
    
    bash: grup2-mkcofig: 未找到命令...
    
    文件搜索失败: Cannot update read-only repo
    
    [root@abby network-scripts]# grub2-mkcofig -o /boot/grub2/grub.cfg
    
    bash: grub2-mkcofig: 未找到命令...
    
    文件搜索失败: Cannot update read-only repo
    
    [root@abby network-scripts]# grub2-mkconfig -o /boot/grub2/grub.cfg
    
    Generating grub configuration file ...
    
    done
    
    [root@abby network-scripts]# vi /etc/hosts
    
    [root@abby network-scripts]# hostnamectl set-hostname hadoop05
    
    [root@abby network-scripts]# systemctl stop firewalld.service && systemctl disable firewalld.service
    
    Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
    
    Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.```

    相关文章

      网友评论

          本文标题:centos8 预装Hadoop更改项2020-04-05

          本文链接:https://www.haomeiwen.com/subject/pkguphtx.html