slax lzm製作


cd /tmp
wget http://www.lighttpd.net/download/lighttpd-1.4.23.tar.gz
tar zxvf lighttpd-1.4.23.tar.gz
cd lighttpd-1.4.23
./configure
make

mkdir /tmp/lighttp
mkdir /tmp/lighttp/usr/; mkdir /tmp/lighttp/usr/bin/

mkdir /tmp/lighttp/usr/; mkdir /tmp/lighttp/usr/local; mkdir /tmp/lighttp/usr/local/lib/
mkdir /tmp/lighttp/srv;mkdir /tmp/lighttp/srv/www; mkdir /tmp/lighttp/srv/www/htdocs
mkdir /tmp/lighttp/etc/; mkdir /tmp/lighttp/etc/lighttpd
mkdir /tmp/lighttp/etc/; mkdir /tmp/lighttp/etc/rc.d/rc.lighttpd
mkdir /tmp/lighttp/var;mkdir /tmp/lighttp/var/log;mkdir /tmp/lighttp/var/log/lighttpd/

strip src/lighttpd; cp src/lighttpd /tmp/lighttp/usr/bin/.
cp src/.libs/*.so /tmp/lighttp/usr/local/lib/.
cp doc/lighttpd.conf /tmp/lighttp/etc/lighttpd/lighttpd.conf

echo "Lighttpd under Slax" > /tmp/lighttp/srv/www/htdocs/index.html

dir2lzm /tmp/lighttp lighttpd-1.4.23.lzm
 

Ed32. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com