[root@fedora ~]# cp /var/www/iptablelog/conf/config.php.default /var/www/iptablelog/conf/config.php
[root@fedora ~]# vi /var/www/iptablelog/conf/config.php
# Password of the MySQL database
$db_password="パスワード"; ← iptablelogデータベースアクセスユーザパスワード設定
# File Path to your installation
$file_base="/var/www/iptablelog"; # i.e. "/var/www/html/iptablelog" ← iptablelogWebディレクトリ名設定
[root@fedora ~]# cp /var/www/iptablelog/conf/iptables_resolve.default /etc/cron.hourly/iptables_resolve
← IPアドレス名前解決スクリプトを定期自動実行ディレクトリへコピー
[root@fedora ~]# vi /etc/cron.hourly/iptables_resolve ← IPアドレス名前解決スクリプト編集
$iptablelog_path = "/var/www/iptablelog"; # Change this ← iptablelogWebディレクトリ名設定
db_connect("localhost","iptablelog","iptablelog_user", "パスワード"); # Change these db settings
← iptablelogデータベースアクセス情報設定
|
|