davee_x

导航

随笔分类 -  Linux

1 2 下一页

explor img file
摘要:1, get offset get the ext4 partation offset 4194304 or u can use fdisk: the offset is 8192(sectors) * 512 = 4194304 Byte 2,mount 阅读全文

posted @ 2017-11-30 09:59 Wigde.Xiao 阅读(156) 评论(0) 推荐(0) 编辑

vim 配置
摘要:0,base packages: 1,nerdtree packages: vimrc: 2,powerline packages: vimrc: 3,taglist packages: vimrc: 4,ctags packages: usage: 5,cscope packages: usage 阅读全文

posted @ 2017-09-19 15:10 Wigde.Xiao 阅读(120) 评论(0) 推荐(0) 编辑

chrome gnome extension "Native host has exited."
摘要:pip install requests --upgrade 阅读全文

posted @ 2017-05-20 08:14 Wigde.Xiao 阅读(1365) 评论(0) 推荐(0) 编辑

[转]bash快捷键
摘要:转自: https://ileler.gitbooks.io/note/content/blog/linux/%E8%AE%A9%E4%BD%A0%E6%8F%90%E5%8D%87%E5%91%BD%E4%BB%A4%E8%A1%8C%E6%95%88%E7%8E%87%E7%9A%84-bash 阅读全文

posted @ 2017-03-03 08:39 Wigde.Xiao 阅读(144) 评论(0) 推荐(0) 编辑

fc23升级fc24及字体问题解决
摘要:1,升级fc23到最新 2,安装dnf系统升级插件 3,下载fc24包,忽略无法解决依赖关系的包 4,重启进入系统升级模式 有问题参考: https://fedoraproject.org/wiki/DNF_system_upgrade#Resolving_post-upgrade_issues * 阅读全文

posted @ 2016-10-11 21:38 Wigde.Xiao 阅读(249) 评论(0) 推荐(0) 编辑

run VLC in root
摘要:sed -i 's/geteuid/getppid/' /usr/bin/vlc 阅读全文

posted @ 2016-09-29 10:03 Wigde.Xiao 阅读(162) 评论(0) 推荐(0) 编辑

[转]bash快捷键
摘要:生活在 Bash shell 中,熟记以下快捷键,将极大的提高你的命令行操作效率。 编辑命令 Ctrl + a :移到命令行首 Ctrl + e :移到命令行尾 Ctrl + f :按字符前移(右向) Ctrl + b :按字符后移(左向) Alt + f :按单词前移(右向) Alt + b :按 阅读全文

posted @ 2016-08-26 16:25 Wigde.Xiao 阅读(204) 评论(0) 推荐(0) 编辑

util-linux编译unknown architecture 'BSD_LABELSECTOR' undeclared错误
摘要:------------------------------------------------------------------------------ In file included from fdiskbsdlabel.c:62:0: fdiskbsdlabel.h:61:2: error: #error unknown architecture fdiskbsdlabel.c: In... 阅读全文

posted @ 2016-08-18 14:16 Wigde.Xiao 阅读(705) 评论(1) 推荐(0) 编辑

kmod编译找不到函数kmod_log
摘要:编译报错: 解决办法,将kmod_log函数引出 patch: 阅读全文

posted @ 2016-08-18 14:12 Wigde.Xiao 阅读(433) 评论(0) 推荐(0) 编辑

Manjaro mirror in china
摘要:1, mirrot file: /etc/pacman.d/mirrorlist 2, 阅读全文

posted @ 2016-08-11 16:51 Wigde.Xiao 阅读(979) 评论(0) 推荐(0) 编辑

gnome3.X添加开机启动项
摘要:背景:升级gnome后发现gnome-session-properties不见了,想把sslocal随机启动遇到了麻烦。。。 特别说明:此为图形桌面开机启动项,因此只有通过图形桌面登陆用户后才能启动。 以下为加入sslocal为例 1,/usr/share/applications/sslocal. 阅读全文

posted @ 2016-06-03 21:11 Wigde.Xiao 阅读(899) 评论(0) 推荐(0) 编辑

ssh无密钥登陆的简单配置
摘要:主要目的是把本地的公钥放到远端被登陆的host上。 本地操作: 远端sshd_config配置: 加速登陆速度的配置(远端): done! 阅读全文

posted @ 2016-03-03 11:07 Wigde.Xiao 阅读(207) 评论(0) 推荐(0) 编辑

ESXi虚拟磁盘共享
摘要:因为项目需要需要一个磁盘共享的环境。 最先想到用iSCSI,两个客户端挂载同一个远端盘;这样确实可行,但是感觉太繁琐,想到既然是虚拟机环境,可以设置虚拟磁盘共享。 于是网上一番搜罗,确实有人这个做过,一下是鄙人的操作步骤记录: ESXi版本6.0.0 1,通过ESXi客户端打开ssh服务,ssh登陆 阅读全文

posted @ 2016-02-16 15:09 Wigde.Xiao 阅读(5758) 评论(0) 推荐(0) 编辑

更换内核后重编virtualbox内核模块
摘要:这些天编译了一个4.1.15内核,因此vb原来的模块就不能用了,因此要重新编译(当然,reinstall也可以,觉得大动干戈,不符合个人做事风格) 如果不重编运行会有如下错误提示: # virtualbox & [1] 3383 # WARNING: The vboxdrv kernel modul 阅读全文

posted @ 2016-02-14 10:41 Wigde.Xiao 阅读(1742) 评论(0) 推荐(1) 编辑

[转]Linux中设置服务自启动的三种方式
摘要:from:http://www.cnblogs.com/nerxious/archive/2013/01/18/2866548.html有时候我们需要Linux系统在开机的时候自动加载某些脚本或系统服务主要用三种方式进行这一操作:ln -s 在/etc/rc.d/rc*.d目录中建立... 阅读全文

posted @ 2015-06-24 13:40 Wigde.Xiao 阅读(220) 评论(0) 推荐(0) 编辑

rpm打包
摘要:1,需要安装rpmbuild2,准备好工作目录:mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}3,自定义环境:vim ~/.rpmmacros%_topdir /root/rpmbuild%_tmppath /root/rpmbuild/tm... 阅读全文

posted @ 2015-05-28 15:53 Wigde.Xiao 阅读(206) 评论(0) 推荐(0) 编辑

[转]创建一个虚拟盘
摘要:A virtual filesystem is filesystem that exists in a file, which in turn exists on a physical disk. There's a lot of great things you can do with virtu... 阅读全文

posted @ 2015-05-28 15:25 Wigde.Xiao 阅读(240) 评论(0) 推荐(0) 编辑

cpio的简单使用
摘要:有如下文件1 # file boot.kylin 2 boot.kylin: ASCII cpio archive (SVR4 with no CRC)extract:# cpio -i boot 阅读全文

posted @ 2015-05-22 16:52 Wigde.Xiao 阅读(236) 评论(0) 推荐(0) 编辑

删除分区表
摘要:最近用u盘dd了一个安装镜像,发现用fdisk 重新分区后分区表仍旧乱乱的,这时候使用wipefs命令就能完美解决。eg:1 wipefs -a /dev/sdc 阅读全文

posted @ 2015-05-13 16:22 Wigde.Xiao 阅读(886) 评论(0) 推荐(0) 编辑

[转]change the linux startup logo
摘要:1. Make sure that you have the kernel sources installed. As annoying as this may seem, you will need to recompile the kernel to change this image.2. D... 阅读全文

posted @ 2015-03-23 16:35 Wigde.Xiao 阅读(298) 评论(0) 推荐(0) 编辑

1 2 下一页