vi /etc/sysconfig/network
vi /etc/hosts
vi /etc/sysconfig/network-scripts/ifcfg-eth0
vi /etc/resolv.conf
rm -rf /etc/udev/rules.d/70-persistent-net.rules
# sudo reboot
vi /etc/inittab
adduser hadoop//添加一个名为tommy的用户
passwd hadoop//修改密码
/etc/sudoers
root ALL=(ALL) ALL
hadoop ALL=(ALL) ALL
yum -y groupremove "X Window System"
yum -y groupremove "Desktop"
yum -y groupremove "KDE Desktop"
时间: 2024-10-13 02:14:54