然後,讓我們確認一下庫是不是建立成功了
[root@netserver contrib]#/usr/local/mysql/bin/mysql -p
>Enter password: (這裡輸入MySQL中root的密碼)
mysql> SHOW DATABASES
(你會看到下面這樣的表)
+------------+
| Database
+------------+
| mysql
| snort
| test
+------------+
3 rows in set (0.00 sec)
mysql> use snort
>Database changed
mysql> SHOW TABLES
+------------------+
| Tables_in_snort
+------------------+
| data
| detail
| encoding
| event
| flags
| icmphdr
| iphdr
| opt
| protocols
| reference
| reference_system
| schema
| sensor
| services
| sig_class
| sig_reference
| signature
| tcphdr
| udphdr
+------------------+
19 rows in set (0.00 sec)>Bye
好,看到以上的表,說明我們的操作成功了。
8、安裝JPGraph:
[root@netserver contrib]#cd ../../
[root@netserver ids]#cp jpgraph-1.13.tar.gz /www/htdocs
[root@netserver ids]#cd /www/htdocs
[root@netserver htdocs]#tar -xvzf jpgraph-1.13.tar.gz
[root@netserver htdocs]#rm -rf jpgraph-1.13.tar.gz
9、安裝ADODB:
[root@netserver htdocs]#cd /root/ids/
[root@netserver ids]#cp adodb390.tgz /www/htdocs/
[root@netserver ids]#cd /www/htdocs
[root@netserver htdocs]#tar -xvzf adodb390.tgz
[root@netserver htdocs]#rm -rf adodb390.tgz