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

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

Issue 335183002: Fixing install and OAuth (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase Created 6 years, 6 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/perf_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 5 sudo apt-get install monit squid3 gcc mercurial
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 cp sys/perf_monit /etc/monit/conf.d/perf 16 sudo cp sys/perf_monit /etc/monit/conf.d/perf
17 sudo cp sys/perf_squid /etc/squid3/squid.conf 17 sudo cp sys/perf_squid /etc/squid3/squid.conf
18 sudo chmod 744 /etc/init.d/perf 18 sudo chmod 744 /etc/init.d/perf
19 # Confirm that monit is happy. 19 # Confirm that monit is happy.
20 sudo monit -t 20 sudo monit -t
21 sudo /etc/init.d/perf restart
OLDNEW
« no previous file with comments | « perf/server/setup/continue_install ('k') | perf/server/setup/sys/perf_init » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698