2012-01-26 17:42:47 +00:00
|
|
|
Instructions to install xvfb + jdk
|
|
|
|
|
|
|
|
1) sudo apt-get install openjdk-6-jre-headless
|
2012-01-26 19:50:14 +00:00
|
|
|
2) sudo apt-get install xfonts-base xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
|
2012-01-26 17:42:47 +00:00
|
|
|
3) sudo apt-get install xvfb
|
2012-01-26 19:50:14 +00:00
|
|
|
4) sudo apt-get install firefox
|
|
|
|
5) sudo cp xvfb /etc/init.d/xvfb
|
|
|
|
6) sudo chmod 755 /etc/init.d/xvfb
|
|
|
|
7) sudo cp selenium /etc/init.d/selenium
|
|
|
|
8) sudo chmod 755 /etc/init.d/selenium
|
2012-01-26 17:42:47 +00:00
|
|
|
|
|
|
|
Instructions to manually restart xvfb + selenium server
|
|
|
|
|
|
|
|
1) sh /opt/regluit/selenium/start.sh
|
|
|
|
|
|
|
|
Create a link to auto start xvfb+selenium on startup
|
|
|
|
|
|
|
|
1) sudo ln -s /etc/init.d/xvfb /etc/rc2.d/S66xvfb
|
2012-01-26 19:50:14 +00:00
|
|
|
2) sudo ln -s /etc/init.d/selenium /etc/rc2.d/S67selenium
|
2012-01-26 17:42:47 +00:00
|
|
|
|