首页 > Linux操作系统 > Linux操作系统 > 个人电脑虚拟机连接配置
以下VMware Workstation9.0 上安装 linux 4.8 32bit和oracle 10 r2 32bit
1,本机配置
打开虚拟机 virtual network editor 选择VMnet1 下面选择Host_only 同时把下面的两个方筐勾选.在subnet ip 192.168.174.0 subnet mask 255.255.255.0
2,在虚拟机的网络选择 host_only 然后进入虚拟机的linux 系统配置网络 为192.168.174.128/255.255.255.0 ,再重新启动网络service network restart
3,在/etc/xinetd.d/telnet 中disable=no 重启服务 service xinetd restart
4,hosts 和网络配置如下
[oracle@weidb sysconfig]$ cat network
NETWORKING=yes
HOSTNAME=weidb
[oracle@weidb admin]$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.169.174.128 weidb
5,关闭防火墙
iptables stop/chkconfig iptables off
6,测试 ,虚拟机上ping 192.168.174.1本机ping 192.168.174.128如果都通了说明OK
祝你好运.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/15187685/viewspace-755695/ ,如需转载,请注明出处,否则将追究法律责任。