Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| zh:docs:guide-user:services:network_monitoring:bandwidthd [2022/11/21 03:30] – [配置] yodo | zh:docs:guide-user:services:network_monitoring:bandwidthd [2022/11/21 07:42] – [使用] yodo | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| ===== 安装 ===== | ===== 安装 ===== | ||
| - | For the bandwidthd | + | 安装bandwidthd包: |
| <code bash> | <code bash> | ||
| opkg install bandwidthd uhttpd | opkg install bandwidthd uhttpd | ||
| Line 48: | Line 48: | ||
| </ | </ | ||
| - | For the bandwidthd-pgsql | + | 安装bandwidthd-pgsql包(注意:如不在路由器上生成图形,那么可以不安装uhttpd): |
| <code bash> | <code bash> | ||
| opkg install bandwidthd-pgsql uhttpd | opkg install bandwidthd-pgsql uhttpd | ||
| Line 57: | Line 57: | ||
| </ | </ | ||
| - | With all dependencies it uses around 500 kB of storage space. | + | 所需其他依赖大致需要500kB空间,如果路由器IP地址为默认的192.168.1.1,那么即可通过 |
| ===== 配置 ===== | ===== 配置 ===== | ||
| Line 120: | Line 120: | ||
| ===== 使用 ===== | ===== 使用 ===== | ||
| - | By default, | + | 默认情况下bandwidthd在 / |
| - | + | ||
| - | **bandwidthd-pgsql** can store in a postgresql database and PHP has to be used to generate the graphs that are available at http:// | + | |
| + | **bandwidthd-pgsql** 可以将数据库保存到postgresql数据库,然后通过PHP生成图形文件,访问地址为:http:// | ||
| + | 当然,这里的IP需要修改为web服务器(包含PHP文件)的IP,可以是你的路由器或者其他任何服务器(只要能生成图形文件)。 | ||
| ===== 在外置存储空间保存bandwidthd数据 ===== | ===== 在外置存储空间保存bandwidthd数据 ===== | ||