LFS 学习日记(第六章安装基本系统软件之 Man-DB 至 Tar 安装 )

2010年10月08日 星期五

/LFS-BOOK-6.6-HTML/chapter06/man-db.html
6.49. Man-DB-2.5.6

time { ./configure --prefix=/usr --libexecdir=/usr/lib \
    --sysconfdir=/etc --disable-setuid \
    --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind \
    --with-grap=/usr/bin/grap && make; } 2>&1 | tee /backup/installlogs/6man-db.make.log
real    0m41.960s
user    0m29.542s
sys    0m29.878s

time { make check; } 2>&1 | tee /backup/installlogs/6man-db.check.log
real    0m7.148s
user    0m4.540s
sys    0m5.472s

time { make install; } 2>&1 | tee /backup/installlogs/6man-db.install.log
real    0m3.357s
user    0m1.864s
sys    0m2.760s

/LFS-BOOK-6.6-HTML/chapter06/module-init-tools.html
6.50. Module-Init-Tools-3.11.1

time { ./configure && make check && ./tests/runtests && make clean; } 2>&1 | tee /backup/installlogs/6module-init-tools.check.log
real    0m22.025s
user    0m16.549s
sys    0m13.745s

time { ./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man && make; } 2>&1 | tee /backup/installlogs/6module-init-tools.make.log
real    0m4.814s
user    0m4.684s
sys    0m2.632s

time { make INSTALL=install install; } 2>&1 | tee /backup/installlogs/6module-init-tools.install.log
real    0m0.368s
user    0m0.296s
sys    0m0.376s

/LFS-BOOK-6.6-HTML/chapter06/patch.html
6.51. Patch-2.6.1

time { ./configure --prefix=/usr && make; } 2>&1 | tee /backup/installlogs/6patch.make.log
real    0m9.834s
user    0m9.533s
sys    0m6.996s

time { make check; } 2>&1 | tee /backup/installlogs/6patch.check.log
real    0m1.983s
user    0m3.320s
sys    0m2.880s

time { make install; } 2>&1 | tee /backup/installlogs/6patch.install.log
real    0m0.098s
user    0m0.052s
sys    0m0.068s

/LFS-BOOK-6.6-HTML/chapter06/psmisc.html
6.52. Psmisc-22.10

time { ./configure --prefix=/usr && make; } 2>&1 | tee /backup/installlogs/6psmisc.make.log
real    0m12.113s
user    0m6.276s
sys    0m7.652s

time { make install; } 2>&1 | tee /backup/installlogs/6psmisc.install.log
real    0m0.524s
user    0m0.436s
sys    0m0.468s

/LFS-BOOK-6.6-HTML/chapter06/shadow.html
6.53. Shadow-4.1.4.2

question: chgpasswd
    Used to update group passwords in batch mode
还有组密码吗?

question: gpasswd
Is used to add and delete members and administrators to groups
群组还有专门的 adminitrators 吗?

question: grpunconv
Updates /etc/group from /etc/gshadow and then deletes the latter

/etc/gshadow 文件是可以被随便删除的吗?

question: newusers 的用法
Is used to create or update an entire series of user accounts

question: sg 的用法
Executes a given command while the user's GID is set to that of the given group

time { ./configure --sysconfdir=/etc && make; } 2>&1 | tee /backup/installlogs/6shadow.make.log
real    0m37.698s
user    0m24.026s
sys    0m36.026s

time { make install; } 2>&1 | tee /backup/installlogs/6shadow.install.log
real    0m9.058s
user    0m10.477s
sys    0m10.797s

2010年10月09日 星期六
/LFS-BOOK-6.6-HTML/chapter06/sysklogd.html
6.54. Sysklogd-1.5

english: Every logged message contains at least a date stamp and a hostname, and normally the program's name too, but that depends on how trusting the logging daemon is told to be

time { make; } 2>&1 | tee /backup/installlogs/6sysklogd.make.log
real    0m1.279s
user    0m1.596s
sys    0m0.788s

time { make BINDIR=/sbin install; } 2>&1 | tee /backup/installlogs/6sysklogd.install.log
real    0m0.031s
user    0m0.004s
sys    0m0.056s

question: 有需要时掌握 /etc/syslog.conf 文件的配置

/LFS-BOOK-6.6-HTML/chapter06/sysvinit.html
6.55. Sysvinit-2.86

time { make -C src; } 2>&1 | tee /backup/installlogs/6sysvinit.make.log
real    0m1.955s
user    0m1.792s
sys    0m2.100s

time { make -C src install; } 2>&1 | tee /backup/installlogs/6sysvinit.install.log
real    0m0.285s
user    0m0.044s
sys    0m0.216s

/LFS-BOOK-6.6-HTML/chapter06/tar.html
6.56. Tar-1.22

time { ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin && make; } 2>&1 | tee /backup/installlogs/6tar.make.log
real    0m40.356s
user    0m27.770s
sys    0m35.598s

time { make check; } 2>&1 | tee /backup/installlogs/6tar.check.log
real    3m15.318s
user    0m15.693s
sys    1m27.825s

time { make install; } 2>&1 | tee /backup/installlogs/6tar.install.log
real    0m3.490s
user    0m0.740s
sys    0m1.740s