This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
сервис_mrtg [2024/06/20 12:23] val [Использование скриптов] |
сервис_mrtg [2024/06/24 15:43] (current) val [Протоколирование загрузки интерфейсов] |
||
|---|---|---|---|
| Line 14: | Line 14: | ||
| <code> | <code> | ||
| server# cfgmaker public@router > /etc/mrtg.cfg | server# cfgmaker public@router > /etc/mrtg.cfg | ||
| - | ubuntu24# cfgmaker public@router > /etc/mrtg/mrtg.cfg | + | ubuntu24# cfgmaker public@router | tee /etc/mrtg/mrtg.cfg |
| server# cat /etc/mrtg.cfg | server# cat /etc/mrtg.cfg | ||
| Line 23: | Line 23: | ||
| </code><code> | </code><code> | ||
| server# mkdir /var/www/html/mrtg/ | server# mkdir /var/www/html/mrtg/ | ||
| - | ubuntu24# chmod 755 /var/www/html/mrtg/ | ||
| server# indexmaker /etc/mrtg.cfg > /var/www/html/mrtg/index.html | server# indexmaker /etc/mrtg.cfg > /var/www/html/mrtg/index.html | ||
| - | ubuntu24# indexmaker /etc/mrtg/mrtg.cfg > /var/www/html/mrtg/index.html | + | ubuntu24# indexmaker /etc/mrtg/mrtg.cfg | tee /var/www/html/mrtg/index.html |
| </code> | </code> | ||