几种linux内核文件的区别

06月 17th, 2008 xiao H Posted in 精品文档 2 Comments »

vmlinux  编译出来的最原始的内核文件,未压缩。
zImage   是vmlinux经过gzip压缩后的文件。
bzImage bz表示“big zImage”,不是用bzip2压缩的。两者的不同之处在于,zImage解压缩内核到低端内存(第一个640K),bzImage解压缩内核到高端内存(1M以上)。如果内核比较小,那么采用zImage或bzImage都行,如果比较大应该用bzImage。 Read the rest of this entry »

Popularity: 4% [?]

标签:

针对Web服务器总体优化

06月 7th, 2008 xiao H Posted in 服务器应用, 精品文档 No Comments »

作者:killua
方法有些比较激进,做个保存方便以后自己查阅。

一、文件系统
在fstab里加入noatime,如
#cat /etc/fstab
/dev/sda1          /home                  ext3    noatime,defaults        1 2
reboot或者重新mount生效

Read the rest of this entry »

Popularity: 6% [?]

标签:, ,

sed 总结

05月 13th, 2008 xiao H Posted in shell, 精品文档 No Comments »

作者:zleil
################################################################
#[0]:  基础                                                                                            #
################################################################
**sed执行过程:
   a. 如果已到达文件尾,goto e;否则,用当前行内容替换模式空间的内容(即缓冲区,还有一个缓冲区:后备空间);
   b. 执行命令序列,命令只对模式空间有效;
   c. 当前行号加1
   d. goto a;
   e. 退出
注: 当前行号可由命令N或n更改,当前行号最初为第1行
    执行命令时,如果该命令有地址前缀,那么看*当前行号*是否与地址前缀相符,相符则执行,否则不执行
Read the rest of this entry »

Popularity: 14% [?]

标签:

Sed学习笔记

05月 5th, 2008 xiao H Posted in shell, 精品文档 No Comments »

1. Sed简介

sed 是一种在线编辑器,它一次处理一行内容。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,处理完成后,把缓冲区的内容送往屏幕。接着处理下一行,这样不断重复,直到文件末尾。文件内容并没有 改变,除非你使用重定向存储输出。Sed主要用来自动编辑一个或多个文件;简化对文件的反复操作;编写转换程序等。以下介绍的是Gnu版本的Sed 3.02。

Read the rest of this entry »

Popularity: 13% [?]

标签:

GNU 和 Linux

04月 17th, 2008 xiao H Posted in 精品文档 No Comments »

作者:Christian Schaller 翻译: 杨继张

像Slashdot这样的论坛上常常有人在攻击GNU,他们的观点在我看来完全是缺乏历史知识和不尊重历史。当GNU倡导称Linux为GNU/Linux时,这些人声称GNU企图从 Linus Torvalds 身上窃取荣誉,或者宣称GNU的所作所为有反商业的可疑动机。我最后决定写下这篇文章,以避免出现更多的疑惑。

Read the rest of this entry »

Popularity: 7% [?]

标签:

SMTP 错误代码大全

04月 3rd, 2008 xiao H Posted in 精品文档 No Comments »

421 Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down)
450 Requested mail action not taken: mailbox unavailable (E.g., mailbox busy)
451 Requested action aborted: local error in processing
452 Requested action not taken: insufficient system storage

Read the rest of this entry »

Popularity: 8% [?]

标签:

Linux操作系统文件系统基础知识

03月 31st, 2008 xiao H Posted in 精品文档 No Comments »

作者:王平 来自:CUBlog

一 、Linux文件结构
  文件结构是文件存放在磁盘等存贮设备上的组织方法。主要体现在对文件和目录的组织上。
  目录提供了管理文件的一个方便而有效的途径。
  Linux使用标准的目录结构,在安装的时候,安装程序就已经为用户创建了文件系统和完整而固定的目录组成形式,并指定了每个目录的作用和其中的文件类型。

Read the rest of this entry »

Popularity: 7% [?]

标签:, ,

chroot用法详解

03月 29th, 2008 xiao H Posted in 精品文档 No Comments »

CHROOT就是Change Root,也就是改变程式执行时所参考的根目录位置。

一般的目录架构:
/
/bin
/sbin
/usr/bin
/home
          Read the rest of this entry »

Popularity: 8% [?]

该日志未加标签

Page 1 of 3123»