Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: perf/server/setup/perf_setup.sh

Issue 390953003: Add a new log server that runs on port 8001. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « perf/server/setup/continue_install ('k') | perf/server/setup/sys/ingester_init » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Script to setup a GCE instance to run the perf server. 3 # Script to setup a GCE instance to run the perf server.
4 # For full instructions see the README file. 4 # For full instructions see the README file.
5 sudo apt-get install monit squid3 gcc mercurial make nodejs nodejs-legacy 5 sudo apt-get install monit squid3 gcc mercurial make nodejs nodejs-legacy
6 echo "Adding the perf user account" 6 echo "Adding the perf user account"
7 sudo adduser perf 7 sudo adduser perf
8 8
9 PARAMS="-D --verbose --backup=none --group=default --owner=perf --preserve-times tamps" 9 PARAMS="-D --verbose --backup=none --group=default --owner=perf --preserve-times tamps"
10 10
11 sudo install $PARAMS --mode=766 continue_install /home/perf/ 11 sudo install $PARAMS --mode=766 continue_install /home/perf/
12 sudo install $PARAMS --mode=666 -T sys/_bash_aliases /home/perf/.bash_aliases 12 sudo install $PARAMS --mode=666 -T sys/_bash_aliases /home/perf/.bash_aliases
13 sudo su perf -c /home/perf/continue_install 13 sudo su perf -c /home/perf/continue_install
14 14
15 sudo cp sys/perf_init /etc/init.d/perf 15 sudo cp sys/perf_init /etc/init.d/perf
16 sudo chmod 744 /etc/init.d/perf 16 sudo chmod 744 /etc/init.d/perf
17 sudo cp sys/tilebuilder_init /etc/init.d/tilebuilder 17 sudo cp sys/tilebuilder_init /etc/init.d/tilebuilder
18 sudo chmod 744 /etc/init.d/tilebuilder 18 sudo chmod 744 /etc/init.d/tilebuilder
19 sudo cp sys/ingester_init /etc/init.d/ingester 19 sudo cp sys/ingester_init /etc/init.d/ingester
20 sudo chmod 744 /etc/init.d/ingester 20 sudo chmod 744 /etc/init.d/ingester
21 sudo cp sys/logserver_init /etc/init.d/logserver
22 sudo chmod 744 /etc/init.d/logserver
21 sudo cp sys/perf_monit /etc/monit/conf.d/perf 23 sudo cp sys/perf_monit /etc/monit/conf.d/perf
22 sudo cp sys/perf_squid /etc/squid3/squid.conf 24 sudo cp sys/perf_squid /etc/squid3/squid.conf
23 # Confirm that monit is happy. 25 # Confirm that monit is happy.
24 sudo monit -t 26 sudo monit -t
25 sudo monit reload 27 sudo monit reload
26 sudo /etc/init.d/perf restart 28 sudo /etc/init.d/perf restart
27 sudo /etc/init.d/tilebuilder restart 29 sudo /etc/init.d/tilebuilder restart
28 sudo /etc/init.d/ingester restart 30 sudo /etc/init.d/ingester restart
31 sudo /etc/init.d/logserver restart
OLDNEW
« no previous file with comments | « perf/server/setup/continue_install ('k') | perf/server/setup/sys/ingester_init » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698