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

树莓派中定时执行任务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) 浏览(2202)

linux树莓派计算圆周率

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

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

阅读全文>>

标签: 树莓派计算圆周率

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

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) 浏览(3228)

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) 浏览(2777)

openssh 22 fatal: No supported key exchange algorithms [preauth]

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

SSH客户端方面:当你尝试SSH到一台远程主机时,你没有看见登录屏幕,你的SSH连接就立即关闭,并提示此消息:“Connection closed by X.X.X.X”。

SSH服务器方面:在系统日志中,你看到如下错误消息(如,在Debian/Ubuntu上,/var/log/auth.log)。

  1. Oct1608:59:45 openstack sshd[1214]: error:Couldnot load host key:/etc/ssh/ssh_host_rsa_key
  2. Oct1608:59:45 openstack sshd[1214]: error:Couldnot load host key:/etc/ssh/ssh_host_dsa_key
  3. Oct1608:59:45 opensta...

阅读全文>>

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


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