Chinaunix首页 | 论坛 | 博客
  • 博客访问: 839461
  • 博文数量: 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-08 21:19:22

        安装less:

点击(此处)折叠或打开

  1. ./configure --prefix=/usr --sysconfdir=/etc
  2. make
  3. make install

        安装make:

点击(此处)折叠或打开

  1. patch -Np1 -i ../make-3.81-upstream_fixes-1.patch
  2. ./configure --prefix=/usr
  3. make
  4. make check
  5. make install

       安装man-db:

点击(此处)折叠或打开

  1. ./configure --prefix=/usr --libexecdir=/usr/lib \\
  2.     --sysconfdir=/etc --disable-setuid \\
  3.     --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind \\
  4.     --with-grap=/usr/bin/grap

  5. make
  6. make check
  7. make install

        安装module-init-tools:

点击(此处)折叠或打开

  1. ./configure
  2. make check
  3. ./tests/runtests
  4. make clean

  5. ./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man

  6. make
  7. make INSTALL=install install

        安装patch:

点击(此处)折叠或打开

  1. patch -Np1 -i ../patch-2.6.1-test_fix-1.patch
  2. ./configure --prefix=/usr
  3. make
  4. make check
  5. make install

        安装shadow:

点击(此处)折叠或打开

  1. sed -i \'s/groups$(EXEEXT) //\' src/Makefile.in
  2. find man -name Makefile.in -exec sed -i \'s/groups\\.1 / /\' {} \\;

  3. sed -i -e \'s/ ko//\' -e \'s/ zh_CN zh_TW//\' man/Makefile.in
  4. sed -i -e \'s@#ENCRYPT_METHOD DES@ENCRYPT_METHOD MD5@\' \\
  5.        -e \'s@/var/spool/mail@/var/mail@\' etc/login.defs

  6. ./configure --sysconfdir=/etc
  7. make
  8. make install
  9. mv -v /usr/bin/passwd /bin

  10. pwconv
  11. grpconv


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