OpenNetGuru

Saturday, May 19th

Last update:12:30:26 PM GMT

You are here: Network and Security install ubuntu server in Vmware

install ubuntu server in Vmware

E-mail Print PDF

1) Install VM as per users spec in new Virtual center
2) after login edit the following file sudo vi etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static # change here dhcp to static
address 172.16.183.XX  # ip address of the machine
netmask 255.255.255.0  # network mask
gateway 172.16.183.2   # Gateway of the machine

 


3) change the hostname

sudo vi /etc/hosts

chandra@jump-server:~$ cat /etc/hosts
127.0.0.1       localhost
127.0.1.1       jump-server # change or verify the hostname

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters



4) verify the hostname: sudo vi /etc/hostname

5) Verify DNS entry: sudo vi /etc/resolv.conf

nameserver 165.21.100.88
nameserver x.x.x.x
nameserver x.x.x.x


6) once all done reboot the machine: sudo init 6