上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页
摘要: mount -o remount,rw /system 调整挂载选项位置则正常 mount -o rw,remount /system 阅读全文
posted @ 2020-10-28 14:09 wolbo 阅读(406) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: git rm --cached *.xxx 阅读全文
posted @ 2020-09-30 23:41 wolbo 阅读(74) 评论(0) 推荐(0)
摘要: 每天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)
摘要: #!/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)
摘要: 修改密码相关 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 下一页