RedHat install VMware Server 2.0

Source: Internet
Author: User
Tags vmware server
1. Download the installation package

The process of installing VMware Server is simple, and the installation packages rpmand tar.gz are added. Download the installation package from the VMware official website and register the free license. Although vmwareserver 2. X still provides free license, but requires serial number to complete installation. On the download page, click the link to obtain the license and an email notification will be sent, in addition, the download page displays a group of Windows serial numbers and a group of LINUX serial numbers.

Https://www.vmware.com/

VMware Server 2 forlinux AAM0N-FF00U-U9HC2-42194

VMware Server 2 forwindows A2084-F6J0Y-VAJF0-40NV4

License information

Component

License keys

VMware Server for Windows

A0N6J-FPLDH-VF5G0-42K0H

VMware Server for Linux

A2J61-FMLF2-U8H9Q-4AP1J

2. Preparations before installation

The installation environment is as follows:

[Root @ xml-ora1 ~] # Cat/etc/RedHat-release

Red Hat Enterprise linuxserver release 5.5 (tikanga)

[Root @ xml-ora1 ~] # Uname-

Linux xml-ora1 2.6.18-194. EL5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

 

Check the installation package:

[Oracle @ xml-ora1 software] $ rpm-Q -- qf' % {name}-% {version}-% {release}
(% {Arch}) \ n' GCC gcc-C ++ kernel-develkernel-headers libxtst-devel libxrender-devel xinetd

Gcc-4.1.2-48.el5 (x86_64)

Gcc-C ++-4.1.2-48. EL5 (x86_64)

Kernel-2.6.18-194.el5 (x86_64)

Package kernel-devel is notinstalled

Kernel-headers-2.6.18-194.el5 (x86_64)

Package libxtst-devel is notinstalled

Package libxrender-devel isnot installed

Package xinetd is notinstalled

[Root @ xml-ora1 software] # rpm-ivhkernel-devel-2.6.18-194.el5.x86_64.rpm

Warning: kernel-devel-2.6.18-194.el5.x86_64.rpm: Header V3 DSA Signature: nokey, key id37017186

Preparing... ######################################## ### [100%]

1: kernel-devel ##################################### ###### [100%]

[Root @ xml-ora1 software] # rpm-ivhlibXtst-devel-1.0.1-3.1 .*

Warning: libXtst-devel-1.0.1-3.1.i386.rpm: Header V3 DSA Signature: nokey, key id37017186

Preparing... ######################################## ### [100%]

1: libxtst-devel ##################################### ###### [50%]

2: libxtst-devel ##################################### ###### [100%]

[Root @ xml-ora1 software] # rpm-ivhlibXrender-devel-0.9.1-3.1 .*

Warning: libXrender-devel-0.9.1-3.1.i386.rpm: Header V3 DSA Signature: nokey, key id37017186

Preparing... ######################################## ### [100%]

1: libxrender-devel ##################################### ###### [50%]

2: libxrender-devel ##################################### ###### [100%]

[Root @ xml-ora1 software] # rpm-ivhxinetd-2.3.14-10.el5.x86_64.rpm

Warning: xinetd-2.3.14-10.el5.x86_64.rpm: Header V3 DSA Signature: nokey, key id37017186

Preparing... ######################################## ### [100%]

1: xinetd ####################################### #### [100%]

[Root @ xml-ora1 software] # rpm-Q -- qf' % {name}-% {version}-% {release}
(% {Arch}) \ n' GCC gcc-C ++ kernel-develkernel-headers libxtst-devel libxrender-devel xinetd

Gcc-4.1.2-48.el5 (x86_64)

Gcc-C ++-4.1.2-48. EL5 (x86_64)

Kernel-2.6.18-194.el5 (x86_64)

Kernel-devel-2.6.18-194.el5 (x86_64)

Kernel-headers-2.6.18-194.el5 (x86_64)

LibXtst-devel-1.0.1-3.1 (x86_64)

LibXtst-devel-1.0.1-3.1 (i386)

LibXrender-devel-0.9.1-3.1 (x86_64)

LibXrender-devel-0.9.1-3.1 (i386)

