What's new

Entware + webserver help

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

jbombs16

Occasional Visitor
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
 
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.
 
Hi, jbombs16!
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:
# grep "^Package: lighttpd" ./Packages_optware | wc -l
1
But OpenWRT (and Entware) includes 29 lighttpd packages!
# 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.
 
Last edited:
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.
 
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
 
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 :)
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top