Snort, Apache, SSL, PHP, MySQL, and BASE Install on Fedora Core 3
Snort, Apache, SSL, PHP, MySQL, and BASE Install on Fedora Core 3
Snort, Apache, SSL, PHP, MySQL, and BASE Install on Fedora Core 3
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Query OK, 0 rows affected (0.25 sec)<br />
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE <strong>on</strong> snort.* to snort@localhost;<br />
>Query OK, 0 rows affected (0.02 sec)<br />
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE <strong>on</strong> snort.* to snort;<br />
>Query OK, 0 rows affected (0.02 sec)<br />
mysql> exit<br />
>Bye<br />
Execute the following comm<str<strong>on</strong>g>and</str<strong>on</strong>g>s to create the tables<br />
mysql -u root -p < ~/snortinstall/snort-2.3.0/schemas/create_mysql snort<br />
Enter password: the mysql root password<br />
Now you need to check <str<strong>on</strong>g>and</str<strong>on</strong>g> make sure that the <str<strong>on</strong>g>Snort</str<strong>on</strong>g> DB was created correctly<br />
mysql -p<br />
>Enter password:<br />
mysql> SHOW DATA<str<strong>on</strong>g>BASE</str<strong>on</strong>g>S;<br />
(You should see the following)<br />
+------------+<br />
| Database<br />
+------------+<br />
| mysql<br />
| <str<strong>on</strong>g>Snort</str<strong>on</strong>g><br />
| test<br />
+------------+<br />
3 rows in set (0.00 sec)<br />
mysql> use snort<br />
>Database changed<br />
mysql> SHOW TABLES;<br />
+------------------+<br />
| Tables_in_snort<br />
+------------------+<br />
| data<br />
| detail<br />
| encoding<br />
| event<br />
| icmphdr<br />
| iphdr<br />
| opt<br />
| reference<br />
| reference_system<br />
| schema<br />
| sensor<br />
| sig_class<br />
| sig_reference<br />
| signature<br />
Versi<strong>on</strong> 10 Page 13 of 19 Updated 2/11/2005 3:27 PM