1. 安装完linux之后
  2. 修改网卡信息
    [[email protected] ~]# cd /etc/sysconfig/network-scripts/
    [[email protected] ~]# vi ifcfg-eth0
    IPADDR根据VM虚拟机 编辑->虚拟网络编辑器->Net设置的网关地址进行设置
    linux基础配置 配置hadoop环境
    linux基础配置 配置hadoop环境
    修改成静态的BOOTPROTO 删除mak地址和UUID linux基础配置 配置hadoop环境
    2重启网络(启动成功)
    Service network restart
    linux基础配置 配置hadoop环境
  3. 关闭防火墙
    Service iptables stop
  4. 启动项,去除防火墙启动
    Chkconfig iptables off
    linux基础配置 配置hadoop环境
    (3为命令行 5为图形化界面)
  5. 为了克隆系统,我们需要删除一个文件
    查看 cat /etc/udev/rules.d/70-persistent-net.rules
    删除 rm -f /etc/udev/rules.d/70-persistent-net.rules
    linux基础配置 配置hadoop环境
  6. 关机命令 poweroff命令
    7 拍照(帮助我们恢复当时的设置,)
    克隆(四份 node001 node002 node003 node004)

相关文章: