logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

linux Kernel 添加 ZRAM 支持

ZRAM, 简单的说,就是拿一部分内存当做交换分区使用,暂时不用的内存页面一

安装 Ubuntu Alternate 版

Ubuntu desktop 版 没有办法把 grub 安装到 linux 分区,而是会覆盖 MBR.这让人感到不舒服。Ubuntu alternate 可以选择安装 grub 到 linux 分区或是 到 MBR.所以决定安装 alternate 版。下载 ubuntu 12.04 alternate  iso 镜像后,刻录到 u盘 (用 Ultra ISO), 然后再把 iso 文

#ubuntu#linux
uGet Aria2下载百度云的大容量文件

其实之前我就已经将此消息发放到Google+和Facebook上了,这里是留下一个记录!不知道各位朋友可有经常下载百度资源?百度云盘为了不让其他软件盗链,所以它的资源连接链是采用动态的,差不多1~2小时就砍断,所以我的龟速上网线肯定下载不完就被砍了!然而我也不想使用迅雷资源!找了好久才发现Linux上有个神器下载百度资源绝不怕被砍断,绝对能重连接回!那就是:Aria2用

编译安装 GoldenDict

GoldenDict 是 linux 上最流行的字典软件。可以通过编译源码安装:Open terminal, then make sample work folder and grab Golden Dict source:git clone https://github.com/goldendict/goldendict.gitGoto cloned folder: cd g

#linux#qt#git
使用 QEMU 测试 U-BOOT

还是模拟 VEXPRESS-A9.起初,我用的还是qemu官网里的最新代码变出的qemu程序。u-boot从下面的网址获得:http://ftp.denx.de/pub/u-boot/取得是最新的代码。解压后,配置,编译:make vexpress_ca9x4_configexport ARCH=armexport CROSS_COMPILE=arm-linux-gnu

查看 pkg-config默认的搜索路径

pkg-config --variable pc_path pkg-config输出结果是:/usr/local/lib/i386-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/sh

Introduction to Linux Graphics drivers: DRM

Linux support for graphics cards are very important for desktop and mobile users: they want to run games, composite their applications and have a nice and modern user experience.So it’s usual that

深入理解debuginfo

一、关于debuginfo的疑惑程序员应该都知道,为了能够使用gdb跟踪程序,需要在编译期使用gcc的-g选项。而对于系统库或是Linux内核,使用gdb调试或使用systemtap探测时,还需要安装相应的debuginfo包。例如glibc及它的debuginfo包为:[yunkai@fedora t]$ rpm -qa | grep glibcglibc-2.18-12.fc20.x86_64

can't open /dev/ttyAMA0: No such device or address

今天终于找到了这个问题的原因。原来我是这样创建  ttyAMA0 的:mknodttyAMA0 c 204 16这样创建的问题是 minor number 不是可以随意设置的,它有固定的值, 是64.所以,正确的方法是:mknod ttyAMA0 c 204 64我们可以在linux 内核代码 里找到根据(drivers/tty/serial/amba-pl011.c): 

Linux 下查看线程信息

1. 使用 pstree -p PIDps aux | grep firefox | grep -v grepcharles  26058  0.0  0.0   4908  1152 ?        S    19:17   0:00 /bin/sh /usr/lib/firefox-3.5.4/run-mozilla.sh /usr/lib/firefox-3.5.4/firefox

#linux#firefox
    共 30 条
  • 1
  • 2
  • 3
  • 请选择