SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-06-2013, 05:11 PM
jbombs16 jbombs16 is offline
Member
 
Join Date: Dec 2012
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
jbombs16 is just starting out
Default Entware + webserver help

I am trying to setup a webserver with entware. I need the server to setup a usenet indexer (newznab).

I believe that cherokee is not available through entware so I cannot follow this guide (http://forums.smallnetbuilder.com/showthread.php?t=8323).

I would install optware + cherokee but I cannot find a guide to install optware.

Cherokee would be nice because I need PHP and database (MySQL) support.

I have installed apahce but have no idea how to configure it. Plus I dont know how to get PHP and MySQL installed. Can anyone help me out?

There is a newznab install guide (http://newznab.readthedocs.org/en/latest/install/) but it is for ubuntu.

thanks
Reply With Quote
  #2  
Old 01-06-2013, 06:43 PM
RMerlin's Avatar
RMerlin RMerlin is online now
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 10,717
Thanks: 55
Thanked 6,011 Times in 2,444 Posts
RMerlin is just starting out
Default

I would recommend looking at nginx. It's fairly simple to setup, and worked within a few minutes for me, while I never could get lighttpd to answer any query. Nginx is also more lightweight than Apache.
__________________
Asuswrt-Merlin: Customized firmware for Asus routers
Github: github.com/RMerl - Twitter: RMerlinDev
See the sticky post for more info.
Reply With Quote
  #3  
Old 01-07-2013, 02:24 AM
ryzhov_al's Avatar
ryzhov_al ryzhov_al is online now
Very Senior Member
 
Join Date: Jul 2012
Location: Smolensk, Russia
Posts: 400
Thanks: 45
Thanked 277 Times in 140 Posts
ryzhov_al is just starting out
Default

Hi, jbombs16!
Quote:
Originally Posted by jbombs16 View Post
Cherokee would be nice because I need PHP and database (MySQL) support.

I have installed apahce but have no idea how to configure it. Plus I dont know how to get PHP and MySQL installed. Can anyone help me out?
First of all, lighttpd and PHP (include MYSQL) works fine on Entware. A common mistake for new Entware users is they "think" Optware way with it's huge packages. The Entware is OpenWRT based, so all packages is size optimized. Take a look at lighttpd at Optware, there is only one package with all it's modules:
Quote:
# grep "^Package: lighttpd" ./Packages_optware | wc -l
1
But OpenWRT (and Entware) includes 29 lighttpd packages!
Quote:
# grep "^Package: lighttpd" ./Packages_entware | wc -l
29
Every lighttpd module is in separate package. The same thing with PHP and some other software. Here is my example how to use lighttpd with php-cgi and php-scgi.

When you install any software from Entware, please refer to OpenWRT docs first. It's available far more widely then Optware ones.
__________________
The Entware. A modern Optware replacement.

Last edited by ryzhov_al; 01-07-2013 at 03:02 AM.
Reply With Quote
  #4  
Old 01-07-2013, 02:31 AM
ryzhov_al's Avatar
ryzhov_al ryzhov_al is online now
Very Senior Member
 
Join Date: Jul 2012
Location: Smolensk, Russia
Posts: 400
Thanks: 45
Thanked 277 Times in 140 Posts
ryzhov_al is just starting out
Default

Quote:
Originally Posted by RMerlin View Post
I would recommend looking at nginx. It's fairly simple to setup, and worked within a few minutes for me, while I never could get lighttpd to answer any query. Nginx is also more lightweight than Apache.
Support with both hands!

IMHO, apache, mysql, squid is too heavy for embedded devices so we can't reach acceptable performance with it. We may use light weight alternatives like lighttpd, sqlite, tinyproxy whenever it's possible.
__________________
The Entware. A modern Optware replacement.
Reply With Quote
  #5  
Old 01-07-2013, 06:52 PM
TeHashX's Avatar
TeHashX TeHashX is offline
Very Senior Member
 
Join Date: Jul 2012
Location: Europe
Posts: 629
Thanks: 140
Thanked 232 Times in 132 Posts
TeHashX is just starting out
Default

Quote:
Originally Posted by jbombs16 View Post
I am trying to setup a webserver with entware. I need the server to setup a usenet indexer (newznab).

I believe that cherokee is not available through entware so I cannot follow this guide (http://forums.smallnetbuilder.com/showthread.php?t=8323).

I would install optware + cherokee but I cannot find a guide to install optware.

Cherokee would be nice because I need PHP and database (MySQL) support.

I have installed apahce but have no idea how to configure it. Plus I dont know how to get PHP and MySQL installed. Can anyone help me out?

There is a newznab install guide (http://newznab.readthedocs.org/en/latest/install/) but it is for ubuntu.

thanks
Try this tutorial to install lighttpd with php enabled
Reply With Quote
  #6  
Old 01-11-2013, 05:28 PM
MercuryV MercuryV is offline
Member
 
Join Date: Oct 2012
Posts: 52
Thanks: 8
Thanked 20 Times in 19 Posts
MercuryV is just starting out
Default

Yet another Entware PHP demonstration - now it's Nginx
Reply With Quote
  #7  
Old 01-14-2013, 10:53 PM
RMerlin's Avatar
RMerlin RMerlin is online now
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 10,717
Thanks: 55
Thanked 6,011 Times in 2,444 Posts
RMerlin is just starting out
Default

Quote:
Originally Posted by ryzhov_al View Post
Support with both hands!

IMHO, apache, mysql, squid is too heavy for embedded devices so we can't reach acceptable performance with it. We may use light weight alternatives like lighttpd, sqlite, tinyproxy whenever it's possible.
BTW, b-rad is switching to Nginx for the next version of WDLXTV. The webend I developped for WDLXTV loads way, way faster with Nginx than it did with Apache
__________________
Asuswrt-Merlin: Customized firmware for Asus routers
Github: github.com/RMerl - Twitter: RMerlinDev
See the sticky post for more info.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 02:19 PM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  350
john9527  149
azazel1024  132
L&LD  127
stevech  120
htismaqe  95
sfx2000  75
TonyH  67
ChristineBCW  66
AndreyPopov  60
RMerlin  6010
john9527  373
stevech  349
ryzhov_al  277
TeHashX  232
L&LD  230
RogerSC  199
sinshiva  147
sfx2000  133
joegreat  126
Most Viewed Threads* Hottest Threads*
Old Shellshock...  27338
Old Asuswrt-Merli...  7381
Old Antenna...  3781
Old Asus...  3421
Old Simple NAS...  2330
Old Brainstorming...  2121
Old Looking for...  1877
Old RT-AC68P  1708
Old New Router:...  1562
Old RT-AC68U...  1304
Old Antenna...  73
Old Asuswrt-Merli...  56
Old Brainstorming...  47
Old Advice on...  43
Old Simple NAS...  36
Old Looking for...  35
Old Shellshock...  31
Old Asus...  29
Old WiFi Rates  23
Old RT-AC68U...  22


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.