준비 사항 : Java 1.6, Tomcat 7, opengrok 0.11, exuberant ctags.

1. Tomcat 설치

$ sudo apt-get install tomcat7

2. Tomcat 서비스 시작

$ sudo service tomcat7 start

3. OpenGrok deploy

$ sudo OPENGROK_TOMCAT_BASE=/var/lib/tomcat7 ./OpenGrok deploy


4. 소스 인덱싱

$ OPENGROK_INSTANCE_BASE=/home2/opengrok/var ./OpenGrok index /home2/work/kernel


5. /var/opengrok/etc/configuration.xml

sudo ln -s /home2/opengrok/var/etc/configuration.xml  configuration.xml


+ Recent posts