Difference between revisions of "Apache"
Jump to navigation
Jump to search
Hopspitfire (talk | contribs) |
Hopspitfire (talk | contribs) |
||
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 17: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)
- http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/apache_2.2.11-1_arm.ipk
- http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/mysql_4.1.22-3_arm.ipk
- http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/php-apache_5.2.10-1_arm.ipk
- http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/php-mysql_5.2.10-1_arm.ipk
- http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/net-snmp_5.4.2.1-1_arm.ipk
- http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/cron_4.1-7_arm.ipk
Here are some screenshots:
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