会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
谁说我是二师兄
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
下一页
2019年9月4日
parted 磁盘分区命令
摘要: https://www.cnblogs.com/onlybobby/p/7018788.html parted命令 和 fdisk命令的区别: fdisk命令是针对MBR分区进行操作,MBR分区因为自身设计原因,不能处理大于2TB的硬盘,并且只能有4个分区。 那么针对大于2TB的硬盘,需要采用GPT
阅读全文
posted @ 2019-09-04 09:56 谁说我是二师兄
阅读(1380)
评论(0)
推荐(0)
2019年7月12日
截图工具 Shutter安装及快捷键设置
摘要: 一、安装1. 添加安装包软件源sudo add-apt-repository ppa:shutter/ppa 2. 更新源并安装sudo apt-get updatesudo apt-get install shutter 二、设置快捷键1. 打开系统设置 -- Keyboard 键盘设置 2. 选
阅读全文
posted @ 2019-07-12 11:47 谁说我是二师兄
阅读(895)
评论(1)
推荐(0)
2019年4月18日
undefined symbol: xxx - undefined reference to `typeinfo
摘要: 最近的项目(so库)用到rocksdb,之前用的rocksdb是4.3.0,编译使用很正常。因为要升级,所以将rocksdb升级到5.13.0。 但是经过修改的项目,编译链接后,ldd -r xx.so 总是会出现 undefine symbol: _ZNVTrocksdb6Logger等之类的错误
阅读全文
posted @ 2019-04-18 16:53 谁说我是二师兄
阅读(3321)
评论(0)
推荐(0)
2019年3月14日
gcc -L、-Wl,-rpath, -Wl,-rpath-link的区别
摘要: 现要在目录 mainDir 下编译库libmain.so, 但是其 依赖于 > libsub.so,sub.so在目录 mainDir / subDir 下,且subDir不在LD_LIBRARY_PATH以及环境变量中。 现有如下执行: 1. gcc -share -o libmain.so ma
阅读全文
posted @ 2019-03-14 12:22 谁说我是二师兄
阅读(3270)
评论(0)
推荐(0)
2019年1月8日
shell获取标准错误
摘要: shell命令有标准输出、标准错误。通常执行命令都只拿到标准输出,对于标准错误则拿不到,但是在console上执行可能会显示。如: fping -c 10 -p 100 10.0.0.11 console会得到以下输出: 10.0.0.11 : [0], 84 bytes, 100 ms (100
阅读全文
posted @ 2019-01-08 14:18 谁说我是二师兄
阅读(1713)
评论(0)
推荐(0)
2018年12月3日
tmux懒人启动和关闭脚本
摘要: tmux启动,选择启动几个window,每个window平均分4个panel 如: 1. 将启动脚本保存到 tmuxs.sh文件中,将关闭脚本保存到tmuxk.sh文件中。 2. 启动终端,执行tmuxs.sh,输入3,将创建3个window,每个window分4个panel 3. 执行tmuxk.
阅读全文
posted @ 2018-12-03 13:46 谁说我是二师兄
阅读(2967)
评论(0)
推荐(1)
2018年11月8日
Linux navicat for postgresql的安装
摘要: 1.到官网 https://www.navicat.com.cn/download/navicat-for-postgresql 下载linux试用版;navicat 在linux上是依赖wine安装,下载的gz文件中包含了wine。 2.解压下载的包到/usr/local中,tar -zxf na
阅读全文
posted @ 2018-11-08 10:17 谁说我是二师兄
阅读(1184)
评论(0)
推荐(0)
2018年10月23日
tmux配置文件.tmux.conf (tmux 2.6)
摘要: 本文是基于tmux 2.6进行的配置,使用tmux -V可查看版本 下面是配置文件内容,在家目录下创建.tmux.conf,并粘贴下面内容保存后,进入tmux, ctrl+b,然后输入命令:source-file ~/.tmux.conf 即可(或 在bash下执行tmux source ~/.tm
阅读全文
posted @ 2018-10-23 10:35 谁说我是二师兄
阅读(15354)
评论(0)
推荐(1)
2018年10月13日
centos yum install 报 “Could not resolve host: mirrorlist.centos.org; Unknown error” 错误
摘要: 一般是因为网络配置错误导致,我的是 在“/etc/resolv.conf”中添加 两行: nameserver 8.8.8.8 nameserver 202.106.0.20 然后从起network服务(service network restart)
阅读全文
posted @ 2018-10-13 10:22 谁说我是二师兄
阅读(7378)
评论(2)
推荐(0)
2018年8月28日
ubuntu开机进入initramit,出现磁盘损坏的问题
摘要: 输入fsck.exit4 -y /dev/sdb7,进行修复
阅读全文
posted @ 2018-08-28 08:03 谁说我是二师兄
阅读(651)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告