WebPagetest Forums
Linux Webpagetest Tutorial? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Linux Webpagetest Tutorial? (/showthread.php?tid=13411)



Linux Webpagetest Tutorial? - demin - 11-27-2014 06:31 PM

Hello,

give it any tutorials how to deploy Webpagetest on Linux
like: http://blog.fasterize.com/guide-for-the-installation-of-a-webpagetest-agent-on/ or http://andydavies.me/blog/2012/09/18/how-to-create-an-all-in-one-webpagetest-private-instance/?


RE: Linux Webpagetest Tutorial? - demin - 11-27-2014 09:51 PM

OK I get it:
http://blog.shivom.co.uk/install-webpagetest-private-instance-for-ubuntu-12-04-lts/
And here is a bash-file for deployement of webpagetest:
Code:
#!/bin/bash

apt-get update -y
apt-get install apache2 -y
apt-get install php5 libapache2-mod-php5 -y

/etc/init.d/apache2 restart

apt-get install php5-gd -y
apt-get install php5-curl -y
apt-get install ffmpeg -y
apt-get install libjpeg-progs -y
apt-get install libimage-exiftool-perl -y

apt-get install unzip -y
wget https://github.com/WPO-Foundation/webpagetest/releases/download/2.13/webpagetest_2.13.zip
mkdir /home/webpagetest
mkdir /home/webpagetest/www
mkdir /home/webpagetest/log


mkdir ~/webpagetest
unzip webpagetest_2.13.zip -d ~/webpagetest

mv ~/webpagetest/www/* /home/webpagetest/www/
rm -f -r ~/webpagetest/

chmod 766 /home/webpagetest/www/tmp
chmod 766 /home/webpagetest/www/results
chmod 766 /home/webpagetest/www/work/jobs
chmod 766 /home/webpagetest/www/work/video
chmod 766 /home/webpagetest/www/logs

rm -r /var/www
ln -s /home/webpagetest/www /var/www