Configuring a Server with an ISO Image (CentOS6) Installed

Leave your reply

Learn how to install the VMWare Tools and how to allow Remote Desktop connections after you have installed the ISO image.

Prerequisites:

  • You have already installed CentOS6.
  • You are in the Cloud Panel, section Infrastructure > Servers.

The VMware Tools is a set of utilities that you can install into the server's operating system. Install the VMware Tools to ensure the proper operation of your server.

Note:

If you have not configured the server yet, you can access it only using the KVM console.

To install the VMWare Tools:
  • Activate the desired server.
  • Click DVD Drive.
selecting_a_dvd_centos
  • In the Applications tab, select the VMWare Tools Linux DVD.
  • Click Load DVD.
  • Click Actions > Start KVM Console. The KVM console opens in a new tab.
  • Click Send Ctrl+Alt+Del.
  • Log in with the following information:

    localhost login: root
    Password: the password of your choice

    You will log in to the server.
  • Optional: If the graphical interface of CentOS6 appears, then open the terminal. To open the terminal, click Applications > System Tools > Terminal.
  • Enter the command mkdir /mnt/dvd.
  • Enter the command mount /dev/sr0 /mnt/dvd.
    The DVD will be mounted.
  • To extract the archive, enter the command tar -xzf /mnt/dvd/VMwareTools-9.4.10-2068191.tar.gz -C/tmp.
  • To call the install script and install the tools with the default specifications, enter the command /tmp/vmware-tools-distrib/vmware-install.pl .
    The message In which directory do you want to install the binary files? [/usr/bin] appears.
  • Press Enter.
    The message "What is the directory that contains the init directories (rc0.d/ to rc6.d/)? appears.
  • Press Enter.
    The message What is the directory that contains the init scripts? [/etc/init.d]" appears.
  • Press Enter.
    The message In which directory do you want to install the deamon files? [/usr/sbin] appears.
  • Press Enter.
    The message In which directory do you want to install the library files? [/usr/lib/vmware-tools] appears.
  • Press Enter.
    The message The path "/usr/lib/vmware-tools" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? appears.
  • Enter yes and press Enter.
    The message In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] appears.
  • Press Enter.
    The message The path "/usr/share/doc/vmware-tools" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? appears.
  • Enter yes and press Enter.
    The message Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl" Do you want this program to invoke the command for you now? appears.
  • Enter yes and press Enter.
    The message The VMware Host-Guest Filesystem allows for shared folders between the host OS and the guest OS in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [no] appears.
  • Enter no and press Enter.
    The message The vmblock enables dragging or copying files between host and guest in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [no] appears.
  • Enter no and press Enter.
    The message Would you like to enable VMware automatic kernel modules?[no] appears.
  • Enter no and press Enter.

The VMware Tools will be installed.

CentOS configures the network interface correctly via DHCP, but sets the parameter ONBOOT=no if you do not activate the Connect Automatically option under Configure Network (for the eth0 interface) during the installation. When setting the parameter ONBOOT=no, the network will not be activated after the subsequent restart. In this case, the server can only be accessed using the KVM console. To change the onboot parameter after completing the installation, proceed as follows:

  • Open the editor.
  • Open /etc/sysconfig/network-scripts/ifcfg-eth0.
  • Change the parameter ONBOOT=no as follows:
    ONBOOT=yes

Note: The following step is required only if the CentOS6 graphical interface is displayed:

  • Click Save.

Note: The following step is required only if the CentOS6 graphical interface is displayed:

  • Click Applications > System Tools > Terminal.
  • To activate the interface, enter the following command: [root@localhost /]# ifup eth0