canmove, Confirmed users
6,441
edits
No edit summary |
|||
| Line 50: | Line 50: | ||
Make vnc start on boot by adding the following to mozqa's crontab: | Make vnc start on boot by adding the following to mozqa's crontab: | ||
@reboot x11vnc -display :0 -shared -forever -rfbauth /home/mozqa/.vnc/passwd -bg | @reboot x11vnc -display :0 -shared -forever -rfbauth /home/mozqa/.vnc/passwd -bg | ||
== Setting up a Talos Buildbot Slave == | |||
How to setup a Buildbot Talos slave (replace the master.host, username, and password with the correct values) | |||
cd ~ | |||
mkdir talos-slave | |||
buildbot create-slave talos-slave master.host:9989 username password | |||
You should then start the slave once to create the proper directory structure. | |||
buildbot start talos-slave | |||
buildbot stop talos-slave | |||
== Configure Apache == | == Configure Apache == | ||
=== | === Pageset === | ||
You will need to install a pageset in /home/mozqa/pages | |||
You will need to install a | |||
=== The rest === | === The rest === | ||
Open /etc/apache2/sites-available/default and change the DocumentRoot and second <Directory> tag to '/home/mozqa/talos'. | Open /etc/apache2/sites-available/default and change the DocumentRoot and second <Directory> tag to '/home/mozqa/talos'. | ||
Open up /etc/apache2/conf.d/charset and comment out the AddCharset line as so: | Open up /etc/apache2/conf.d/charset and comment out the AddCharset line as so: | ||
#AddDefaultCharset UTF-8 | #AddDefaultCharset UTF-8 | ||
Add an alias so Apache knows where the pageset is. Add this to your configuration file: | |||
Alias /page_load_test/pages /home/mozqa/pages | |||
<Directory /home/mozqa/pages> | |||
Options Indexes | |||
Order allow,deny | |||
Allow from all | |||
</Directory> | |||
Restart Apache | Restart Apache | ||
/etc/init.d/apache2 restart | /etc/init.d/apache2 restart | ||
Test the installation by browsing to 'http://localhost/page_load_test/framecycler.html'. The browser should cycle through many pages rapidly. | Test the installation by browsing to 'http://localhost/page_load_test/framecycler.html'. The browser should cycle through many pages rapidly. | ||
= Updating Talos = | = Updating Talos = | ||
Assuming your Buildbot master configuration is proper, Buildbot will automatically update Talos on every performance run. If the pageset is updated, you will need to refresh /home/mozqa/pages. | |||