随笔分类 -  操作系统_树莓派的使用

摘要:1、源码编译安装 x264 wget https://codeload.github.com/qupai/x264/zip/master ./configure \ disable shared enable static \ enable strip \ disable cli 安装: sudo 阅读全文
posted @ 2020-02-25 15:41 zhaocundang 阅读(3853) 评论(0) 推荐(0) 编辑
摘要:首先需要下载 nginx 1.8.1 : http://nginx.org/download/nginx 1.8.1.tar.gz nginx rtmp module : https://github.com/arut/nginx rtmp module 安装nginx 1.安装nginx 1.8. 阅读全文
posted @ 2020-02-24 20:51 zhaocundang 阅读(1029) 评论(0) 推荐(0) 编辑
摘要:在boot 分区创建空的ssh文件 阅读全文
posted @ 2020-02-23 17:10 zhaocundang 阅读(1286) 评论(0) 推荐(0) 编辑
摘要:``` 法1 apt-get install tzdata sudo dpkg-reconfigure tzdata ``` ``` 法2 sudo raspi-config 选择时区 shanghai ``` 阅读全文
posted @ 2019-06-07 14:52 zhaocundang 阅读(504) 评论(0) 推荐(0) 编辑
摘要:个人拥有的设备是: 树莓派2b 默认的用户名: pi 默认的密码是: raspberry 阅读全文
posted @ 2019-06-04 22:49 zhaocundang 阅读(7199) 评论(0) 推荐(0) 编辑
摘要:footer 阅读全文
posted @ 2018-07-24 15:46 zhaocundang 阅读(416) 评论(0) 推荐(0) 编辑
摘要:extra / httpd vhost.conf httpd.conf httpd mpm.conf 为apache连接数配置 阅读全文
posted @ 2018-07-24 15:44 zhaocundang 阅读(2975) 评论(0) 推荐(0) 编辑
摘要:1.安装apr 1.6.3.tar.gz apr util 1.6.1.tar.bz2 httpd 2.4.34.tar.gz (源码包下载centos7的就行,树莓派版本官方debian) 2.问题:fatal error: expat.h: No such file or directory i 阅读全文
posted @ 2018-07-22 22:27 zhaocundang 阅读(773) 评论(0) 推荐(0) 编辑
摘要:参考: sudo mysql u root p select Host,User,plugin from mysql.user where User='root'; plugin(加密方式)是unix_socket 需要做一下修改: update mysql.user set plugin='mys 阅读全文
posted @ 2018-07-16 00:40 zhaocundang 阅读(1648) 评论(0) 推荐(0) 编辑
摘要:1.安装 apt-get install nfs-common nfs-kernel-server 省略(sudo apt-get install portmap >install rpcbind ) 2.mkdir /mnt/sda1/ 3.vim /etc/exports /mnt/sda1 * 阅读全文
posted @ 2018-05-18 14:58 zhaocundang 阅读(942) 评论(0) 推荐(1) 编辑
摘要:硬盘文件全是中文字符,让树莓派支持 sudo apt-get install ttf-wqy-zenhei sudo apt-get install ttf-wqy-zenhei sudo apt-get install ttf-wqy-zenhei sudo apt-get install ttf 阅读全文
posted @ 2018-05-18 12:02 zhaocundang 阅读(549) 评论(0) 推荐(0) 编辑
摘要:vim /etc/dhcpcd.conf 修改如下 interface eth0 static ip_address=192.168.1.177/24 static routers=192.168.1.1 static domain_name_servers=114.114.114.114 阅读全文
posted @ 2018-05-17 10:04 zhaocundang 阅读(2109) 评论(0) 推荐(0) 编辑
摘要:永久修改主机名: 阅读全文
posted @ 2018-05-17 09:38 zhaocundang 阅读(434) 评论(0) 推荐(0) 编辑
摘要:先安装配置好apache apt get install apache2 /etc/init.d/apache2 start (blog passage from http://www.cnblogs.com/xiaobo Linux/p/8988378.html) 1.下载jdk SE 官网下载 阅读全文
posted @ 2018-05-04 00:01 zhaocundang 阅读(1624) 评论(0) 推荐(0) 编辑
摘要:夏天快要到了,树莓派cpu温度飙升50度,来个降温方法: 三极管连接方式: http://www.cnblogs.com/zhaocundang/p/8969604.html 三极管相当于一个开关,类似继电器,弱点控制强电。 shell脚本 丢到后台 开启自动启动: vim /etc/rc.loca 阅读全文
posted @ 2018-04-28 21:08 zhaocundang 阅读(540) 评论(0) 推荐(0) 编辑
摘要:from http://www.cnblogs.com/xiaobo-Linux/p/8969324.html 命令行控制LED灯 echo 12 > /sys/class/gpio/export 写入输出口cd /sys/class/gpio/ gpio12/进入这个端口主要的2个文件 direc 阅读全文
posted @ 2018-04-28 19:16 zhaocundang 阅读(247) 评论(0) 推荐(0) 编辑
摘要:个人配置树莓派监控Motion相关的事情 from:http://www.cnblogs.com/zhaocundang/p/8870083.html 安装:apt-get install motion -y 编辑配置文件 vim /etc/motion/motion.cnf daemon on # 阅读全文
posted @ 2018-04-17 21:17 zhaocundang 阅读(2439) 评论(0) 推荐(0) 编辑
摘要:0 6 * * * sh /email/ip.sh 阅读全文
posted @ 2018-03-29 21:16 zhaocundang 阅读(783) 评论(0) 推荐(0) 编辑
摘要:iwlist scan sudovim /etc/wpa_supplicant/wpa_supplicant.conf network={ ssid="WIFINAME" psk="password" } sudo /etc/init.d/networking restart 阅读全文
posted @ 2018-03-29 18:00 zhaocundang 阅读(1870) 评论(0) 推荐(0) 编辑
摘要:$ sudo nano /etc/apt/sources.list deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretc... 阅读全文
posted @ 2018-03-27 20:32 zhaocundang 阅读(275) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示