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
一年一度諾貝爾講座
1 週前