7

玩转集群服务器 之 Centos 7 虚拟机快速安装及安装后无法查看到ip地址的解决

 3 years ago
source link: https://blog.csdn.net/Beyond_Nothing/article/details/115419671
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

玩转集群服务器 之 Centos 7 虚拟机快速安装及安装后无法查看到ip地址的解决





VMware 安装Centos 7

1. 下载centos 7 镜像

2. 进行安装



选择第一项: 安装 install 默认即可: 等待进度条完成

3. 查看ip地址 (ip addr)



解决无法查看ip地址问题

执行以下命令

执行命令 cd /etc/sysconfig/network-scripts/

执行命令 ll



执行命令 vi ifcfg-ens33



执行命令 service network restart 重启网卡服务



使用远程工具测试连接



============================================================

为了方便后续内外网互通, 这里就可以直接关闭centos的防火墙

依次输入以下命令

1 systemctl status firewalld.service 查看防火墙状态



2 systemctl stop firewalld.service 停止防火墙服务

3 systemctl status firewalld.service 查看防火墙状态



4 systemctl disable firewalld.service 永久关闭



本篇文章主要介绍了VMware安装Centos7超详细过程

打开VMware选择新建虚拟机

VMware硬件配置 典型安装与自定义安装 典型安装:VMwear会将主流的配置应用在虚拟机的操作系统上,对于新手来很友好。 自定义安装:自定义安装可以针对性的把一些资源加强,把不需要的资源移除。避免资源的浪费。 这里我选择自定义安装

虚拟机兼容性选择 这里要注意兼容性,如果是VMwear12创建的虚拟机复制到VM11、10或者更低的版本会出现一不兼容的现象。如果是用VMwear10创建的虚拟机在VMwear


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK