Difference between revisions of "Installation (Ubuntu)"

Jump to navigation Jump to search
→‎Change IP Address: Updated /etc/resolv.conf section
m (→‎VM Tools CD: Minor updates)
(→‎Change IP Address: Updated /etc/resolv.conf section)
Line 116: Line 116:
         gateway 192.168.1.1
         gateway 192.168.1.1
</pre>
</pre>
* Then check the local hosts file <code> /etc/hosts </code>, so that the IP v4 part looks like this (so the host can resolve itself)...
* Then check the local hosts file <code>/etc/hosts</code>, so that the IP v4 part looks like this (so the host can resolve itself)...
<pre>
<pre>
127.0.0.1      localhost
127.0.0.1      localhost
192.168.1.150  hostname.domain.com  hostname
192.168.1.150  hostname.domain.com  hostname
</pre>
</pre>
* Check that DNS resolution is setup correctly in <code>/etc/resolv.conf</code>.  Add additional DNS nameservers as required, as found in in order of pref, for example...
* Check that DNS resolution is setup correctly in <code>/etc/resolv.conf</code>.  Add additional DNS nameservers as required, as found in in order of preference.  You can also add the domain of the server (<code>domain</code>), and add domain suffix searches (<code>search</code>), both are optional.  For example...
  nameserver 192.168.1.20
  nameserver 192.168.1.20
  nameserver 127.0.0.1
  nameserver 127.0.0.1
domain domain.com
search domain.com
search anotherdomain.com


* Then restart networking
* Then restart networking

Navigation menu