Created
October 8, 2011 06:58
-
-
Save bububa/1271971 to your computer and use it in GitHub Desktop.
The Procedure for Amoeba1 Server Reboot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. stop mysql | |
sudo /etc/init.d/mysql stop | |
2. restart sphinx search | |
kill searched | |
sudo searchd /etc/sphinx/searchd.conf | |
3. start mongodb | |
sudo mongod --config /etc/mongodb/r0.conf | |
4. start nginx | |
sudo /etc/init.d/nginx start | |
5. start uwsgi | |
sudo /etc/init.d/uwsgi start | |
6. start trond | |
su | |
ssh-agent bash | |
ssh-add | |
trond -c /etc/tron/tron.yaml | |
7. start airport | |
nohup /Applications/amoeba/scripts/kud.py airport -a amoeba1 -w kgsearch,kdomain > /dev/null 2>&1 & | |
nohup /Applications/amoeba/scripts/kud.py airport -A -c 8 > /dev/null 2>&1 & | |
8. start redis | |
sudo redis-server /etc/redis.conf | |
9. start whorush update | |
/Applications/amoeba/script/whorush.py update | |
10. start catqueue | |
/Applications/amoeba/script/catqueue.py | |
11. start domainappraisal | |
/Applciations/amoeba/script/domainappraisal.py | |
12. mongo --host 174.123.168.122 whorush whorush_counter.js | |
13. mongo --host 174.123.168.122 whorush whorush_networks.js | |
14. ./check_cpc.py | |
15. ./whorush.py check_deindexed | |
16. start munin-node | |
sudo /etc/init.d/munin-node restart | |
17. start mms | |
cd /Applications/mms-agent/ | |
su | |
nohup python agent.py > /var/log/mongodb/agent.log & | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment