歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu下安裝bandwidthd

Ubuntu下安裝bandwidthd

日期:2017/2/28 16:57:35   编辑:Linux教程

安裝好Ubuntu 8.04

peter@ubuntu:~$ sudo apt-get apache2 bandwidthd
peter@ubuntu:~$ sudo dpkg -S bandwidth
bandwidthd: /etc/init.d/bandwidthd
bandwidthd: /usr/share/man/man8/bandwidthd.8.gz
bandwidthd: /var/lib/bandwidthd
bandwidthd: /usr/share/doc/bandwidthd/README.Debian.gz
bandwidthd: /usr/share/doc/bandwidthd/copyright
bandwidthd: /usr/share/doc/bandwidthd/changelog.gz
bandwidthd: /usr/share/doc/bandwidthd/README.gz
bandwidthd: /usr/share/man/man5/bandwidthd.conf.5.gz
bandwidthd: /usr/share/doc/bandwidthd/TODO.Debian
bandwidthd: /var/lib/bandwidthd/htdocs/legend.gif
bandwidthd: /usr/share/doc/bandwidthd/TODO
bandwidthd: /var/lib/bandwidthd/htdocs //此是網頁root
bandwidthd: /usr/share/doc/bandwidthd/changelog.Debian.gz
bandwidthd: /usr/sbin/bandwidthd
bandwidthd: /usr/share/doc/bandwidthd
bandwidthd: /etc/bandwidthd
bandwidthd: /var/lib/bandwidthd/htdocs/logo.gif
bandwidthd: /usr/share/doc/bandwidthd/bandwidthd.conf

rm -rf /var/www/ 刪除apache2 原來的 www 根

peter@ubuntu:~$ sudo ln -s /var/lib/bandwidthd/htdocs/ /var/www

浏覽http://192.168.1.151/ 即可看到圖形界面了

Copyright © Linux教程網 All Rights Reserved