WebSocket-bench mounting Centos

 Premise: npm already installed

1 yum -y install gcc-c++

2 npm install -g websocket-bench

3 modify environment variables

Add Path

Effective immediately: source / etc / profile

 

4 view the version, the installation is successful

 

Guess you like

Origin www.cnblogs.com/amy720/p/11320023.html