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


[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)