DirectAdmin论坛有个大神写了一个脚本update.script for DirectAdmin, 里面包括安装MRTG. http://forum.directadmin.com/showthread.php?t=22587 mkdir /usr/local/updatescript cd /usr/local/updatescript wget --no-check-certificate https://www.wael.name/script/update.script chmod 755 update.script ./update.script ./update.script MRTG 完成后输入你的http://ip/mrtg 查看 # GNU GENERAL PUBLIC LICENSE # Version 2, June 1991 # Copyright (C) 2006,2007 Free Software Foundation, Inc. # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Everyone is permitted to copy and distribute verbatim copies # of this license document, but changing it is not allowed. # # Update script made by Wael Isa # H188, R4008, Arad 240, Kingdom of Bahrain # https://www.wael.name/ # Version: 1.8.4 # Release Date: 1/9/2006 # Update Date : 18/8/2017