摘要:1, get offset get the ext4 partation offset 4194304 or u can use fdisk: the offset is 8192(sectors) * 512 = 4194304 Byte 2,mount
阅读全文
摘要:0,base packages: 1,nerdtree packages: vimrc: 2,powerline packages: vimrc: 3,taglist packages: vimrc: 4,ctags packages: usage: 5,cscope packages: usage
阅读全文
摘要:pip install requests --upgrade
阅读全文
摘要:转自: 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
阅读全文
摘要:1,升级fc23到最新 2,安装dnf系统升级插件 3,下载fc24包,忽略无法解决依赖关系的包 4,重启进入系统升级模式 有问题参考: https://fedoraproject.org/wiki/DNF_system_upgrade#Resolving_post-upgrade_issues *
阅读全文
摘要:sed -i 's/geteuid/getppid/' /usr/bin/vlc
阅读全文
摘要:生活在 Bash shell 中,熟记以下快捷键,将极大的提高你的命令行操作效率。 编辑命令 Ctrl + a :移到命令行首 Ctrl + e :移到命令行尾 Ctrl + f :按字符前移(右向) Ctrl + b :按字符后移(左向) Alt + f :按单词前移(右向) Alt + b :按
阅读全文
摘要:------------------------------------------------------------------------------ In file included from fdiskbsdlabel.c:62:0: fdiskbsdlabel.h:61:2: error: #error unknown architecture fdiskbsdlabel.c: In...
阅读全文
摘要:编译报错: 解决办法,将kmod_log函数引出 patch:
阅读全文
摘要:1, mirrot file: /etc/pacman.d/mirrorlist 2,
阅读全文
摘要:背景:升级gnome后发现gnome-session-properties不见了,想把sslocal随机启动遇到了麻烦。。。 特别说明:此为图形桌面开机启动项,因此只有通过图形桌面登陆用户后才能启动。 以下为加入sslocal为例 1,/usr/share/applications/sslocal.
阅读全文
摘要:主要目的是把本地的公钥放到远端被登陆的host上。 本地操作: 远端sshd_config配置: 加速登陆速度的配置(远端): done!
阅读全文
摘要:因为项目需要需要一个磁盘共享的环境。 最先想到用iSCSI,两个客户端挂载同一个远端盘;这样确实可行,但是感觉太繁琐,想到既然是虚拟机环境,可以设置虚拟磁盘共享。 于是网上一番搜罗,确实有人这个做过,一下是鄙人的操作步骤记录: ESXi版本6.0.0 1,通过ESXi客户端打开ssh服务,ssh登陆
阅读全文
摘要:这些天编译了一个4.1.15内核,因此vb原来的模块就不能用了,因此要重新编译(当然,reinstall也可以,觉得大动干戈,不符合个人做事风格) 如果不重编运行会有如下错误提示: # virtualbox & [1] 3383 # WARNING: The vboxdrv kernel modul
阅读全文
摘要:from:http://www.cnblogs.com/nerxious/archive/2013/01/18/2866548.html有时候我们需要Linux系统在开机的时候自动加载某些脚本或系统服务主要用三种方式进行这一操作:ln -s 在/etc/rc.d/rc*.d目录中建立...
阅读全文
摘要:1,需要安装rpmbuild2,准备好工作目录:mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}3,自定义环境:vim ~/.rpmmacros%_topdir /root/rpmbuild%_tmppath /root/rpmbuild/tm...
阅读全文
摘要: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...
阅读全文
摘要:有如下文件1 # file boot.kylin 2 boot.kylin: ASCII cpio archive (SVR4 with no CRC)extract:# cpio -i boot
阅读全文
摘要:最近用u盘dd了一个安装镜像,发现用fdisk 重新分区后分区表仍旧乱乱的,这时候使用wipefs命令就能完美解决。eg:1 wipefs -a /dev/sdc
阅读全文
摘要: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...
阅读全文