Coder Social home page Coder Social logo

robo360 / e-library Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 16.87 MB

A web-server built on top of a raspberry pi or any other small computer, running unix-based operating system.

License: MIT License

CSS 1.46% JavaScript 5.12% HTML 48.69% Python 44.73%
raspberry-pi raspbian dnsmasq hostapd

e-library's Introduction

E-library

A web-server built on top of a raspberry pi or any other small computer, running unix-based operating system.

Requirements

  1. A raspberry pi with raspbian in it

Raspbian is a linux distribution for Raspberry Pi.

  1. Apache

Apache HTTP Server is an http server that we use to launch web files that contains links to the files you want to share.

  1. PHP

A server-side scripting language for the website

  1. Hostapd and dnsmasq

hostapd (host access point daemon) is a user space daemon software enabling a network interface card to act as an access point and authentication server.

More info on hostapd

Dnsmasq provides network infrastructure for small networks: DNS, DHCP, router advertisement and network boot. It is designed to be lightweight and have a small footprint, suitable for resource constrained routers and firewalls. It has also been widely used for tethering on smartphones and portable hotspots, and to support virtual networking in virtualisation frameworks. Supported platforms include Linux (with glibc and uclibc), Android, *BSD, and Mac OS X. Dnsmasq is included in most Linux distributions and the ports systems of FreeBSD, OpenBSD and NetBSD. Dnsmasq provides full IPv6 support.

More info on dnsmasq

Turning a raspberry pi into file-server

Step 1: Install Raspbian on a raspberry Pi

For this step, Follow the official guide to install raspbian on a raspberry pi

Install Raspbian-official guide

Step 2:Install Apache HTTP Server and PHP

After installing raspbian, install php and apache http server using the following commands.

sudo apt-get install apache2 -y sudo apt-get install php libapache2-mod-php -y

Note: for these commands to run correctly WIFI should be on.

Step 3:Turn a raspberry pi into a stand-alone network access point

This following guide works you through installing hostapd and dnsmasq.

Install guide

Step 4: Finalize

Download the web and copy the files into var/www/html

e-library's People

Contributors

robo360 avatar techcrab101 avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.