admin 發表於 2023-9-23 09:11:34

vmware 35g copy 需修改處

longine with root
(1) /etc/hosts
(2)/etc/sysconfig/network
(3)/etc/sysconfig/network-scripts/ifcfg-eth0
(4)/informix/etc/sqlhosts

---etc/hosts----------------------------------------------
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.2.51    komin1


<div>-/etc/sysconfig/network----</div><div>
</div><div>NETWORKING=yes</div><div>NETWORKING_IPV6=no</div><div>#HOSTNAME=localhost.localdomain</div><div>HOSTNAME=komin1</div>-----/etc/sysconfig/network/ifcfg-eth0------------------
# Advanced Micro Devices 79c970
# Advanced Micro Devices 79c970
DEVICE=eth0
BOOTPROTO=none
#BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:76:6e:89
NETMASK=255.255.255.0
IPADDR=192.168.1.51
GATEWAY=192.168.1.1
DNS2=192.168.1.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
#PEERDNS=yes
PEERDNS=no-/etc/sysconfig/network-scripts/--------------------------------------------
#ifup    eth0
#ifdwoneth0

or
/etc/init.d/network stop(start/restart)

<div>~----#/etc/services--------------</div><div>#</div><div>ids_tcp         1022/tcp                        # informix -komin1</div><div>--------------------------------------</div><div>vi /informix/etc/sqlhosts</div><div>demo_on onipcshm      on_hostname   on_servername</div><div>ids2   onsoctcp       komin1ids_tcp</div>
ps1 vaware use "Bridged"   & bridged to selectnetcard (use staticip 192.168.1.50)   
ps2 vaware use "Bridged"   & bridged to selectmicrosoft KM-TEST lookback adapter(use static ip)without network .ps3.the option to Synchronize guest time with host is set under VM Settings -> VM Options -> VM Tools.
ps4. to Enable Shared Folder in VMware: VM > Settings… Navigate to Options > Shared Folders tab (查看共享資料夾。在Linux客體中,共用資料夾位於 /mnt/hgfs 下。)

頁: [1]
查看完整版本: vmware 35g copy 需修改處