Giter Club home page Giter Club logo

raspberry-pie-monitoring's Introduction

这是我的毕业设计,树莓派寝室安防监控, 目录结构即模块说明

├── Pi.py                   #树莓派摄像头及监控启动
├── README.md
├── baidu.py                #文件上传至百度云盘
├── mail.html               #
├── monitor.py
├── notice.py
├── phash.py
├── test
├── top
│   ├── __init__.py
│   ├── __init__.pyc
│   └── api
├── true_notice.py
└── venv
    ├── bin
    ├── include
    ├── lib
    ├── pip-selfcheck.json
    └── share

第一步: 用autossh打通内网控制障碍

树莓派安装autossh,并且生成公钥私钥

sudo apt-get install autossh
ssh-keygen
ssh-copy-id username@server_ip

新建autossh自启动脚本, chmod a+x autossh 并运行, 脚本的内容:

#!/bin/bash
/bin/su -c '/usr/bin/autossh -M 1234 -NR 19999:localhost:22 buhuipao@server_ip -p your_port' - pi &

复制autossh到/etc/init.d/目录下, 执行:

sudo update-rc.d autossh defaults 90

这样就可以在自己的服务器上登录你的树莓派了

ssh -p 19999 pi@localhost

第二步:安装必要的软件

pass

raspberry-pie-monitoring's People

Contributors

buhuipao 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.