VirtualBox

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

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

Validation Kit/TXS/vboxtxs-readme.txt: Some more hints / additions.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 5.2 KB
 
1$Id: vboxtxs-readme.txt 83938 2020-04-23 07:32:32Z 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. mkdir -p /opt/validationkit
302. scp/download VBoxValidationKit*.zip there.
313. unzip VBoxValidationKit*.zip
324. chmod -R u+w,a+x /opt/validationkit/ && chown -R root.root /opt/
335. cd /etc/init.d/
34
356 a) For init.rc distros:
36 Link up the right init script (see connection type above):
37 nat) ln -s ../../opt/validationkit/linux/vboxtxs-nat ./vboxtxs
38 other) ln -s ../../opt/validationkit/linux/vboxtxs ./vboxtxs
396 b) Add vboxtxs to runlevels 2, 3, 5 and any other that makes sense
40 on the distro. There is usually some command for doing this, e.g.
41 update-rc.d vboxtxs defaults && update-rc.d vboxtxs enable
42
43 ... or ...
44
457 a) For systemd distros: Link/copy up the vboxtxs.system to [/usr]/lib/systemd/, e.g.
46 cp /opt/validationkit/linux/vboxtxs.service /etc/systemd/system
47 b) Enable the vboxtxs service via:
48 systemctl enable vboxtxs
49
50 For all distros again:
51
528a. Check the CD-ROM location (--cdrom <path>) in vboxtxs and fix it so it's correct, make sure
53 to update in svn as well.
548b. Optional: If no suitable CD-ROM location is available on the guest yet, do a:
55 mkdir -p /media/cdrom; vi /etc/fstab
56 and enter this in /etc/fstab:
57 /dev/sr0<tab>/media/cdrom<tab>udf,iso9660<tab>user,noauto,exec,utf8<tab>0<tab>0
588c. Optional: If SELinux denies execution of TXS, make sure to allow this, based on
59 how the distribution handles SELinux exceptions. Often there even is a GUI for that
60 (e.g. Oracle Linux 8+).
619. Make sure that the package sources are still valid and up to date (apt / yum / ++)
6210. reboot / done.
6311. Do test.
64
65
66OS/2 Installation
67--------------------
68
691. Start an "OS/2 Window" ("OS/2 System" -> "Command Prompts")
702. md C:\Apps
713. cd C:\Apps
724. Mount the validationkit iso.
735. copy D:\os2\x86\* C:\Apps
745. copy D:\os2\x86\libc*.dll C:\OS2\DLL\
756. Open C:\startup.cmd in an editor (tedit.exe for instance or e.exe).
767. Add the line "start /C C:\Apps\TestExecService.exe --foreground" at the top of the file.
778. reboot / done
789. Do test.
79
80
81Solaris Installation
82--------------------
83
841. Start the guest and open a root console.
852. mkdir -p /opt/VBoxTest
863. cd /opt/VBoxTest
874. scp/download VBoxValidationKit*.zip there.
885. unzip VBoxValidationKit*.zip
896. chmod -R u+w,a+x /opt/VBoxTest/
907. Import the right service setup depending on the Solaris version:
91 <= 10u9) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs-sol10.xml
92 >= 11.0) /usr/sbin/svccfg import /opt/VBoxTest/validationkit/solaris/vboxtxs.xml
938. /usr/sbin/svcadm enable svc:/system/virtualbox/vboxtxs
949. reboot / done.
95
96To remove the service before repeating steps 7 & 8:
971. /usr/sbin/svcadm disable -s svc:/system/virtualbox/vboxtxs:default
982. /usr/sbin/svccfg delete svc:/system/virtualbox/vboxtxs:default
99
100Note. To configure dhcp for more a new interface the files
101/etc/hostname.<if#X> and /etc/dhcp.<ifnm#> have to exist. If you want the VM
102to work with any network card you throw at it, create /etc/*.pcn[01] and
103/etc/*.e1000g[012] as Solaris will remember it has seen the other variants
104before and use a different instance number (or something to that effect).
105
106
107Windows Installation
108--------------------
109
1101. Log on as Administrator.
1112. Set password to 'password'.
1123. Start CMD.EXE or equivalent.
1134. md C:\Apps
1145. cd C:\Apps
1156. Mount the validationkit iso.
1167. copy D:\win\* C:\Apps
1178. copy D:\win\<x86 or amd64>\* C:\Apps
1189. Import the right service setup (see connection type above):
119 nat) start C:\Apps\vboxtxs-nat.reg
120 other) start C:\Apps\vboxtxs.reg
12111. reboot / done
12212. Do test.
123
124NT 3.1 and 3.x tricks:
125- Make sure the file system is NTFS. Observed issues converting 2GB partitions,
126 more success with smaller.
127- For NT3.1 PCNET drivers can be found on the net. No DHCP, so NAT only with
128 IP 10.0.2.15, 10.0.2.2 as gateway, and 10.0.2.3 as DNS with --natdnsproxy1 on.
129- On NT3.1 you need to add SystemDrive=C: to the environment.
130- Need to perform registry edits manually.
131- Use startup folder instead of non-exising Windows/Run key.
132
133
134Testing the setup
135-----------------
136
1371. Make sure the validationkit.iso is inserted.
1382. Boot / reboot the guest.
1393. Depending on the TXS transport options:
140 nat) python testdriver/tst-txsclient.py --reversed-setup
141 other) python testdriver/tst-txsclient.py --hostname <guest-ip>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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