摘要: 1.checksum mismatch verifying github.com/tjfoc/gmsm@v1.3.0: checksum mismatch downloaded: h1:i7c6Za/IlgBvnGxYpfD7L3TGuaS+v6oGcgq+J9/ecEA= go.sum: h1:q 阅读全文
posted @ 2020-05-14 00:59 boybai 阅读(613) 评论(0) 推荐(0) 编辑
摘要: sudo apt install sambasudo apt install smbclientsudo smbpasswd -a pi //添加用户 需要设置密码sudo systemctl restart smbd 阅读全文
posted @ 2020-05-10 21:19 boybai 阅读(278) 评论(0) 推荐(0) 编辑
摘要: nginx 和 php超时设置nginx.conf http节: keepalive_timeout 600; #客户端浏览器超时时间fastcgi_connect_timeout 600; #php-fpm连接超时时间(等待php执行的最长时间,超过这个会向浏览器返回504或502)fastcgi 阅读全文
posted @ 2020-05-09 14:18 boybai 阅读(747) 评论(0) 推荐(0) 编辑
摘要: delimiter //drop procedure if exists test;create procedure test()begin declare old_exp int; # 声明变量 declare temp_id int; declare old_color int; declare 阅读全文
posted @ 2020-05-08 18:08 boybai 阅读(150) 评论(0) 推荐(0) 编辑
摘要: ubuntu 源码下载分析 //下载对应的内核代码git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/$(lsb_release -cs) //找到当前运行的Ubuntu的精确版本号。 Ubuntu 5 阅读全文
posted @ 2020-04-16 14:25 boybai 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 小米R3G openwrt交叉编译 整体流程: 1.去openwrt官网下载对应的交叉编译sdk,用c语言测试ok 2.设置rust 为nightly版本,并用xargo代替cargo构建项目(因为rust正式版的target不支持mipsel-unknown-linux-uclibc) 3.有的r 阅读全文
posted @ 2020-03-16 16:37 boybai 阅读(1864) 评论(1) 推荐(0) 编辑
摘要: 安装rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh export RUSTUP_DIST_ROOT=https://mirrors.ustc.edu.cn/rust-static rustup 国内源 expor 阅读全文
posted @ 2020-03-11 18:24 boybai 阅读(369) 评论(0) 推荐(0) 编辑
摘要: gunzip lede-17.01.0-r3205-59508e3-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gzdiskutil lista56爆大奖在线娱乐的Micro SD显示是disk3diskutil umountDisk disk3sudo dd if=lede-17. 阅读全文
posted @ 2020-01-13 15:47 boybai 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 1.使系统可写 mount -o remount -rw / 2.OpenWrt使用dropbear作为服务端,~/.ssh/authorized_keys并不生效。其实,dropbear的公钥存储文件是600权限的 /etc/dropbear/authorized_keys文件 3.golang 阅读全文
posted @ 2020-01-08 15:29 boybai 阅读(1411) 评论(0) 推荐(0) 编辑
摘要: 环境变量配置 .zshrc export GOROOT=/usr/local/goexport GOPATH=$HOME/gocodeexport PATH=$PATH:$GOROOT/bin:$GOPATH/bin 设置代理 //https://goproxy.io/zh/ go env -w G 阅读全文
posted @ 2020-01-07 13:38 boybai 阅读(1144) 评论(0) 推荐(0) 编辑