Установка netams

Процесс установки netams на сервере FreeBSD.

Процесс установки netams на сервере FreeBSD.

список портов которые надо поставить.

/usr/ports/databases/mysql41-server/
/usr/ports/net-mgmt/netams/
/usr/ports/www/apache13/
/usr/ports/lang/perl5.8/
/usr/ports/textproc/expat2
/usr/ports/databases/mysql41-client/
/usr/ports/databases/p5-DBI
/usr/ports/devel/p5-Storable
/usr/ports/security/p5-Crypt-GeneratePassword
/usr/ports/databases/p5-DBD-mysql41

в /etc/rc.conf

netams_enable="YES"

apache_enable="YES"
mysql_enable="YES"

 

в

/usr/local/etc/netams.conf

service data-source 1
type ip-traffic
source divert 199
rule 9999 "ip from any to any out via rl0"
rule 10001 "ip from any to any in via rl0"

 

service html 0
path /usr/local/www/data
run 10min
htaccess yes
client-pages all
url http://192.168.0.1/netams/
language ru
в

/usr/local/etc/apache/httpd.conf

<Directory "/usr/local/www/cgi-bin">
        AllowOverride None
        Options ExecCGI
        Order allow,deny
        Allow from all
</Directory>