wget http://tsung.erlang-projects.org/dist/ubuntu/tsung_1.3.3-1_all.deb
sudo dpkg -i tsung_1.3.3-1_all.deb
sudo apt-get install erlang-nox
sudo apt-get install gnuplot libtemplate-perl
SSH
ssh-keygen -t rsa -P ''
cat .ssh/id_rsa.pub | ssh user@Server "cat - >> .ssh/authorized_keys"
(1)修改/etc/security/limits.conf
* soft nofile 65535
* hard nofile 65535
(2)修改/etc/profile 增加以下內容使用每次 65535
ulimit -HSn 65535
(3)修改 /etc/sysctl.conf
echo net.ipv4.ip_local_port_range =32768 61000 >> /etc/sysctl.conf
sysctl -p
//hostname 改成跟host 一樣
erl -rsh ssh -sname t3 -setcookie mycookie
slave:start(t3,calos,"-setcookie mycookie").
沒有留言:
張貼留言