aptitude install libsnmp-session-perl libcgi-fast-perl libconfig-grammar-perl libjs-cropper libjs-prototype libjs-scriptaculous rrdtool apache2 fping echoping libapache2-mod-speedycgi libwww-perl libsocket6-perl libnet-telnet-perl libnet-dns-perl libnet-ldap-perl libio-socket-ssl-perl libauthen-radius-perl libfcgi-perl librrds-perl librrdp-perl
安装之后运行 dpkg -i smokeping*.deb
apache/site-enable/00-default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /usr/lib/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
#ScriptAlias /smokeping/smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi
Alias /smokeping /usr/share/smokeping/www
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/share/smokeping/www">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Options FollowSymLinks
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
No Leanote account ? Sign up now.