2emq服務器壓力測試(無用)
阿新 • • 發佈:2018-04-07
autoconf BE IT .com 密碼 fec http AC 小數
https://blog.csdn.net/frankcheng5143/article/details/52117057
1登阿裏雲,進入服務控制界面
https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fecs.console.aliyun.com%2F%3Fspm%3D5176.2020520001.0.0.6B1Uov#/home
賬號dongdongmqtt
密碼**********4******
2 進入服務器
遠程連接,輸入一次性永久密碼
root
密碼********4*******
運行MQTT軟件。
-
進入 emqttd 主文件 :
- cd emqttd
-
開始安裝 emqttd 主文件 ,註意有小數點 :
- ./bin/emqttd console
-
如果出現以下畫面,恭喜,安裝成功!
CTRL+c 關閉控制臺。守護進程模式啟動:
./bin/emqttd start
正常運行狀態,查詢命令返回:
$ ./bin/emqttd_ctl status
Node ‘[email protected]‘ is started
emqttd 2.0 is running
停止服務器:
./bin/emqttd stop
首先去emqtt_benchmark的github網址下載
安裝 git
yum install git-core
git clone https://github.com/emqtt/emqtt_benchmark.git
進入emqtt_benchmark
cd emqtt_benchmark
yum install cmake
make
make是gcc的編譯器,VPS買來必定要安裝
安裝:
yum -y install gcc automake autoconf libtool make
安裝g++:
yum install gcc gcc-c++
yum install gcc-c++
在執行
make
export PATH=$PATH:/home/erlang/bin
2emq服務器壓力測試(無用)