Xinetd-2.3.14-10.el5 (x86_64)

3. Install VMware with RPM

Copy vmware-server-. i386.rpm to the host and execute RPM installation.

[Root @ xml-ora1 software] # rpm-ivhVMware-server-2.0.2-203138.x86_64.rpm

Preparing... ######################################## ### [100%]

1: vmware-server ##################################### ###### [100%]

 

The installation of vmwareserver 2.0.2 for Linux completed successfully.

You can decide to remove thissoftware from your system at any time

Invoking the followingcommand: "rpm-e vmware-server ".

 

Before Running VMware serverfor the first time, you need

Configure it for your runningkernel by invoking

Following command: "/usr/bin/vmware-config.pl ".

 

Enjoy,

-- The VMware team

Install VMware in the 42.16tar.gz package

Decompress the package and generate the vmware-server-distrib folder.

[Root @ xml-ora1 software] # tar-zxvf VMware-server-2.0.2-203138.x86_64.tar.gz

Go to the extract directory and run the vmware-install.pl

[Root @ xml-ora1software] # cdvmware-server-distrib

[Root @ xml-ora1software] #./vmware-install.pl

5. Configure Vmware

[Root @ xml-ora1 ~] #
/Usr/bin/vmware-config.pl

Making sure services forvmware server are stopped.

Stopping VMware autostartvirtual machines:

Virtual machines [failed]

Stopping VMware managementservices:

VMWare virtual infrastructure Web Access

VMware Server Host agent [failed]

Stopping VMware services:

VMware authentication daemon [OK]

Virtual Machine monitor [OK]

Read License Agreement

You must read and accept theend User License Agreement to continue.

Press enter to display it.

.......

Do you accept? (Yes/No) Yes

Thank you.

Thebld-2.6.18-8.el5-x86_64smp-RHEL5-vmmon module loads perfectly into

Running kernel.

Thebld-2.6.18-8.el5-x86_64smp-RHEL5-VMCI module loads perfectly into

Running kernel.

The bld-2.6.18-8.el5-x86_64smp-RHEL5-vsock module loads perfectly into

Running kernel.

Whether to configure the network. Use the default value. Press enter by default.

Do you want networking for your virtual machines? (Yes/No/help) [Yes]

Configure the name of the three network connections. The default value is enough.

Refreshing ing a bridged networkfor vmnet0.

Please specify a name for thisnetwork.[Bridged]

Your computer has multipleethernet network interfaces available: eth0, eth1, usb0.which one do you wantto bridge to vmnet0?
[Eth0]

The following bridged networkshave been defined:

. Vmnet0 is bridged to eth0

Do you wish to configure another bridged network? (Yes/No) [no]

Do you want to be able to use NAT networking in your virtualmachines? (Yes/No) [Yes]

Ing a NAT network forvmnet8.

Please specify a name for this network. [Nat]

Do you want this program to probe for an unused private subnet? (Yes/No/help) [Yes]

Probing for an unused privatesubnet (this can take some time )...

The subnet 172.16.202.0/255.255.255.0appears to be unused.

The following Nat networkshave been defined:

. Vmnet8 is a NAT network onprivate subnet 172.16.202.0.

Do you wish to configure another Nat network? (Yes/No) [no]

Do you want to be able to use host-only networking in your virtualmachines? [Yes]

Ing a host-onlynetwork for vmnet1.

Please specify a name for this network. [hostonly]

Do you want this program to probe for an unused private subnet? (Yes/No/help) [Yes]

Probing for an unused privatesubnet (this can take some time )...

The subnet 192.168.193.0/255.255.255.0appears to be unused.

The following host-onlynetworks have been defined:

. Vmnet1 is a host-onlynetwork on private subnet 192.168.193.0.

Do you wish to configure another host-only network? (Yes/No) [no]

-Vmnet module loads perfectly into the runningkernel.

Remote connection Port

Please specify a port for remote connections to use [1, 902]

Specify the http port used by the web access interface, after installation is complete, you can go through the http://www.xxx.com: 8222
To access the Web management interface of VMware Server, you need to open the TCP protocol for this port in the firewall

Please specify a port forstandard HTTP connections to use [8222]

