Skip to content
OLinuXino GPIO Web Interface
PHP JavaScript Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
init
web/io
README.md

README.md

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

Something went wrong with that request. Please try again.