Difference between revisions of "Apache"

From WebOS Internals
Jump to navigation Jump to search
Line 23: Line 23:
  
 
1. Install the above ipk's
 
1. Install the above ipk's
 +
 
2. Configure apache to load the php module, and the appropriate directory assignments (ex. /cacti/)
 
2. Configure apache to load the php module, and the appropriate directory assignments (ex. /cacti/)
 +
 
3. Install cron
 
3. Install cron
 +
 
4. Configure whatever LAMP application you want to use
 
4. Configure whatever LAMP application you want to use
 +
 
5. Configure cron and init scripts to run at boot time.
 
5. Configure cron and init scripts to run at boot time.
 +
 
6. Allow port 8000 traffic to specific interfaces. (iptables)
 
6. Allow port 8000 traffic to specific interfaces. (iptables)
  

Revision as of 18:51, 24 July 2009

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 $packageName)

Here are some screenshots:

Cacti1.jpg

Cacti2.png

Cacti3.png

Detailed instructions to follow, I'm at work right now :(

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. Install cron

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)

More to follow!

-nebula