$ sudo apt-get update $ sudo apt-get install openjdk-6-jdk mysql-server python-mysqldb libmysql++-dev libncurses5-dev libssl-dev python-dev python-setuptools libexpat1-dev gettext xsltproc erlang erlang-nox erlang-dev erlang-src apache2 libapache2-mod-proxy-html
$ sudo python bootstrap.py $ ./bin/buildout
From: TARGETS=$(EBIN_DIR)/rabbit.app $(INCLUDE_DIR)/rabbit_framing.hrl $(BEAM_TARGETS) To: TARGETS=$(INCLUDE_DIR)/rabbit_framing.hrl $(BEAM_TARGETS)Delete line:
$(EBIN_DIR)/rabbit.app: $(EBIN_DIR)/rabbit_app.in $(BEAM_TARGETS) generate_app escript generate_app $(EBIN_DIR) $@ < $<
retcode = subprocess.call(cmd) if retcode != 0: raise Exception("building ejabberd failed")
wget http://www.noritsuna.com/download/buildout.cfg wget http://www.noritsuna.com/download/ejabberd-2.1.5.tar.gz cp ejabberd-2.1.5.tar.gz ./downloads/
datastore = mysql mysql_db = mysql mysql_host = [MySQL server's IP Address] mysql_passwd = [MySQL root's password] mysql_user = root
bind-address = 127.0.0.1
mysql -u root -p grant all on *.* to root@"[your network address].%" identified by '[root password]' with grant option;Ex.
grant all on *.* to root@"192.168.1.%" identified by 'pass' with grant option;
kwargs2['client_flag'] = client_flag kwargs2['db'] = 'mysql' kwargs2['host'] = '[MySQL server's IP address]' kwargs2['user'] = 'root' kwargs2['passwd'] = '[MySQL root password]'
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule rewrite_module modules/mod_rewrite.so
ProxyRequests Off ProxyPass / balancer://cluster/ lbmethod=byrequests ProxyPassReverse / balancer://cluster/ <Proxy *> Order Deny,Allow Allow from all </Proxy> <Proxy balancer://cluster/> BalancerMember http://[Panda server's IP address]/ loadfactor=10 BalancerMember http://[Panda server's IP address]/ loadfactor=10 BalancerMember http://[Panda server's IP address]/ loadfactor=10 </Proxy>
wget http://www.noritsuna.com/download/rietveld-panda.tar.gz
cd [TyphoonAE dir] ./bin/apptool --datastore=mysql [Rietveld unziped dir]/rietveld
./bin/supervisord
./bin/supervisorctl shutdown
./bin/supervisorctl