+ -
当前位置:首页 → 问答吧 → 大家 lfs 后都做些什么?

大家 lfs 后都做些什么?

时间:2008-01-22

来源:互联网

我通常不去研究 lfs 底层的东西(不需要,自己的知识够用了),也不用 X
我的目的是能够快速部署一个 lamp - in ten minutes
所以每当推出一个新 lfs 版本,我就会 jhalfs 一个
然后:

1. 安装openssl, openssh

2. 完成 blfs chapter 3
托 ssh 的福,终于可以 copy, paste 了

3. 装 wget

4. 搞定 rc.local
代码:
touch /etc/rc.d/rc.local
chmod +x /etc/rc.d/rc.local
ln -sf /etc/rc.d/rc.local /etc/rc.d/rc1.d/S999rc.local &&
ln -sf /etc/rc.d/rc.local /etc/rc.d/rc2.d/S999rc.local &&
ln -sf /etc/rc.d/rc.local /etc/rc.d/rc3.d/S999rc.local &&
ln -sf /etc/rc.d/rc.local /etc/rc.d/rc4.d/S999rc.local &&
ln -sf /etc/rc.d/rc.local /etc/rc.d/rc5.d/S999rc.local &&
ln -sf /etc/rc.d/rc.local /etc/rc.d/rc6.d/S999rc.local
5. 装 dcron
这个东西实在太 sexy ( 两个文件搞定 crond ),典范,一定要装
这是作者前言:
代码:
I finally got tired of all of these wild cron programs that take the
task of running timed jobs to ridiculous extremes in terms of 
capabilities and unnecessary features. So here is my entry: a 
crond/crontab combination that is simple and elegant, and hopefully
secure to boot. This cron implements reasonable features in terms
of field specification in the crontab and allows individual user 
crontabs.
6. 装 mysql -> apache -> php

7. 扫脚印, 改时间
代码:
for $fn in `find /mnt/lfs/var/log`; do rm $fn; touch $fn; done
find /mnt/lfs -exec touch -d "2008-01-01" {} /;
8. 打包,刻到 bootable CD 上
还要有个安装 script

9. 写上 ”lfs-6.3-lamp"
哦耶!自己的发行版

作者: ServerOnly   发布时间: 2008-01-22

我的系统吗?BLFS 省不掉,要日常上班用,ssh、telnet、ftp、wine(跑 Lotus Notes)、SeaMonkey、OpenOffice(用 deb 包装的)等等

作者: d00m3d   发布时间: 2008-01-23

LS也没有编译oo的时间啊,的确,那东西太耗时了~

作者: shooter   发布时间: 2008-01-23

引用:
作者: d00m3d
OpenOffice(用 deb 包装的)等等
怎么在LFS上用Deb的包?要安装什么程序?

作者: chenyx   发布时间: 2008-01-23

1. 要先让 LFS 系统加入 Debian 的支持,见精华区
http://www.linuxsir.org/bbs/thread249407.html

2. 到 OpenOffice 的下载区把二进码 tarball 下回来

3. 把包解压,用 dpkg -i --force-depends --force-overwrite *.deb 安装

4. 建个连结放在 /usr/bin/soffice 便完成

作者: d00m3d   发布时间: 2008-01-23