复习 Linux ELF 共享库的版本概念

  • soname for a shared library: lib<library name>.so.<major ver>
    • 例: libev.so.4
  • fully-qualified soname for a shared library: <path>/lib<library name>.so.<major ver>
    • 例: /usr/lib/libev.so.4
  • real name for a shared library: lib<library name>.so.<major ver>.<minor ver>.<release>
    • 例: libev.so.4.0.0
  • linker name for a shared library: lib<library name>.so

Read More

CentOS/RHEL 上 Apache 一个诡异问题的解决(都是浮云)

最近帮同事检查一个 Apache 的问题,现象如下:

  • 原本配置了多个 VirtualHostDocumentRoot 指向 /var/www/ 下不同的子目录,都能正常工作
  • 新加了一个 VirtualHost ,将 DocumentRoot 指向 /home/aa/ ,重启 Apache 后无法访问该 VirtualHost 下的内容,提示 403 Forbidden ,而此时访问原先的几个 VirtualHost 还是没有问题
  • Apache 错误日志里没有什么奇怪的输出
  • 操作系统 CentOS 4.x

Read More

Accessing EXT2/3 partition under Windows XP

After some googling I found several ways to do the job:

  1. Explore2fs
    • Pros: Open-source; No installing needed
    • Cons: Read only; Exporting file is too slow...
  2. Ext2 IFS
    • Pros: Mount EXT2/3 partition to a real disk letter; High accessing speed
    • Cons: Installing needed; No source available
  3. Ext2Fsd
    • Pros: Opensource; Mount EXT2/3 partition to a real disk letter
    • Cons: Installing needed; Complex operations
  4. Diskinternal Linux Reader
    • Pros: User-friendly interface with lots of whistles
    • Cons: Installing needed; No source available; Not support UTF-8 charset
  5. Virtual Volumes
    • Pros: Opensource
    • Cons: Installing needed; Not completed yet...

Finally I chose Ext2 IFS 😃