MasterShaper
Version 4 (Andreas Unterkircher, 08/03/2008 11:24 AM)
| 1 | 1 | h1. MasterShaper |
|
|---|---|---|---|
| 2 | 1 | ||
| 3 | 2 | Andreas Unterkircher | * http://www.mastershaper.org - offical website |
| 4 | 1 | ||
| 5 | 1 | h2. Discussion |
|
| 6 | 1 | ||
| 7 | 4 | Andreas Unterkircher | h3. Rules rollout scenarios |
| 8 | 1 | ||
| 9 | 1 | * Pushed via webinterface |
|
| 10 | 1 | ||
| 11 | 1 | * Daemon pulling for changes |
|
| 12 | 1 | ||
| 13 | 1 | * Invoked by user on the shell |
|
| 14 | 1 | ||
| 15 | 1 | ---- |
|
| 16 | 1 | ||
| 17 | 4 | Andreas Unterkircher | h2. Identified requirements |
| 18 | 1 | ||
| 19 | 1 | * xmlstarlet |
|
| 20 | 1 | * Perl DBI |
|
| 21 | 1 | * Perl Getopt::Std |
|
| 22 | 1 | * Perl XML::Simple |
|
| 23 | 1 | ||
| 24 | 4 | Andreas Unterkircher | h3. Debian |
| 25 | 1 | ||
| 26 | 1 | * apache2-mpm-prefork |
|
| 27 | 1 | * libapache2-mod-php5 |
|
| 28 | 1 | * mysql-server-5.0 |
|
| 29 | 1 | * php-pear, php5-mysql, php5-gd, php5-sqlite3, sqlite3 |
|
| 30 | 1 | * smarty |
|
| 31 | 1 | * pear install HTML_AJAX MDB2 Net_IPv4 pear/MDB2#mysql |
|
| 32 | 1 | * Download jpgraph and extract in htdocs directory. |
|
| 33 | 1 | ---- |
|
| 34 | 1 | ||
| 35 | 4 | Andreas Unterkircher | h2. Installer |
| 36 | 1 | ||
| 37 | 1 | * Request MySQL Parameters |
|
| 38 | 1 | a. User |
|
| 39 | 1 | b. Pass |
|
| 40 | 1 | c. Database |
|
| 41 | 1 | d. Table-Prefix (shaper_ default) |
|
| 42 | 1 | * Create database structure, Upgrade if necessary |
|
| 43 | 1 | * Check if iptables, tc, ... are in place (frontpage should redirect to installer, if fails) |
|
| 44 | 1 | * Check sudo permission (frontpage should redirect to installer, if fails) |