Apache

I've successfully loaded apache/mysql/php/net-snmp onto the Pre, and tested it with a popular NMS tool "Cacti". It runs very well.

All of the prerequisite packages were installed from optware (ipkg-opt install apache mysql php-apache php-mysql net-snmp cron)

Here are some screenshots:







Basic instructions are:

1. Install the above ipk's

2. Configure apache to load the php module, and the appropriate directory assignments (ex. /cacti/)

3. Configure the cron job.

4. Configure whatever LAMP application you want to use.

5. Configure cron and init scripts to run at boot time.

6. Allow port 8000 traffic to specific interfaces. (iptables)

-nebula