Entware + webserver help

Discussion in 'ASUS Wireless' started by jbombs16, Jan 6, 2013.

  1. jbombs16

    jbombs16 Occasional Visitor

    Joined:
    Dec 2, 2012
    Messages:
    32
    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
     
  2. Log in / Register to remove this ad

  3. RMerlin

    RMerlin Part of the Furniture

    Joined:
    Apr 14, 2012
    Messages:
    13,365
    Location:
    Canada
    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.
     
  4. ryzhov_al

    ryzhov_al Senior Member

    Joined:
    Jul 23, 2012
    Messages:
    484
    Location:
    Russia
    Hi, jbombs16!
    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:
    But OpenWRT (and Entware) includes 29 lighttpd packages!
    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: Jan 7, 2013
  5. ryzhov_al

    ryzhov_al Senior Member

    Joined:
    Jul 23, 2012
    Messages:
    484
    Location:
    Russia
    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.
     
  6. TeHashX

    TeHashX Very Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    764
    Location:
    Europe
    Try this tutorial to install lighttpd with php enabled
     
  7. MercuryV

    MercuryV Regular Contributor

    Joined:
    Oct 26, 2012
    Messages:
    53
    Yet another Entware PHP demonstration - now it's Nginx
     
  8. RMerlin

    RMerlin Part of the Furniture

    Joined:
    Apr 14, 2012
    Messages:
    13,365
    Location:
    Canada
    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 :)
     

Share This Page