步骤: sudo vim /opt/hadoop/etc/hadoop/hdfs-site.xml 初始化文件系统 启动所有进程 /opt/hadoop/sbin/start-all.sh WordCount测试(先cd一次退回到主目录)