Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

OLinuXino GPIO Web Interface

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 init
Octocat-spinner-32 web
Octocat-spinner-32 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.