俺メモ [sourcecode language="bash”] sudo apt-get update sudo apt-get install openjdk-6-jdk sudo apt-get install tomcat7 wget http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz tar xf ctags-5.8.tar.gz cd ctags-5.8/ ./configure && make && sudo make install cd .. wget http://hub.opensolaris.org/bin/download/Project+opengrok/files/opengrok-0.11.1.tar.gz tar xf opengrok-0.11.1.tar.gz wget http://jflex.de/jflex-1.4.3.tar.gz tar xf jflex-1.4.3.tar.gz cp jflex-1.4.3/lib/JFlex.jar opengrok-0.11.1/lib/lib/ echo “export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64” » .bashrc echo “EXUBERANT_CTAGS=/usr/local/bin/ctags” » .bashrc sudo sed -i “s/port="8080"/port="2424"/” /etc/tomcat7/server.xml sudo /etc/init.d/tomcat restart sudo mkdir -p /var/opengrok/{etc,data,src} sudo chown -R tomcat7:tomcat7
[続きを読む]