Cherokee & Lighttpd Web Server für OE2.0

  • cherokee_1.2.98


    cherokee ist ein flexibler, schneller und leichtgewichtiger Webserver.


    It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, TLS and SSL encrypted connections.
    Virtual hosts, Authentication, on the fly encoding, Apache compatible log files, HTTP Load Balancing, Data Base Balancing, SSI, Reverse HTTP Proxy and much more.


    cget Cherokee web downloader


    Code
    Depends: libcherokee-base0 (>= 1.2.98), libcrypto0.9.8 (>= 0.9.8x), libavcodec53 (>= 0.7.4), libavformat53 (>= 0.7.4), libcherokee-server0 (>= 1.2.98), libcherokee-client0 (>= 1.2.98), libpcre0 (>= 8.21), update-rc.d, libssl0.9.8 (>= 0.9.8x), libc6 (>= 2.13), libavutil51 (>= 0.7.4), libbz2-0 (>= 1.0.6)


    Sollte euch etwas fehlen, melden!


    gruß pclin

  • Im DMM Webbrowser auf der DM800.


    Leider geht hier im Browser ja leider keine Tastatur...


    Somit geht dann leider der cherokee-admin nicht, (direkt auf der Box, mit dem Browser) da man an der Passwort Eingabe scheitert.


    Muss man also anders machen. Liegt ja nicht an cherokee!


    gruß pclin

  • cherokee-admin


    Auch wenn es nicht mit dem DMM Browser geht, kann man es ja Remote machen.


    Code
    cherokee-admin -b


    dann am PC <IP der Box>:9090 im Browser eingeben.


    Und jetzt kann man PHP installieren und im cherokee-admin aktivieren.


    gruß pclin

  • i am trying to run cherokee admin from my gb800se but i get this error after logging with recieverip:9090 :"503 Service Unavailable Cherokee web server 1.2.98 (UNIX), Port 9090 "
    also when i start cherokee-admin -b i get an error:


  • your log is OK (it works without rrdtool binary)


    Server is still running and cherokee-admin -b running?
    (503 Service Unavailable Cherokee web server 1.2.98 (UNIX), Port 9090)


    if you have login window,


    and then 504 Gateway Timeout


    try reload (max 3 times)


    gruß pclin

  • yes server & cherokee-admin are running when i get 503 service unavailable. also i am asked for user and password which i get from cherokee-admin when i start it in telnet, but after i input them :


    503 Service Unavailable


    Cherokee web server 1.2.98 (UNIX), Port 9090


    LE: i have ran "cherokee-admin -b -x" as i read on the internet for error logging and i get this:


    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 27, in <module>
    import compiler
    ImportError: No module named compiler
    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 27, in <module>
    import compiler
    ImportError: No module named compiler
    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 27, in <module>
    import compiler
    ImportError: No module named compiler
    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 27, in <module>
    import compiler
    ImportError: No module named compiler
    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 27, in <module>
    import compiler
    ImportError: No module named compiler

  • thanks for all the support. i have finaly done it. few extra python must be installed though:
    python-compression
    python-xmlrpc


    is also mysql server available for enigma2 ? i tryied to install wordpress but it's telling me there is no compatible database available.

  • thanks alot for all the support. do you use cherokee yourself? i thought cherokee-admin would do magic but it seems to be hanging while trying to install Apps (Joomla & Wordpress tested), could be my reciever, could be the version has bugs.
    can i ask where do you have cherokee for mips32el from? i don't see any mips version on their website so it must be cross-compiled. i'd like to try to compile a more recent version, maybe it works better.

  • I use cherokee for this


    I don't use cherokee-admin, is not so fast on dm800. It's better to edit /etc/cherokee/cherokee.conf.


    For full use of cherokee you need to install php, mysql, fastcgi.


    cherokee is build with bitbake, normal cherokee.bb im oe2.0


    and i use cherokee on my LinuxMint for my package feeds.


    gruß pclin

    Einmal editiert, zuletzt von pclin ()

  • Eine Alternative zum Cherokee ist


    lighttpd-1.4.30-r4


    http://www.lighttpd.net/

    Code
    Zitat Wikipedia
    Lighttpd (zumeist gesprochen als Lighty) ist ein von Jan Kneschke entwickelter freier Webserver. Er implementiert alle wichtigen Funktionen eines Webservers und kann, ähnlich wie Apache, durch Module erweitert werden.
    
    
    Der Server setzt auf asynchrone Kommunikation und bearbeitet mehrere Anfragen in einem einzigen Betriebssystem-Prozess. Dadurch ist der Webserver in der Lage, mehrere parallele Anfragen effizienter zu bearbeiten und CPU und Arbeitsspeicher weniger zu belasten als ein Multi-Prozess-Design etwa beim Apache Webserver. Dies lohnt sich besonders beim gleichzeitigen Zugriff auf große Dateien von vielen Benutzern.
    
    
    PHP wird mittels FastCGI angebunden. Perl, Python oder Ruby können auch über die SCGI-Schnittstelle angesprochen werden. Seiten können über das Modul CML (ursprünglich: Cache Meta Language) in Lua automatisch erzeugt werden, auch Server Side Includes werden durch ein Modul unterstützt.



    gruß pclin

  • thanks you. will try lighttpd too.
    true,cherokee admin page is kinda slow, but that's not the problem. the problem is that i fail to install Apps from the market. so...eighter i will install them manualy or i will find a better solution.
    anyway, having this possibilty to have and webserver with no extra $ is a dream already :)

  • sorry to bother you again but everything i try to install from the cherokee market gives me :
    The 'gd' module is not supported by your PHP interpreter
    maybe it's missing this module. also it's still a mistery to me how to create mysql databases.

  • Hallo Leute,


    ich kriege die Admin - Oberfläche nicht gestartet, das Log bringt folgende Ausgabe:


    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 32, in <module>
    import json_embedded as json
    File "/usr/share/cherokee/admin/CTK/CTK/json_embedded.py", line 27, in <module
    >
    from decimal import Decimal
    ImportError: No module named decimal
    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 32, in <module>
    import json_embedded as json
    File "/usr/share/cherokee/admin/CTK/CTK/json_embedded.py", line 27, in <module
    >
    from decimal import Decimal
    ImportError: No module named decimal
    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 32, in <module>
    import json_embedded as json
    File "/usr/share/cherokee/admin/CTK/CTK/json_embedded.py", line 27, in <module
    >
    from decimal import Decimal
    ImportError: No module named decimal
    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 32, in <module>
    import json_embedded as json
    File "/usr/share/cherokee/admin/CTK/CTK/json_embedded.py", line 27, in <module
    >
    from decimal import Decimal
    ImportError: No module named decimal
    Traceback (most recent call last):
    File "/usr/share/cherokee/admin/server.py", line 37, in <module>
    import CTK
    File "/usr/share/cherokee/admin/CTK/CTK/__init__.py", line 25, in <module>
    import util
    File "/usr/share/cherokee/admin/CTK/CTK/util.py", line 32, in <module>
    import json_embedded as json
    File "/usr/share/cherokee/admin/CTK/CTK/json_embedded.py", line 27, in <module
    >
    from decimal import Decimal
    ImportError: No module named decimal


    Kann mir jemand weiterhelfen an dieser Stelle?


    Vielen Dank im Voraus!

    Best Enigma2 Plugins:
    TV Charts Plugin, EPGRefresh, AutoTimer, VPS Plugin, SeriesPlugin

  • Das Problem konnte ich jetzt mal lösen, indem ich sämtliche Python Pakete installiert hab die es noch irgendwie gab, vielleicht kann mir jemand aus dem Kopf raus sagen, welches Pyhton Paket irgendwas mit decimal zu tun hat?

    Best Enigma2 Plugins:
    TV Charts Plugin, EPGRefresh, AutoTimer, VPS Plugin, SeriesPlugin

  • Hallo,


    das hört sich gut an. Mir fehlt da tatsächlich was bei der der schlanken Installationsanleitung. Ich bin nicht unbedingt der Nerd (Grundkenntnisse Linux, Telnet sind vorhanden) und würde mich freuen, wenn mir jemand bei meinen Fragen weiterhelfen kann.
    1. Läuft der Cherokee auch auf der DM7020HD?
    2. Spürt man bei normalem Fernseh-Gebrauch, dass die Performance geringer wird?
    3. Offenbar ist das Paket OE2.0 Voraussetzung, wie bekomme ich das installiert?
    4. Kennt die DM7020HD nach der Installation von OE2.0 dann das Kommando "cget Cherokee web downloader" oder wo muss ich das eingeben?