Jumat, 02 Mei 2014

Install Manual Luci Di HG553 Openwrt Dengan Lighttpd

download file ipk yg di butuhkan disini :
- lighttpd
- lighttpd-mod-cgi
- luci-mod-admin-full
- luci-theme-openwrt
- libiwinfo

masuk kan file ipk yang sudah di download ke router di folder /tmp kemudian masuk ke terminal pakai putty
ketik command :

cd /tmp
opkg install *.ipk

setelah file nya terinstall,ketik command untuk mengedit file lighttpd dengan :

vi /etc/lighttpd/lighttpd.conf

edit file lighttpd conf jadi seperti ini :

# lighttpd configuration file
#
server.modules = (
    "mod_cgi"
)

### only root can use these options
#server.chroot               = "/"

######### Options that are good to be but not neccesary to be changed #######
server.port                 = 80
#server.bind                 = "localhost"
server.document-root        = "/www"
server.upload-dirs          = ( "/tmp" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
#server.username             = "www-data"
#server.groupname            = "www-data"
#server.tag                  = "lighttpd"
server.errorlog-use-syslog  = "enable"
#server.network-backend      = "write"

index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm",
                               " index.lighttpd.html" )

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl"

#dir-listing.encoding        = "utf-8"
#server.dir-listing          = "enable"

include       "/etc/lighttpd/mime.conf"
#include_shell "cat /etc/lighttpd/conf.d/*.conf"


command untuk menjalankan lighttpd :

/etc/init.d/lighttpd start
/etc/init.d/lighttpd enable

sekarang buka alamat ip router anda di browser dan luci udah bisa.....



0 komentar:

Posting Komentar