Chinaunix首页 | 论坛 | 博客
  • 博客访问: 837868
  • 博文数量: 90
  • 博客积分: 766
  • 博客等级: 军士长
  • 技术积分: 1867
  • 用 户 组: 普通用户
  • 注册时间: 2011-12-18 08:42
个人简介

linux

文章分类

全部博文(90)

文章存档

2021年(2)

2020年(2)

2017年(1)

2015年(11)

2014年(1)

2013年(53)

2012年(16)

2011年(4)

分类: 系统运维

2013-05-11 21:56:20

        先退出chroot环境,然后重新运行进入chroot环境的程序,这样做的目的是不再使用/tools下面的东西。

       先解压lfs启动脚本压缩包,然后进入源目录,运行make install安装。

       配置setclock脚本:

点击(此处)折叠或打开

  1. cat > /etc/sysconfig/clock << "EOF"
  2. # Begin /etc/sysconfig/clock

  3. UTC=1

  4. # Set this to any options you might need to give to hwclock,
  5. # such as machine hardware clock type for Alphas.
  6. CLOCKPARAMS=

  7. # End /etc/sysconfig/clock
  8. EOF
        创建/etc/inputrc:

点击(此处)折叠或打开

  1. cat > /etc/inputrc << "EOF"
  2. # Begin /etc/inputrc
  3. # Modified by Chris Lynn <roryo@roryo.dynup.net>

  4. # Allow the command prompt to wrap to the next line
  5. set horizontal-scroll-mode Off

  6. # Enable 8bit input
  7. set meta-flag On
  8. set input-meta On

  9. # Turns off 8th bit stripping
  10. set convert-meta Off

  11. # Keep the 8th bit for display
  12. set output-meta On

  13. # none, visible or audible
  14. set bell-style none

  15. # All of the following map the escape sequence of the value
  16. # contained in the 1st argument to the readline specific functions
  17. "eOd": backward-word
  18. "eOc": forward-word

  19. # for linux console
  20. "e[1~": beginning-of-line
  21. "e[4~": end-of-line
  22. "e[5~": beginning-of-history
  23. "e[6~": end-of-history
  24. "e[3~": delete-char
  25. "e[2~": quoted-insert

  26. # for xterm
  27. "eOH": beginning-of-line
  28. "eOF": end-of-line

  29. # for Konsole
  30. "e[H": beginning-of-line
  31. "e[F": end-of-line

  32. # End /etc/inputrc
  33. EOF


阅读(1795) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~