基于docker搭建hadoop集群(一)
期末老师让做课设,最后选择了这个课题 第一步 1.在centos上安装docker 1 . 1 $ sudo yum remove docker \ docker - client \ docker - client - latest \ docker - common \ docker - latest \ docker - latest - logrotate \ docker - logrotate \ docker - engine 1 . 2 $ sudo yum install - y yum - utils \ device - mapper - persistent - data \ lvm2 1 . 3 $ sudo yum - config - manager \ -- add - repo \ https: / / download . docker . com / linux / centos / docker - ce . repo 1 . 4 $ sudo yum install docker - ce docker - ce - cli containerd . io 1 . 5 $ yum list docker - ce -- showduplicates | sort - r 1 . 6 $ sudo yum install docker -