Page 1 of 4 123 ... LastLast
Results 1 to 15 of 48

Thread: Complete detailed guide for PHP enabled webserver + ssh server.

  1. #1

    Smile GUIDE: Complete and detailed in making a PHP enabled webserver + ssh server.

    Changelog :

    29-06-2005
    + CRON job scheduling system tutorial added

    16-06-2005
    + SAMBA tutorial added

    25-05-2005
    + esmtp tutorial added
    # php webserver tutorial split in two :
    1. php enabled webserver
    2. ipkg package system tutorial

    18-05-2005
    + Hardware comparison table added

    11-05-2005
    + Added a page with general information about Olegs Firmware
    + Added a complete guide for setting up a Cross Compiling Build Environment

    10-05-2005
    # Username related error in the vsftpd guide corrected.

    02-05-2005
    + Added a complete vsftpd guide

    29-04-2005
    + Added a small guide in howto enable perl .pl / .cgi scripts

    28-04-2005
    # Switched from thttpdphp to php-thttpd
    # Changed webroot to comply with Unslung standards
    # Corrected small error in setting eXecutable flag (thanks rdk)

    + Added a small ssh-server only guide as well.

    ----
    http://macsat.com/wlguide/index.php
    ----

    I just made a complete and quite detailed guide on how to make your ASUS WL device into a full featured PHP enabled webserver, and a ssh server.

    The guide should be usuable even for people that dont know linux in advance !!

    The Guides Include :
    *PHP enabled webserver + ssh server guide
    *ssh server guide

    Link :
    http://macsat.com/wlguide/index.php
    Last edited by macsat; 29-06-2005 at 11:13. Reason: CRON tutorial added

  2. #2
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    Had somebody test this guide?
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  3. #3
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    This howto is very nice and complete. Thank you macsat !

    Just a few things:
    1) phpthttpd is now obsolete.
    Instead of running
    Code:
    cd /opt/tmp < enter > 
    wget http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/thttpdphp_2.25b-5.0.3-1_mipsel.ipk < enter > 
    /opt/bin/ipkg install thttpdphp_2.25b-5.0.3-1_mipsel.ipk < enter > 
    rm thttpdphp_2.25b-5.0.3-1_mipsel.ipk < enter >
    Code:
    ipkg install php-thttpd < enter >
    This will install thttpd with php support plus the full php package (giving you additionnals modules)

    2) webroot *should* sits under /opt/share/www.
    Unslung staff makes this (arbitrary) choice so that web-related packages can all rely on this dir at install time. storing your webroot somewhere else will not guarantee that web-related package will be web visible once installed.


    JF
    Last edited by Jean-Fabrice; 28-04-2005 at 15:03.

  4. #4
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    Thank you,

    can i change the www files via ftp?
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  5. #5

    Wil be updated shortly :-)

    Hi Jean-Fabrice

    Thanks for the nice words.

    The thttpd package thing will be updated soon, and also the placement of the www dir :-)

    Will keep people posted in here.

    /macsat
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  6. #6

    thanks for this howto

    Hi Macsat

    I ve also used this howto and found it very useful to learn how the ipkg stuff works Thank you!

    Its just at one place where you put

    mkdir /usr/local < enter >
    mkdir /usr/local/sbin < enter >
    touch /usr/local/sbin/post-boot < enter >
    touch /usr/local/sbin/post-firewall < enter >
    =>>> chmod -x /usr/local/sbin/* < enter >

    Shouldn't this last line be chmod +x ??
    At least thats what worked for me....

    The rest was fine

    Regards,
    Rainer

  7. #7

    Thank you !

    Yes, you are right....a little mistake there.

    Will be fixed ASAP :-)
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  8. #8
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299

    Thumbs up

    Cool,

    you changed your How To Site.

    Its really nice.

    Can you do this guide in PDF,too?
    It's much more better to print.
    (because of the grey backgrounds)


    Regards,
    britnet
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  9. #9
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Quote Originally Posted by britnet
    Cool,

    you changed your How To Site.

    Its really nice.

    Can you do this guide in PDF,too?
    It's much more better to print.
    (because of the grey backgrounds)


    Regards,
    britnet
    please see attached

    My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook



    WL500g Forum Asus Files OpenDir

    Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO

  10. #10
    Join Date
    Apr 2004
    Location
    Adelaide, Australia
    Posts
    88
    macsat,

    Great HowTo's :-)

    -- Rod

    [Edit: didn't see the nslu2-linux links at first cause they were black, but realised they are all there - thanks.]
    Last edited by rwhitby; 29-04-2005 at 12:19.

  11. #11
    thx for the guide. all works fine except access from wan.
    Am I supposed to have the firewall enabled in web setup?

  12. #12

    Access from WAN with thttpd

    Quote Originally Posted by mullog
    thx for the guide. all works fine except access from wan.
    Am I supposed to have the firewall enabled in web setup?
    I had the same problem. The solution was to take port 80 in the list of the virtual servers (under NAT Settings):
    Port range: 80
    Local IP: local IP address of the router
    Local port: the port number you have chosen for local access to your web server
    Protocol: TCP

    I do not know if it it is the unique solution (and the best ?) but it works. May be the (excellenet) howto could be updated with this point.

  13. #13

    Update noted :-)

    I will update the howto with that little note, thanks for pointing out :-)
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  14. #14
    Is there some kind of version of mysql included? Lite or something?

    Thanks in advance!

  15. #15
    guide vsftpd not working

    Status & Log - System Log

    May 9 17:24:14 xinetd[126]: Unknown user: root [file=/opt/etc/xinetd.d/vsftp] [line=7]
    May 9 17:24:14 xinetd[126]: Error parsing attribute user - DISABLING SERVICE [file=/opt/etc/xinetd.d/vsftp] [line=7]
    May 9 17:24:14 xinetd[126]: 126 {init_services} no services. Exiting...

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Idiot's guide to setting up bridge mode?
    By tsb4k in forum WL-HDD Q&A
    Replies: 0
    Last Post: 04-09-2005, 00:46
  2. Internet is blocked when WL-500 is enabled
    By Old Harry in forum WL-500g Q&A
    Replies: 2
    Last Post: 22-12-2004, 17:52
  3. Complete webserver+ftp installation
    By seann in forum WL-500g Q&A
    Replies: 9
    Last Post: 19-12-2004, 23:01
  4. detailed logfiles
    By tommy777 in forum WL-500g Q&A
    Replies: 1
    Last Post: 30-05-2004, 21:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •