1) new Virtual Machine
Right-click vCenter or ESX/ESXi host and select New Virtual Machine.
Perform various settings in New Virtual Machine to create Vitual Machine.
After the virtual machine is created, you can right-click the virtual machine and choose edit settings to modify the virtual machine's setting.
Right-click the VM and choose edit settings> Add> Hard Disk to Add a new Hard Disk.
2) upload ubuntu ISO to Datastore
In vShpere client, choose home> inventory> Datastores, select the Datastore to which you want to install Virtual Machine, right-click Browe Datastore, and select upload to upload ubuntu. ISO to Datastore.
3) install OS for New Virtual Machine
Right-click the new Virtual Machine and select Edit Setting.
Select Datastore ISO File under Device Type on Hardware-> CD/DVD Drive 1 to mount the ISO File Uploaded to Datastore to the Virutal Machine DVD.
Select Connect at power on under Device Status on Hardware-> CD/DVD Drive 1.
In Options-> Boot Options, select The next time the virtual machine boots, force entry into the BIOS setup screen.
After you start Virual Machine, you will enter BIOS settings, set it to DVD boot, F10 save and restart.
Install Virtual Machine.
If you have not uploaded ISO to Datastores, you can select the local ISO:
Right-click the VM and choose open console> power on> connect/disconnect the cd/dvd devices of virtual machine> cd/dvd driver 1> connect to image on local disk
You can select either the host device (the machine where the esx host is located) or the client device (the machine where the vshpere client is located) by using a similar method above ).
In the console, press ctrl + atl + insert to restart and start installation.
4) install VM tools for New Virtual Machine
After Virtual Machine is installed, choose console> VM> guest> install vm tools on Virual Machine.
5) install ssh server
Http://www.cnblogs.com/itech/archive/2009/04/17/1438179.html
6) check server ip
Sudo/sbin/ifconfig
7) change root password
Sudo su
Passwd
8) install xinetd
Sudo apt-get install xinetd
9) mount windows share
Sudo apt-get install samba smbclient
Sudo apt-get install smbfssudo mount-t cifs-o username = domain/user, password = pass // ip/login Folder/mnt/XXX
10) install gcc
Sudo apt-get install build-essential
Gcc-v
Make-v
11) install buildforge agent
Copy the source code of the agent after mounting ~, Tar-xvzf xxx.tar.gz to decompress the source code.
Go to src and execute
./Configure -- without-pam
Make
./Bfagent
Quit
Sudo./install. sh
Netstat-anpe | grep 5555 check whether it is running
At this time, bfagent runs under xinetd: configuration file/etc/xinetd. d/bfagent
# Default: on
# Description: The IBM Rational Build Forge Agent service provides remote
# Process control from the IBM Rational Build Forge Management Console
Service bfagent
{
Socket_type = stream
Wait = no
User = root
Server =/usr/local/bin/bfagent
Log_on_success + = HOST DURATION
Log_on_failure + = HOST
Passenv =
Disable = no
}
Http://jazz.net/forums/viewtopic.php? T = 12303
Http://www.dawal.org/index.php/tools-a-products/rationalbuildforge/34
Complete!