raspberry

以下是为您整理出来关于【raspberry】合集内容,如果觉得还不错,请帮忙转发推荐。

【raspberry】技术教程文章

玩转树莓派-Raspberry,在2代B版上装nodejs和phonegap【代码】

下载Nodejs 创建一个新的目录去存放下载的Nodejs文件,在这里我们创建了一个‘nodes_download‘目录。注* 通过 http://nodejs.org/dist 查看最新版。并不是所有最新版的NodeJS都能在树莓派上使用,因为有些没有正确地指定ARM的指令集。树莓派二代已经可以完全正常使用了,本人亲测,把过程分享如下。注意:树莓派一代使用0.12版本的nodejs,因为是ARM v6指令集的CPU,但Chriumun V8最版JavaScript引擎,可能使用了一些ARM v7的功能...

Raspberry Pi + 3个USB摄像头 + Motion(简易监控设备配置记录1——介绍以及安装)【代码】

参考: Debian官网链接Motion官网链接首先,参见Debian官网链接对Motion的介绍,网页中包含了所有相关依赖包,请首先确保这些依赖包的安装。Motion介绍摘出对Motion的介绍部分。如下: Package: motion (3.2.12-3.4)V4L capture program supporting motion detectionMotion is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the picture has changed. Or i...

【树莓派】【转】将树莓派Raspberry Pi设置为无线路由器(WiFi热点AP,RTL8188CUS芯片)【代码】【图】

下文为转载,文章转自:http://wangye.org/blog/archives/845/,仅供本次学习实践参考。最近又开始折腾起Raspberry Pi来了,因为某处上网需要锐捷拨号,于是我就想能不能让我的树莓派代劳,当然首先要将其改造为路由器,默认自带的网口作为WAN口,我们还缺一个网口,木有办法,只好占用一个USB口,接上一个USB网卡,网上的USB转RJ45网线口的适配器比较少,价格也不便宜,于是就考虑干脆将其改造成无线路由,也符合时下高端大气上档...

设置Raspberry Pi开机启动

树莓派程序开机启动设置。关于开机启动,我在网上找的一个教程,然后照着做了一次。需要开机启动的程序是自己写的我的是一个数据传输的程序,名字为 trans.py 开机启动脚本,保存在/etc/init.d目录下面:#!/bin/bash# /etc/init.d/trans### BEGIN INIT INFO# Provides: xiaofeng# Required-Start: $remote_fs $syslog# Required-Stop: $remote_fs $syslog# Default-Start: 2 3 4 5# Default-Stop: 0 1 6# Short-Description: trans...

【Raspberry pi】set up an ftp server

http://www.debian-administration.org/articles/228As a means of distributing large collections of files FTP is still a popular choice, despite the rise of bittorrent, and the growing number of HTTP servers.FTP is an often overlooked method of storing and giving access to files, in many cases FTP servers have been retired in place of webservers such as Apache.But there are a lot of cases where o...

Raspberry Pi开发之旅-同步时间

使用htpdate同步时间由于树莓派板子上没有 RTC 硬件和电池,因此树莓派上的系统时间重启是保存不了的。网上已经有人想到应对 NTP 被防火墙封掉类似的需求了,开源的 htpdate 命令直接使用 HTTP 协议来进行系统时间同步,项目主页在这里:https://github.com/iridium77/htpdatehtpdate 的原理也非常简单,直接解析 HTTP 协议头中的服务器时间信息,然后设置本地时间,我们来看百度返回的 HTTP 头:HTTP/1.1 200 OKDate Mon, 13 Oct ...

树莓派3 Raspberry系统安装samba【代码】

默认Raspberry不自带samb,需要手动安装。如果默认的rasp源不好用的话,可以使用下面从网上找的:deb http://mirrors.cqu.edu.cn/Raspbian/raspbian wheezy main contrib non-free rpi deb-src http://mirrors.cqu.edu.cn/Raspbian/raspbian/ wheezy main contrib non-free rpi deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbi...

[Raspberry]使用笔记

1.更换Rasbian的默认apt-get源sudo vi /etc/apt/sources.list deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy ...

使用类似于raspberry的方式登录ubuntu20.04--vnc

简介我看过最好的教程是https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04常用命令ssh -L 59000:localhost:5901 -C -N -l lee 192.168.31.26‘ 记得vnc配置的是 127.0.0.1:59000原文:https://www.cnblogs.com/eat-too-much/p/14255897.html

树莓派(Raspberry Pi)搭建简单的lamp服务

树莓派(Raspberry Pi)搭建简单的lamp服务;1. LAMP 的安装sudo apt-get install apache2 mysql-server mysql-client php5 php5-gd php5-mysql–安装mysql、apache、phpsudo chmod 777 /var/www/–设置web目录的权限2. phpmyadmin 安装sudo apt-get install phpmyadmin–安装后选择apache23.配置sudo a2enmod rewrite–启用 apahce 的 mod_rewrite 模块sudo ln -s /usr/share/phpmyadmin /var/www 建立连接把apache和phpmyadmin结合...