LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1100|回复: 4

大家 lfs 后都做些什么?

[复制链接]
发表于 2008-1-22 16:01:27 | 显示全部楼层 |阅读模式
我通常不去研究 lfs 底层的东西(不需要,自己的知识够用了),也不用 X
我的目的是能够快速部署一个 lamp - in ten minutes
所以每当推出一个新 lfs 版本,我就会 jhalfs 一个
然后:

1. 安装openssl, openssh

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

3. 装 wget

4. 搞定 rc.local

  1. touch /etc/rc.d/rc.local
  2. chmod +x /etc/rc.d/rc.local
  3. ln -sf /etc/rc.d/rc.local /etc/rc.d/rc1.d/S999rc.local &&
  4. ln -sf /etc/rc.d/rc.local /etc/rc.d/rc2.d/S999rc.local &&
  5. ln -sf /etc/rc.d/rc.local /etc/rc.d/rc3.d/S999rc.local &&
  6. ln -sf /etc/rc.d/rc.local /etc/rc.d/rc4.d/S999rc.local &&
  7. ln -sf /etc/rc.d/rc.local /etc/rc.d/rc5.d/S999rc.local &&
  8. ln -sf /etc/rc.d/rc.local /etc/rc.d/rc6.d/S999rc.local
复制代码


5. 装 dcron
这个东西实在太 sexy  ( 两个文件搞定 crond ),典范,一定要装
这是作者前言:

  1. I finally got tired of all of these wild cron programs that take the
  2. task of running timed jobs to ridiculous extremes in terms of
  3. capabilities and unnecessary features.  So here is my entry:  a
  4. crond/crontab combination that is simple and elegant, and hopefully
  5. secure to boot.  This cron implements reasonable features in terms
  6. of field specification in the crontab and allows individual user
  7. crontabs.
复制代码


6. 装 mysql -> apache -> php

7. 扫脚印, 改时间

  1. for $fn in `find /mnt/lfs/var/log`; do rm $fn; touch $fn; done
  2. find /mnt/lfs -exec touch -d "2008-01-01" {} /;
复制代码


8. 打包,刻到 bootable CD 上
还要有个安装 script

9. 写上 ”lfs-6.3-lamp"
哦耶!自己的发行版
发表于 2008-1-22 19:56:27 | 显示全部楼层
我的系统吗?BLFS 省不掉,要日常上班用,ssh、telnet、ftp、wine(跑 Lotus Notes)、SeaMonkey、OpenOffice(用 deb 包装的)等等
回复 支持 反对

使用道具 举报

发表于 2008-1-23 09:33:27 | 显示全部楼层
LS也没有编译oo的时间啊,的确,那东西太耗时了~
回复 支持 反对

使用道具 举报

发表于 2008-1-23 09:50:16 | 显示全部楼层
Post by d00m3d;1810069
OpenOffice(用 deb 包装的)等等


怎么在LFS上用Deb的包?要安装什么程序?
回复 支持 反对

使用道具 举报

发表于 2008-1-23 12:22:56 | 显示全部楼层
1. 要先让 LFS 系统加入 Debian 的支持,见精华区
http://www.linuxsir.cn/bbs/thread249407.html

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

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

4. 建个连结放在 /usr/bin/soffice 便完成
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表