会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AABBOO
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
21
下一页
2020年10月28日
adb 挂载/system 提示设备忙
摘要: mount -o remount,rw /system 调整挂载选项位置则正常 mount -o rw,remount /system
阅读全文
posted @ 2020-10-28 14:09 wolbo
阅读(406)
评论(0)
推荐(0)
2020年10月13日
根据已有目录结构从目标目录中提取
摘要: echo $# if [ $# -lt 2 ]; then echo "input basis folder base:" read src echo "input target folder base:" read target echo "input output folder base:" r
阅读全文
posted @ 2020-10-13 17:55 wolbo
阅读(151)
评论(0)
推荐(0)
2020年10月6日
promise的then
摘要: 1 promise 的then传入非函数 会被忽略 2 promise 的then传入函数不带返回值,下一个then会拿到undefined 参考: 1 https://segmentfault.com/a/1190000010420744 promise 与 observable区别 https:
阅读全文
posted @ 2020-10-06 10:20 wolbo
阅读(112)
评论(0)
推荐(0)
2020年10月5日
rsync 指定端口
摘要: rsync -e 'ssh -p2020' -av /boot/vmlinuz.img-5.4.0-49-generic root@192.168.1.99:/nfsroot/rootfs/initrd.img
阅读全文
posted @ 2020-10-05 23:35 wolbo
阅读(3212)
评论(0)
推荐(0)
apt-get 安装nfs-server
摘要: 1 安装软件 rpcbind又叫portmap apt-get install nfs-kernel-server nfs-common rpcbind 2 配置nfs目录 mkdir -p /nfsroot/rootfs root@raspberrypi:/opt/docker/seafile#
阅读全文
posted @ 2020-10-05 21:24 wolbo
阅读(1259)
评论(0)
推荐(0)
grub2 安装到upan
摘要: 1 U盘分区 使用mbr分区表 2 挂载U盘 mkdir /mnt/boot && mount /dev/sdX1 /mnt/boot 3 安装grub2到 U盘 # BIOS grub-install --target=i386-pc --recheck --boot-directory=/mnt
阅读全文
posted @ 2020-10-05 19:45 wolbo
阅读(199)
评论(0)
推荐(0)
2020年9月30日
git 已经版本控制的文件需要忽略
摘要: git rm --cached *.xxx
阅读全文
posted @ 2020-09-30 23:41 wolbo
阅读(74)
评论(0)
推荐(0)
2020年9月22日
crontab相关
摘要: 每天0点备份 4点还原 SHEll=/bin/sh* 0 * * * /opt/backup.sh > /opt/log/backup0.log 2>&1 * 4 * * * /opt/restore.sh > /opt/log/restore4.log 2>&1 分钟 小时 日 月 星期 [用户]
阅读全文
posted @ 2020-09-22 13:24 wolbo
阅读(111)
评论(0)
推荐(0)
2020年9月21日
递归统计文件夹下文件个数
摘要: #!/bin/sh find /cicd/BuildRoot -maxdepth 1 -type d | while read dir; do count=$(find "$dir" -type f | wc -l) echo "$dir : $count" done
阅读全文
posted @ 2020-09-21 10:22 wolbo
阅读(429)
评论(0)
推荐(0)
2020年9月12日
mysql 8.0.21 10061 unknown error
摘要: 修改密码相关 1 配置文件中my.cnf 的配置项msqld下面增加 skip-grant-tables 2 mysql -u root 登进去 切换mysql数据库 use mysq 密码置空 UPDATE user SET authentication_string = '' WHERE Use
阅读全文
posted @ 2020-09-12 13:06 wolbo
阅读(1894)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
21
下一页
公告