There are several ways you can edit the settings of your NIC via the command line. All changes take effect right away. You can pass new configuration data directly by the command prompt or by editing the actual file responsible for the active NIC. The first method is temporary because in a case of a reboot the machine may get a new IP from the DHCP server. The second method ensure that the changes are permanent.
In previous versions users had to access directly the ESXi server in order to re-configure configuration files to enable services that VMware did not want to support. However in ESXi5 these services can be enabled/disabled by using the vSphere Client. It is very simple.
The “sudo” command allows to run programs under root privileges or under the privileges of another user. This is done in order to avoid logging in as root each time you want to execute a program that requires elevated privileges. With sudo for example you can assign user “george” to run a specific set of commands. User “george” will need to enter his own password to execute those commands. In other words user “george” is not logging in as root. The “sudo” command is very useful because you can create groups of users and actual groups that run a specific set of commands and another set of users/groups that run another set of commands. In no point any of these users will access the root account when “sudo” is setup.
In this tutorial we will add a computer to our newly created domain. There are some configuration changes that need to be made on the machine that we will add on the domain. This change basically is to point the DNS away from your router and point to your new DNS which is the actual server we are setting up. This will be the only way the machine will know where to look for the Domain…..and lets get started.
Before this starts you may wonder what is an Active Directory in which case I will quote Wikipedia and say:
“Active Directory serves as a central location for network administration and security. It is responsible for authenticating and authorizing all users and computers within a network of Windows domain type, assigning and enforcing security policies for all computers in a network and installing or updating software on network computers. For example, when a userlogs into a computer that is part of a Windows domain, it is Active Directory that verifies his or her password and specifies whether he or she is a system administrator or normal user”. http://en.wikipedia.org/wiki/Active_Directory
If you wish to obtain more information you can go directly to the source which is Microsoft and obtain more information .
Having said that let us proceed with the tutorial.