2022年6月14日

摘要: 修改/etc/network/interfaces auto eth0iface eth0 inet staticaddress 192.168.6.6netmask 255.255.0.0gateway 192.168.6.1 auto eth0:1iface eth0:1 inet static 阅读全文
posted @ 2022-06-14 15:25 DuoRuaiMi4567 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 查看cpu温度 cat /sys/devices/virtual/thermal/thermal_zone0/temp cat /sys/devices/virtual/thermal/thermal_zone1/temp 查看CPU频率cat /sys/devices/system/cpu/cpu 阅读全文
posted @ 2022-06-14 14:35 DuoRuaiMi4567 阅读(1933) 评论(0) 推荐(0) 编辑

2022年6月2日

摘要: 修改interfaces 文件 增加 添加路由脚本 # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source-directory /etc/net 阅读全文
posted @ 2022-06-02 18:38 DuoRuaiMi4567 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 硬链接(Hard Link): 硬连接指通过索引节点来进行链接(即一个指针指向文件索引节点)。在Linux的文件系统中,保存在磁盘分区中的文件不管是什么类型都给它分配一个编号,称为索引节点号(Inode Index)。在Linux中,多个文件名指向同一索引节点是存在的。一般这种链接就是硬链接。硬链接 阅读全文
posted @ 2022-06-02 10:09 DuoRuaiMi4567 阅读(1632) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # filename: reader.sh # 逐行读取管道中的内容 pipe=/tmp/testpipe trap "rm -f $pipe" EXIT if [[ ! -p $pipe ]]; then mkfifo $pipe fi while true do if r 阅读全文
posted @ 2022-06-02 09:51 DuoRuaiMi4567 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 根据linux 系统类型和版本 来添加启动项 Debian10 开机自启动脚本,统服务的管理是通过systemd来完成的,而systemd的配置文件大部分放置于/lib/systemd/system目录中 建议直接在 /etc/rc.local 中添加开机启动项 参考 :https://blog.c 阅读全文
posted @ 2022-06-02 09:43 DuoRuaiMi4567 阅读(202) 评论(0) 推荐(0) 编辑
摘要: udev 设备管理器 Udev 是 Linux 2.6 内核的设备管理器,它动态地在 /dev 目录中创建/删除设备节点。它是 devfs 和 hotplug 的继承者。它在用户空间运行,用户可以使用 Udev 规则更改设备名称。 Udev 依赖于 2.5 内核中引入的 sysfs 文件系统。sys 阅读全文
posted @ 2022-06-02 09:32 DuoRuaiMi4567 阅读(808) 评论(0) 推荐(0) 编辑

2022年5月20日

摘要: https://zhuanlan.zhihu.com/p/73590690 https://www.jianshu.com/p/2ad389e91467 https://blog.csdn.net/weixin_40240670/article/details/86483896 https://st 阅读全文
posted @ 2022-05-20 17:50 DuoRuaiMi4567 阅读(4) 评论(0) 推荐(0) 编辑
摘要: swin transformer-1 swin transformer-2 swin transformer-3 Transformer-1 Transformer-2 残差网络(ResNet)-1 批标准化 (Batch Normalization) Attention-1 Attention-2 阅读全文
posted @ 2022-05-20 09:21 DuoRuaiMi4567 阅读(22) 评论(0) 推荐(0) 编辑

2022年5月13日

摘要: 出现问题: sudo susudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"sudo: /usr/lib/sudo/sudoers.so must be only be writable by own 阅读全文
posted @ 2022-05-13 13:20 DuoRuaiMi4567 阅读(2064) 评论(0) 推荐(0) 编辑