下載一個軟件安裝:linux
等待自動安裝完成docker
配置系統語言:centos
配置系統時間:網絡
配置系統鍵盤:tcp
語言支持:spa
默認自動使用安裝源:.net
配置軟件環境,須要及時添加的軟件,這裏我開啓圖形界面GUI:這裏勾上,就默認啓動圖形界面。3d
配置安裝目標位置:rest
配置kdump:code
配置網絡:查看VMware的默認路由(DNS)以及網關:
在Window的cmd中輸入: ipconfig -all
要是在mac系統中是輸入:ifconfig 命令。
配置網絡:
點擊安裝:
須要配置root密碼(root123),用戶密碼能夠不配置
再配置一個用戶:(wyt root123)
安裝完畢後,重啓.
安裝完成(用戶名root密碼root123)
自定義安裝參考:https://www.jb51.net/article/108088.htm
安裝完成後自動開放SSH
yum install -y vsftpd
systemctl enable vsftpd
systemctl start vsftpd.service
firewall-cmd --zone=public --add-port=21/tcp --permanent (永久添加tcp 21端口) firewall-cmd --permanent --zone=public --add-service=ftp (添加ftp服務) firewall-cmd --reload (重啓防火牆)
firewall-cmd --state(查看防火牆狀態)
systemctl stop firewalld.service(關閉防火牆)
systemctl disable firewalld.service(禁止開機自啓防火牆)
systemctl start vsftpd //restart 重啓 stop中止 service vsftpd status//查看狀態
而後就能夠用wyt root123 登陸ftp了(注意 root沒法鏈接ftp)
docker安裝官方說明:https://docs.docker.com/install/linux/docker-ee/centos/#install-from-the-repository
Docker 要求 CentOS 系統的內核版本高於 3.10 ,查看本頁面的前提條件來驗證你的CentOS 版本是否支持 Docker 。
經過 uname -r 命令查看你當前的內核版本
Docker 軟件包和依賴包已經包含在默認的 CentOS-Extras 軟件源裏,安裝命令以下:
yum -y install docker
docker version
service docker start
systemctl start docker.service
ps aux | grep docker
sudo systemctl enable docker
docker version
有client和service兩部分表示docker安裝啓動都成功了