Skip to content

hehopmajieh/olinuxino-web-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

olinuxino-web-io

-OLinuXino GPIO Web Interface-

I Installing 1 lighttpd + mod_fastcgi + php-cgi To use olinuxino-web-io , you need web server and php installed. I use lighttpd + mod_fastcgi + php-cgi from Angstrom feeds. Sample lighttpd configuration : In /etc/lighttpd.conf, uncomment mod_fastcgi in server.modules section:

              server.modules              = (

                  #                               "mod_setenv",
                                                      .......
                                                  "mod_fastcgi",  
                  #                                 "mod_proxy",
                  #                          "mod_simple_vhost",
                                                      ........
                  #                               "mod_webdav",
                                                "mod_accesslog" )

And add php configuration to mod_fastcgi :

              fastcgi.server = ( ".php" => ((
                     "bin-path" => "/usr/bin/php-cgi",
                    "socket" => "/tmp/php.socket"
                  )))

Restart lighttpd :

          root@olinuxino:~# /etc/init.d/lighttpd restart

now you must have working php.    

2 Installing OLinuXino Web IO Get olinuxino-web-io sources :

   git clone https://github.com/hehopmajieh/olinuxino-web-io.git

Install GPIO init script :

  cd oliniuxino-web-io/init
  update-rc.d gpio defaults

Copy oplinuxino-web-io files to www root directory :

  cp -a oliniuxino-web-io/web/* /www/pages

To view GPIO pins refer to olinuxino oficial documentation :)

HeHoPMaJIeH hehopmajieh@debian.bg

About

OLinuXino GPIO Web Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published