上一页 1 2 3 4 5 6 7 ··· 77 下一页
摘要: usermod -aG docker testuser 阅读全文
posted @ 2024-06-13 15:20 ahuo 阅读(10) 评论(0) 推荐(0)
摘要: 查看当前大小 journalctl --disk-usage 修改文件 nano /etc/systemd/journald.conf SystemMaxUse=1G 重启服务 systemctl restart systemd-journald 阅读全文
posted @ 2024-06-13 09:47 ahuo 阅读(71) 评论(0) 推荐(0)
摘要: 不是账号的权限问题 修改mysql配置文件 /etc/mysql/mysql.conf.d/mysqld.cnf [mysqld] skip-name-resolve 重启mysql 阅读全文
posted @ 2024-06-06 10:29 ahuo 阅读(13) 评论(0) 推荐(0)
摘要: ####mymount.sh #!/bin/bash echo "mountting..." cp /etc/resolv.conf /Data/Ubuntu_BS/Ubuntu_Base-22.04.3/etc/resolv.conf sudo mount -t proc /proc /Data/ 阅读全文
posted @ 2024-05-20 16:26 ahuo 阅读(13) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-04-26 09:09 ahuo 阅读(23) 评论(0) 推荐(0)
摘要: mv /bin/cat /bin/cat_o ln -s /usr/bin/coreutils /sbin/cat nano /bin/cat #!/bin/bash function CPUinfo { # 在这里编写处理 /proc/cpuinfo 文件并输出结果的代码 local cpuinf 阅读全文
posted @ 2024-04-22 12:37 ahuo 阅读(34) 评论(1) 推荐(0)
摘要: strace -f -ttt -v -s 128 ./test 2>&1 |grep proc 阅读全文
posted @ 2024-04-22 10:47 ahuo 阅读(4) 评论(0) 推荐(0)
摘要: QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFOQMAKE_LFLAGS_RELEASE += $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO 阅读全文
posted @ 2024-04-16 11:59 ahuo 阅读(49) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-04-15 12:48 ahuo 阅读(43) 评论(0) 推荐(0)
摘要: stty -F /dev/ttyS5 115200cat /dev/ttyS5 &echo AT+VER > /dev/ttyS5 阅读全文
posted @ 2024-04-15 10:14 ahuo 阅读(23) 评论(0) 推荐(0)
摘要: import paho.mqtt.client as mqtt from datetime import datetime import threading import time # MQTT Broker设置 BROKER_HOST = "emqx.x.cn" BROKER_PORT = 188 阅读全文
posted @ 2024-04-10 16:41 ahuo 阅读(67) 评论(0) 推荐(0)
摘要: conda install setuptoolsconda update conda 阅读全文
posted @ 2024-04-09 18:32 ahuo 阅读(18) 评论(0) 推荐(0)
摘要: Gerber文件后缀含义 GTL—toplayer顶层 GBL—bottomlayer底层 GTO—TopOverlay顶层丝印层 GBO—Bottomlayer底层丝印层 GTP—TopPaste顶层表贴(做激光模板用) GBP—BottomPaste底层表贴 GTS—Topsolder顶层阻焊( 阅读全文
posted @ 2024-04-08 21:11 ahuo 阅读(2235) 评论(0) 推荐(0)
摘要: 1、安装timeout:opkg install coreutils-timeout 2、进入/etc/netdata 3、使用./edit-config charts.d.conf来编辑配置文件,这个edit-config等于是一个配置工具能够从/usr/lib拉取默认配置过来,在配置里最后加入s 阅读全文
posted @ 2024-03-25 20:45 ahuo 阅读(2301) 评论(0) 推荐(0)
摘要: version: '3' services: ubuntu-lxde-novnc: image: docker-ubuntu-lxde-novnc:latest container_name: ubuntu-lxde-novnc restart: always privileged: true en 阅读全文
posted @ 2024-03-21 16:39 ahuo 阅读(43) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 77 下一页