VirtualBox

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

最後變更 在這個檔案從68181是 68181,由 vboxsync 提交於 7 年 前

TestExecService: switched installation location from /root/ to /opt/ on linux to make selinux happy.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 3.9 KB
 
1$Id: vboxtxs-readme.txt 68181 2017-07-30 10:15:22Z 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 /opt/validationkit/
335. cd /etc/init.d/
346a. init.rc: Link up the right init script (see connection type above):
35 nat) ln -s ../../opt/validationkit/linux/vboxtxs-nat ./vboxtxs
36 other) ln -s ../../opt/validationkit/linux/vboxtxs ./vboxtxs
376b. systemd: Link/copy up the vboxtxs.system to [/usr]/lib/systemd/.
387a. init.rc: Add vboxtxs to runlevels 2, 3, 5 and any other that makes sense
39 on the distro. There is usually some command for doing this...
407b: systemd: Enable the vboxtxs service.
418. Check the cdrom location in vboxtxs and fix it so it's correct, make sure
42 to update in svn as well.
439. reboot / done.
44
45
46OS/2 Installation
47--------------------
48
491. Start an "OS/2 Window" ("OS/2 System" -> "Command Prompts")
502. md C:\Apps
513. cd C:\Apps
524. Mount the validationkit iso.
535. copy D:\os2\x86\* C:\Apps
545. copy D:\os2\x86\libc*.dll C:\OS2\DLL\
556. Open C:\startup.cmd in an editor (tedit.exe for instance or e.exe).
567. Add the line "start /C C:\Apps\TestExecService.exe --foreground" at the top of the file.
578. reboot / done
589. Do test.
59
60
61Solaris Installation
62--------------------
63
641. Start the guest and open a root console.
652. mkdir -p /opt/VBoxTest
663. cd /opt/VBoxTest
674. scp/download VBoxValidationKit*.zip there.
685. unzip VBoxValidationKit*.zip
696. chmod -R u+w,a+x /opt/VBoxTest/
707. Import the right service setup depending on the Solaris version:
71 <= 10u9) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs-sol10.xml
72 >= 11.0) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs.xml
738. /usr/sbin/svcadm enable svc:/system/virtualbox/vboxtxs
749. reboot / done.
75
76To remove the service before repeating steps 7 & 8:
771. /usr/sbin/svcadm disable -s svc:/system/virtualbox/vboxtxs:default
782. /usr/sbin/svccfg delete svc:/system/virtualbox/vboxtxs:default
79
80Note. To configure dhcp for more a new interface the files
81/etc/hostname.<if#X> and /etc/dhcp.<ifnm#> have to exist. If you want the VM
82to work with any network card you throw at it, create /etc/*.pcn[01] and
83/etc/*.e1000g[012] as Solaris will remember it has seen the other variants
84before and use a different instance number (or something to that effect).
85
86
87Windows Installation
88--------------------
89
901. Log on as Administrator.
912. Set password to 'password'.
923. Start CMD.EXE or equivalent.
934. md C:\Apps
945. cd C:\Apps
956. Mount the validationkit iso.
967. copy D:\win\* C:\Apps
978. copy D:\win\<x86 or amd64>\* C:\Apps
989. Import the right service setup (see connection type above):
99 nat) start C:\Apps\vboxtxs-nat.reg
100 other) start C:\Apps\vboxtxs.reg
10111. reboot / done
10212. Do test.
103
104
105Testing the setup
106-----------------
107
1081. Make sure the validationkit.iso is inserted.
1092. Boot / reboot the guest.
1103. Depending on the TXS transport options:
111 nat) python testdrivers/tst-txsclient --reversed-setup
112 other) python testdrivers/tst-txsclient --hostname <guest-ip>
113
114
115
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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