Board logo

标题: Vmware player15安装CentOS8自动识别为CentOS5及更早的解决办法 [打印本页]

作者: linda    时间: 2020-8-25 15:57     标题: Vmware player15安装CentOS8自动识别为CentOS5及更早的解决办法

Vmware player15不认识CentOS8,会自动识别为 "CentOS version 5 or earlier 64 bit detected",并做"Easy Install" ,导致"Pane is dead",无法安装。

解决办法:
停止虚拟机,编辑虚拟机,删除autoinst.iso CD/DVD硬件,重启
或者在创建时,取消勾选“启动虚拟机”,再编辑虚拟机,删除autoinst.iso CD/DVD硬件

下载的ISO文件:http://linux.mirrors.es.net/centos/8.2.2004/isos/x86_64/CentOS-8.2.2004-x86_64-minimal.iso

参考:
https://forums.centos.org/viewtopic.php?t=72037

---------
安装时没有设置网络,且软件包选择最小化,就没有ifconfig、netstat、route命令,启动后没有网络,必须手工设置网络:

1、设置网卡IP地址、缺省路由、DNS解析服务器:
ip link set dev ens33 up
ip a add 192.168.1.38/24 dev ens33
ip r add 0.0.0.0/0 via 192.168.1.1
echo "nameserver 223.6.6.6" > /etc/resolv.conf

2、安装ifconfig、arp、telnet、netstat、whois命令:
yum -y install net-tools
yum -y install telnet

3、停止firwalld(或者在修改sshd端口后添加端口):
systemctl stop firewalld
systemctl disable firewalld

4、修改sshd端口:
vi /etc/ssh/sshd_config
systemctl restart sshd


5、永久设置网卡参数:
vi /etc/sysconfig/network-scripts/ifcfg-ens33
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.38
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=223.6.6.6

配置生效:
systemctl start NetworkManager 或
nmcli c reload

以下命令不行,显示“Failed to restart network.service: Unit network.service not found.”:
service network restart
/etc/init.d/network restart
systemctl restart network


参考:
https://www.jianshu.com/p/c937278418f9
https://zhuanlan.zhihu.com/p/145800114
https://www.cyberciti.biz/faq/howto-linux-configuring-default-route-with-ipcommand/
https://www.thegeekdiary.com/5-useful-examples-of-firewall-cmd-command/
https://www.golinuxcloud.com/unit-network-service-not-found-rhel-8-linux/#
https://www.cnblogs.com/leozhanggg/p/11772251.html

[ 本帖最后由 linda 于 2020-8-26 17:50 编辑 ]




欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0