VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/utils/TestExecServ/vboxtxs-readme.txt@ 65227

最後變更 在這個檔案從65227是 52776,由 vboxsync 提交於 10 年 前

fix OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 3.8 KB
 
1$Id: vboxtxs-readme.txt 52776 2014-09-17 14:51:43Z vboxsync $
2
3
4VirtualBox Test eXecution Service
5=================================
6
7This readme briefly describes how to install the Test eXecution Service (TXS)
8on the various systems.
9
10There are currently two transport options for the TXS:
11
12 - The default is to use it in TCP server mode, i.e. the test script needs
13 to know the guest's IP and therefore requires guest additions to be
14 installed as well. (Please use the latest stable additions compatible with
15 the VBox host versions you intend to test.)
16
17 - The alternative is for NATted setups where TXS will act like a TCP client
18 and try connect to the test script on the host. Since this require that
19 TXS knows which IP to connect to, it's only really possible in a NATted
20 setup where we know the host IP is 10.0.2.2.
21
22Since r85596 TXS operates in both modes by default so the nat version of
23the init scripts is not required anymore. Instead the other type can be installed
24for both cases.
25
26Linux Installation
27------------------
28
291. cd /root
302. scp/download VBoxValidationKit*.zip there.
313. unzip VBoxValidationKit*.zip
324. chmod -R u+w,a+x /root/validationkit/
335. cd /etc/init.d/
346. Link up the right init script (see connection type above):
35 nat) ln -s ../../root/validationkit/linux/vboxtxs-nat ./vboxtxs
36 other) ln -s ../../root/validationkit/linux/vboxtxs ./vboxtxs
377. Add vboxtxs to runlevels 2, 3, 5 and any other that makes sense
38 on the distro. There is usually some command for doing this...
398. Check the cdrom location in vboxtxs and fix it so it's correct, make sure
40 to update in svn as well.
419. reboot / done.
42
43
44OS/2 Installation
45--------------------
46
471. Start an "OS/2 Window" ("OS/2 System" -> "Command Prompts")
482. md C:\Apps
493. cd C:\Apps
504. Mount the validationkit iso.
515. copy D:\os2\x86\* C:\Apps
525. copy D:\os2\x86\libc*.dll C:\OS2\DLL\
536. Open C:\startup.cmd in an editor (tedit.exe for instance or e.exe).
547. Add the line "start /C C:\Apps\TestExecService.exe --foreground" at the top of the file.
558. reboot / done
569. Do test.
57
58
59Solaris Installation
60--------------------
61
621. Start the guest and open a root console.
632. mkdir -p /opt/VBoxTest
643. cd /opt/VBoxTest
654. scp/download VBoxValidationKit*.zip there.
665. unzip VBoxValidationKit*.zip
676. chmod -R u+w,a+x /opt/VBoxTest/
687. Import the right service setup depending on the Solaris version:
69 <= 10u9) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs-sol10.xml
70 >= 11.0) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs.xml
718. /usr/sbin/svcadm enable svc:/system/virtualbox/vboxtxs
729. reboot / done.
73
74To remove the service before repeating steps 7 & 8:
751. /usr/sbin/svcadm disable -s svc:/system/virtualbox/vboxtxs:default
762. /usr/sbin/svccfg delete svc:/system/virtualbox/vboxtxs:default
77
78Note. To configure dhcp for more a new interface the files
79/etc/hostname.<if#X> and /etc/dhcp.<ifnm#> have to exist. If you want the VM
80to work with any network card you throw at it, create /etc/*.pcn[01] and
81/etc/*.e1000g[012] as Solaris will remember it has seen the other variants
82before and use a different instance number (or something to that effect).
83
84
85Windows Installation
86--------------------
87
881. Log on as Administrator.
892. Set password to 'password'.
903. Start CMD.EXE or equivalent.
914. md C:\Apps
925. cd C:\Apps
936. Mount the validationkit iso.
947. copy D:\win\* C:\Apps
958. copy D:\win\<x86 or amd64>\* C:\Apps
969. Import the right service setup (see connection type above):
97 nat) start C:\Apps\vboxtxs-nat.reg
98 other) start C:\Apps\vboxtxs.reg
9911. reboot / done
10012. Do test.
101
102
103Testing the setup
104-----------------
105
1061. Make sure the validationkit.iso is inserted.
1072. Boot / reboot the guest.
1083. Depending on the TXS transport options:
109 nat) python testdrivers/tst-txsclient --reversed-setup
110 other) python testdrivers/tst-txsclient --hostname <guest-ip>
111
112
113
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette