WebPagetest Forums

Full Version: Linux Webpagetest Tutorial?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

give it any tutorials how to deploy Webpagetest on Linux
like: http://blog.fasterize.com/guide-for-the-...-agent-on/ or http://andydavies.me/blog/2012/09/18/how...-instance/?
OK I get it:
And here is a bash-file for deployement of webpagetest:

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
Reference URL's