sudo apt-get install raspberrypi-kernel-headers Read More
posted @ 2020-06-09 21:17 kekemuyu Views(710) Comments(0) Diggs(0) Edit
以armv5为例: 1.下载编译链: apt install arm-linux-gnueabi-gcc 2. 配置 配置文件路径:~/.crago/config [target.armv5te-unknown-linux-gnueabi]linker="arm-linux-gnueabi-gcc" Read More
posted @ 2020-06-06 12:02 kekemuyu Views(2320) Comments(0) Diggs(0) Edit
1.简单的Dockerfilke 1 FROM alpine 2 MAINTAINER Aze 3 WORKDIR /go/src/ 4 COPY . . 5 EXPOSE 8777 6 ENTRYPOINT ["./test2/test2"] WORKDIR 是工作目录 COPY . .是将当前目 Read More
posted @ 2020-05-18 14:42 kekemuyu Views(346) Comments(0) Diggs(0) Edit
docker images 进入web容器:docker exec -i -t web bash exit 退出容器 容器信息查看 docker inspect web 拉取镜像 docker pull xxx 运行容器 docker run -it --name=app -p 8080:8000 Read More
posted @ 2020-05-18 13:55 kekemuyu Views(190) Comments(0) Diggs(0) Edit
1.删除分区 sudo fdisk /dev/sdb m # 获取帮助命令 d # 删除分区 n # 新建分区 p # 打印分区表 w # 写入分区表并退出 一定要记得最后的w命令。 2.格式化 sudo mkfs.vfat -L labelname /dev/sdb1 # -L命令是可选,为你的u Read More
posted @ 2020-05-11 18:14 kekemuyu Views(634) Comments(0) Diggs(0) Edit
rustc --print target-list aarch64-fuchsia aarch64-linux-android aarch64-pc-windows-msvc aarch64-unknown-cloudabi aarch64-unknown-freebsd aarch64-unkno Read More
posted @ 2020-05-03 21:57 kekemuyu Views(1026) Comments(0) Diggs(0) Edit
目录在linux/include/generated/utsrelease.h Read More
posted @ 2020-04-08 13:39 kekemuyu Views(1070) Comments(0) Diggs(0) Edit
//void SayHello(const char* s); import "C" import和上边的c声明之间不能有空格 Read More
posted @ 2020-04-06 15:44 kekemuyu Views(567) Comments(0) Diggs(0) Edit
默认绑定ip是 127.0.0.1,不能被外部访问 设置成本地ip才能被其他ip访问 Read More
posted @ 2020-04-03 18:29 kekemuyu Views(1185) Comments(0) Diggs(0) Edit
修改redis.conf文件中 requirepass 123456 Read More
posted @ 2020-04-03 18:27 kekemuyu Views(544) Comments(0) Diggs(0) Edit