兔八哥极品软件园    运行: 2881天 | 文章:590 篇 | 评论:590 条 | 碎语:1条

树莓派自动挂载移动硬盘U盘

作者:admin 发布于:2019-7-30 23:39 Tuesday 分类:网络转载

https://www.raspberrypi.org/forums/viewtopic.php?t=205016

 

 

 

1.sudo apt-get install usbmount
2.#changing MountFlags=slave to MountFlags=shared here
sudo nano /lib/systemd/system/systemd-udevd.service
3.reboot

ps: ntfs 格式需要先执行下面的命令
sudo apt-get install ntfs-3g

阅读全文>>

评论(0) 引用(0) 浏览(524)

树莓派中定时执行任务crontab

作者:admin 发布于:2019-7-30 21:20 Tuesday 分类:网络转载

crontab -e

*/1 * * * *  /home/my.sh     #每分钟执行一次
cron start/stop/restart/status
#树莓派是cron 我记得在ubuntu 和centos 中式crond

阅读全文>>

标签: crontab

评论(0) 引用(0) 浏览(457)

linux树莓派计算圆周率

作者:admin 发布于:2019-7-30 18:59 Tuesday 分类:网络转载

time echo "scale=5000; 4*a(1)" | bc -l -q

阅读全文>>

标签: 树莓派计算圆周率

评论(0) 引用(0) 浏览(447)

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/cn.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources Hash Sum mismatch

作者:admin 发布于:2019-3-1 22:25 Friday 分类:网络转载

解决方法:
将 /var/lib/apt/lists/partial/  下的所有文件删除

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/cn.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources  Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/cn.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources  Hash Sum mismatch

W: Failed to fetch ...

阅读全文>>

评论(0) 引用(0) 浏览(583)

perl: warning: Setting locale failed.

作者:admin 发布于:2019-2-27 23:36 Wednesday 分类:网络转载

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_TIME = "zh_CN.UTF-8",
    LC_MONETARY = "zh_CN.UTF-8",
    LC_ADDRESS = "zh_CN.UTF-8",
    LC_TELEPHONE = "zh_CN.UTF-8",
    LC_NAME = "zh_CN.UTF-8",
    LC_MEASUREMENT = "zh_CN.UTF-8...

阅读全文>>

评论(0) 引用(0) 浏览(487)


Powered by 兔八哥极品软件 苏ICP备12049267号 sitemap