#System Preparation#
-
Download and install WAMPSERVER to install Apache and PHP(32 bit for example). if you met install exception on missing "MSVCR110.dll is missing", you can fix this by refering to http://forum.wampserver.com/read.php?2,123608
-
Add following modules in Apache with WAMPSERVER:
- expires_module
- headers_module
- rewrite_module
- Add following modules in PHP with WAMPSERVER:
- php_gd2
- php_zip(no need)
- php_curl
- zlib output compression (in settings)
-
Restart WAMPSERVER. Link to localhost:80 to check if it works.
-
Download following tools and make them available in the path for video and jpeg analysis:
#Web Server Configuration#
-
Download and unzip WebPagetest Private Instances archive. Two folders will be used: www and agent.
-
Configure Apache in httpd.conf, add following configuration (you can define the path /var/www/webpagetest by yourself).
<Directory "/var/www/webpagetest">
AllowOverride all
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
DocumentRoot /var/www/webpagetest
</VirtualHost>
-
Set upload_max_filesize and post_max_size to large values(10M should be enough) in php.ini.
-
Restart WAMPSERVER.
-
Copy the files under the www folder in the archive to the DocumentRoot location (e.g. /var/www/webpagetest).
-
Make a copy of all of the .sample files (removing the .sample extension) under the settings folder.
-
Define agent locations by editing locations.ini under the setting folder. Note that the first browser of the default location will be used in Visual Comparison.
#Test Machine Configuration#
-
Copy the files under the agent folder to your agent path (e.g. "C:\WPTAgent").
-
Install AVISynth from the installer in the agent folder, which is necessary for creating videos.
-
Install the DUMMYNET ipfw driver
-
(only for those installing on 64-bit Windows) Right-click on "testmode.cmd" in the C:\WPTAgent\dummynet\64bit folder and "Run as Administrator". Reboot the system to enable testmode.
-
(depending on your OS) Copy the files from either the C:\WPTAgent\dummynet\32bit or C:\WPTAgent\dummynet\64bit directory into the C:\WPTAgent\dummynet directory
-
Open the properties for the Network Adapter that is used to access the Internet. Normally it is Local Area Connection in the path *Control Panel\Network and Internet\Network and Sharing Center*
-
Click "Install"
-
Select "Service" and click "Add"
-
Click "Have Disk" and navigate to C:\WPTAgent\dummynet
-
Select the ipfw+dummynet service (and click through any warnings about the driver being unsigned)
-
#WPTDriver Configuration# (for running test on Chrome and Firefox)
-
Create a shortcut to C:\WPTAgent\wptdriver.exe on the Desktop.
-
Make a copy of wptdriver.init.sample and removing the .sample extension.
-
Configure WPTDriver by editing wptdriver.ini.
-
After manually installing Chrome and Firefox, make sure the path to the browser executables are correct
-
Remove or comment installer=... entry for each of the browsers you've manually installed
-
(only if you've modified configurations in locations.ini when configuring Web Server) Configure the location and the location key to match those defined in locations.ini on the server
-
-
Reboot the system
#Install Chrome Frame (Deprecated)#
Download and install Chrome Frame.
#How to upgrade the WPT private instance:#
Preparation:
- Download the lastest WPT zip file and extract to local Disk
Config WPT Agent:
2-1) Copy C:\WPT\webpagetest_2.15\agent and paste to C:\WPTAgent\
2-2) Edit or Paste original version of wptdriver.ini
2-3) Copy all files from C:\WPTAgent\dummynet\64bit to C:\WPTAgent\dummynet\ (For example, Based on 64bit OS)
Config WPT Server:
3-1) Copy all files from C:\WPT\webpagetest_2.15\www\ and paste them to C:\WPTServer\www\webpagetest\
3-2) Go to "settings" folder and Edit/paste original version of all *.sample files
3-3) Copy and paste C:\WPTServer\exiftool , C:\WPTServer\ffmpeg, C:\WPTServer\jpegtran
3-4) Reboot the system and run the WPTdriver shotcut to start your test!
#How to make RDP window session never expired(fix black video captured)# #How to fix the black screen when you minimize your RDP#
Appd: An old post for setting up the private instance from WPT expert, take a reference: http://andydavies.me/blog/2012/09/18/how-to-create-an-all-in-one-webpagetest-private-instance/