doc: update 7z/ab document. (#511)
This commit is contained in:
parent
3414d5d634
commit
0b3986f2a0
|
|
@ -1,5 +1,5 @@
|
|||
7z
|
||||
===
|
||||
==
|
||||
|
||||
拥有极高压缩比的开源压缩软件。
|
||||
|
||||
|
|
@ -11,6 +11,11 @@
|
|||
# Ubuntu 系统
|
||||
apt-get update
|
||||
apt-get install p7zip-full -y
|
||||
|
||||
# CentOS 参考:https://linuxconfig.org/how-to-install-p7zip-on-redhat-8
|
||||
sudo yum install epel-release
|
||||
yum install p7zip p7zip-plugins
|
||||
|
||||
```
|
||||
|
||||
## 实例
|
||||
|
|
@ -111,5 +116,5 @@ apt-get install p7zip-full -y
|
|||
|
||||
## 官网
|
||||
|
||||
更多安装使用方法可以访问官网学习:<https://www.7-zip.org/>
|
||||
或者可以访问简体中文网站:<https://sparanoid.com/lab/7z/>
|
||||
更多安装使用方法可以访问官网学习:[https://www.7-zip.org/](https://www.7-zip.org/)
|
||||
或者可以访问简体中文网站:[https://sparanoid.com/lab/7z/](https://sparanoid.com/lab/7z/)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,23 @@
|
|||
ab
|
||||
===
|
||||
==
|
||||
|
||||
Apache服务器的性能测试工具
|
||||
|
||||
|
||||
## 安装
|
||||
|
||||
若系统未安装,使用以下命令安装
|
||||
|
||||
```shell
|
||||
# Ubuntu
|
||||
sudo apt-get install apache2-utils
|
||||
|
||||
# Centos
|
||||
yum install httpd-tools
|
||||
|
||||
```
|
||||
|
||||
|
||||
## 补充说明
|
||||
|
||||
**ab命令** 是一个测试你 Apache http 服务器的工具,你可以通过这个工具,指定一个单位时间内向 apache 发出的请求数量来看看你的 Apache 和机器配合的性能如何。
|
||||
|
|
@ -119,4 +134,9 @@ name[:port]/path
|
|||
主机:被测试主机。
|
||||
|
||||
|
||||
### 实例
|
||||
|
||||
```shell
|
||||
# 10个并发, 请求500次
|
||||
ab -c 10 -n 500 https://www.qq.com/
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue