上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: 执行下面命令启动docker Ubuntu docker container run -it -p 80:8000 ubuntu 进入Ubuntu容器中 root@6c76b77bfdb4:apt update root@6c76b77bfdb4:apt install vim xz-utils b 阅读全文
posted @ 2022-10-10 18:29 simp00 阅读(212) 评论(0) 推荐(0)
摘要: 1 在buildroot中添加 切换到rv1126_rv1109_20210616/buildroot/output/rockchip_rv1126_rv1109$ make ntp-reconfigure make ntp-rebuild 这里就会把ntpd 安装到target 文件系统里面 然后 阅读全文
posted @ 2022-10-10 16:30 simp00 阅读(919) 评论(0) 推荐(0)
摘要: #删除网关信息 route del default > /dev/null #设置ip 地址 网关 掩码 ifconfig eth0 192.168.1.240 netmask 255.255.255.0 up;route add default gw 192.168.1.1; 阅读全文
posted @ 2022-09-28 16:36 simp00 阅读(29) 评论(0) 推荐(0)
摘要: OBJS= $1.o CC=gcc CFLAGS+=-Wall -g $1:$(OBJS) $(CC) $^ -o $@ %.o:%.c $(CC) $^ $(CFLAGS) -o $@ clean: $(RM) *.o $1 -r 可实现 server.c make server 直接生成serv 阅读全文
posted @ 2022-09-26 17:29 simp00 阅读(25) 评论(0) 推荐(0)
摘要: Makefile OBJS=main.o tool1.o tool2.o CC=gcc CFLAGS+=-c -Wall -g mytool:$(OBJS) $(CC) $^ -o $@ %.o:%.c $(CC) $^ $(CFLAGS) -o $@ clean: $(RM) *.o mytool 阅读全文
posted @ 2022-09-24 09:49 simp00 阅读(169) 评论(0) 推荐(0)
摘要: How to Install and Configure an NFS Server on Ubuntu 22.04 https://linuxhint.com/install-and-configure-nfs-server-ubuntu-22-04/ 使用的是buildroot生成的linux操 阅读全文
posted @ 2022-09-08 14:06 simp00 阅读(122) 评论(0) 推荐(0)
摘要: 获取当makefile 路径 SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))#获取最近使用Makefile的路径 ROOT_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))#获取最近使用Mak 阅读全文
posted @ 2022-09-02 11:07 simp00 阅读(30) 评论(0) 推荐(0)
摘要: #python 运行时参数设置 import argparse # Press the green button in the gutter to run the script. if __name__ == '__main__': parser = argparse.ArgumentParser( 阅读全文
posted @ 2022-08-23 18:16 simp00 阅读(99) 评论(0) 推荐(0)
摘要: 安装程序下载链接 https://github.com/winsw/winsw/releases/tag/v2.11.0 修改文件名 这里我就下载了红框中的两个 下载完成之后 修改这两个文件的名称为 nginxService.xml nginxService.exe 我这里是使用的Nginx 所以就 阅读全文
posted @ 2022-08-19 17:13 simp00 阅读(226) 评论(0) 推荐(0)
摘要: 缺少什么就装什么 pip install PyPDF2 from PyPDF2 import PdfFileWriter, PdfFileReader def pdf_split(pdf_in,pdf_out,start,end): # 初始化一个pdf output = PdfFileWriter 阅读全文
posted @ 2022-08-16 10:11 simp00 阅读(36) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页