stress是个常用的压测工具,如何在Amazon Linux 2安装呢?方法如下:

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install stress -y

安装时之所以提示不存在stress,只是因为stress属于epel,需要先装好epel。

参考自:https://acloud.guru/forums/aws-certified-solutions-architect-associate/discussion/-L2piWxIn59Se-kF7x3M/in-the-new-aws-linux-2-stress-isnt-available?answer=-LGiSPkvitk66JOdMXzx

Related Posts: AWS EC2 Amazon Linux 2安装stress方法 :

avatar