# tar xvzf glimpse-latest.tar.gz # cd glimpse-latest # ./configure # make설치한다.
# make install
<Directory /var/www/lxr> Options All AllowOverride All </Directory>
# ln -sf /var/lib/lxr /var/www/lxr
# /etc/init.d/apache2 restart
# /etc/init.d/apache restart
# Define the base url for the LXR files. baseurl: http://lxr이설치된머신의IP또는도메인/lxr/http/ ... # Glimpse can be found here. glimpsebin: /usr/local/bin/glimpse
<Files ~ (search|source|ident|diff|find)$> SetHandler cgi-script </Files>
# cd /var/lib/lxr/source/ # mkdir 2.6.11 # cd 2.6.11 # tar xvjf linux-2.6.11.tar.bz2 # mv linux-2.6.11 linux
# ../../bin/genxref linux # glimpseindex -H . linux # chmod a+r fileidx xref .glimpse*
2.6.11
2.6.11 2.4.18
#!/bin/sh $ARCH_DIRS="alpha arm26 cris frv h8300 i386 ia64 m32r m68k m68knommu mips parisc ppc p pc64 s390 sh sh64 sparc sparc64 um v850 x86_64" for d in $ARCH_DIRS; do echo $d done
#!/bin/sh ../../bin/genxref linux glimpseindex -H . linux chmod a+r fileidex xref .glimpse*