随笔 - 156  文章 - 1  评论 - 30  阅读 - 14万
05 2017 档案
解决ssh连接慢,挂起在SSH2_MSG_SERVICE_ACCEPT信息之后很久的问题
摘要:问题现象:无论是ssh 还是 scp 都会连接很久才提示输认证信息(注意:是连接慢) 如本机IP:192.168.18.208 (Hostname: ThinkPad) 目标主机:192.168.18.100 通过添加 -v 参数(ssh -v name@192.168.18.100 | scp - 阅读全文
posted @ 2017-05-27 14:34 wzc0066 阅读(3705) 评论(0) 推荐(0) 编辑
Ubuntu 16.04更新grub-pc提示脚本/var/lib/dpkg/info/grub-pc.postinst 执行错误
摘要:错误信息: 可以看出是/var/lib/dpkg/info/grub-pc.postinst 的703行 fi 语法异常。 跟703行对应的if语句是699行: 仔细观察,发现then前缺少一个";",所以修改为: 即可重新完成upgrade操作。 阅读全文
posted @ 2017-05-22 09:55 wzc0066 阅读(1095) 评论(0) 推荐(0) 编辑
switch_root vs pivot_root vs chroot【转】
摘要:Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the root direc 阅读全文
posted @ 2017-05-17 10:25 wzc0066 阅读(1035) 评论(0) 推荐(0) 编辑
mount的几个选项
摘要:一、mount -o noatime表示在读文件时不去更改文件的access time属性了,所以该选项会提升mount操作的执行效率。二、mount --bind:等同于 -o bind可用于挂载文件到另一文件,或目录到另一目录,便于测试只读文件系统或不想覆盖的文件等。假设我们要改的文件是/etc 阅读全文
posted @ 2017-05-16 16:49 wzc0066 阅读(2449) 评论(0) 推荐(0) 编辑
overlay fs挂载及操作测试
摘要:overlayfs是目前使用比较广泛的层次文件系统,实现简单,性能较好,可以充分利用不同或则相同overlay文件系统的page cache,具有 上下合并 同名遮盖 写时拷贝 等特点。 一个 overlay 文件系统包含两个文件系统,一个 upper 文件系统和一个 lower 文件系统。lowe 阅读全文
posted @ 2017-05-16 14:22 wzc0066 阅读(1045) 评论(0) 推荐(0) 编辑
安装Python 库软件时提示"setuptools must be installed to install from a source distribution"错误
摘要:通过如下方式安装: 如果提示pip命令没找到,需要先安装python-pip. 阅读全文
posted @ 2017-05-05 11:58 wzc0066 阅读(716) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示