Please specify a port forsecure HTTP (https) connections to use [8333]

Log on to the administrator account of VMware-server and specify an existing account in the system. No indicates that the root account is used.

The current administrativeuser for VMware Server is ''. wocould you like to specify a differentadministrator?[No] Yes

Please specify the user whomyou wish to be the VMware Server administrator

 Root

Using root as the vmwareserver administrator.

Directory where the VM is stored

In which directory do you wantto keep your virtual machine files?

[/Var/lib/vmware/virtual machines]
/U01/APP/Vmware

 

Enter the serial number that will be obtained in the activation email when you register VMware.

Please enter your 20-characterserial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'enter' to cancel:A2J61-FMLF2-U8H9Q-4AP1J

Creating a New VMware VIX apiinstaller database using the tar4 format.

Select VMware VIX apibinary files
The installation location. When you need to write scripts to manage your virtual machines, you can call the VMware vix api in the script, complete routine operations such as starting, disabling, and backing up virtual machines. For details, refer to VMware VIX API
By default.

Installing VMware vix api.

In which directory do you wantto install the VMware vix api binary files?

 [/Usr/bin]

Select VMware VIX apilibrary files
Installation location

In which directory do you wantto install the VMware vix api library files?

[/Usr/lib/vmware-vix/lib]

Whether to automatically create VMware vixapi library files
Installation Directory

The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is goingto create it, including needed parent directories. Is this what you want?

[Yes]

VMware VIX API
File Installation location

In which directory do you wantto install the VMware vix api document pages?

[/Usr/share/doc/vmware-vix]

Whether to automatically create VMware vixapi
Document installation directory

The path "/usr/share/doc/vmware-vix" does not exist currently. This program is going to create it, including neededparent directories. Is this what you want?

[Yes]

Vmwarevix API installation completed by/usr/bin/vmware-uninstall-vix.pl
Unmount, You can first use/usr/bin/vmware-uninstall-vix.pl
Uninstall vix api, and then use RPM to uninstall VMware Server

The installation of VMware vixapi 1.6.2 build-203138 for Linux completed successfully. You can decide toremove this software from your system at any time by invoking the followingcommand: "/usr/bin/vmware-uninstall-vix.pl ".

Enjoy,

-- The VMware team

Starting VMware services:

Virtual Machine monitor [OK]

Virtual Machine communicationinterface [OK]

VM Communication Interface socketfamily: [OK]

Virtual ethernet [OK]

Bridged networking on/dev/vmnet0 [OK]

Host-only networking on/dev/vmnet1 (background) [OK]

DHCP server on/dev/vmnet1 [OK]

Host-only networking on/dev/vmnet8 (background) [OK]

DHCP server on/dev/vmnet8 [OK]

NAT service on/dev/vmnet8 [OK]

VMware Server authentication daemon (background) [OK]

Shared memory available [OK]

Starting VMware managementservices:

VMware Server Host agent (background) [OK]

VMWare virtual infrastructure Web Access

Starting VMware autostartvirtual machines:

Virtual machines [OK]

The configuration of VMware Server 2.0.2build-203138 for Linux for this running kernel completed successfully.

6. VMWare management 6.1 VMware is stopped

Start and Stop VMware services

[Root @ xml-ora1 ~] # Service VMware start

[Root @ xml-ora1 ~] # Service VMware stop

6.2 Web console access

Web-Access access URL:

Https: // ip: 8333/UI/

We recommend that you use HTTPS. VMWare believes that HTTP can also be accessed, but I have never succeeded.

When using Firefox for access, you need to pay attention to the certificate issue. Click "oryo can add exception" to obtain the certificate. After opening the link, you can see the web access logon page:

7. Uninstall Vmware

Vmwarevix API installation is complete,/usr/bin/vmware-uninstall-vix.pl to uninstall, You can first use/usr/bin/vmware-uninstall-vix.pl
Uninstall vix api, and then use RPM to uninstall VMware Server

RPM package uninstall:

[Root @ xml-ora1 ~] #/Usr/bin/vmware-uninstall-vix.pl

[Root @ xml-ora1 ~] # Rpm-e vmware-server *

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.