• ubuntu下部署solr


    IKAnalyzer
    linliangyi2007.javaeye.com
    http://code.google.com/p/ik-analyzer

    reference:
    http://www.unixmen.com/linux-tutorials/985-how-to-install-java-run-time-environment-in-ubuntu-1004-lucid-lynx
    http://www.tc.umn.edu/~brams006/solr_ubuntu.html
    http://kmtk.cs.ait.ac.th/knowledge-center/how-to/solr-howto-install-solr-on-ubuntu-server-8.0.4
    http://happy-coding.com/install-sun-java6-jdk-on-ubuntu-10-04-lucid/
    http://blog.janjonas.net/2010-06-12/ubuntu_10_04-java-setup-sun-jdk
    1)install java enviroment on ubuntu 10.04
    <span style="font-size: small;"><span style="font-family: arial,helvetica,sans-serif;"><strong>sudo add-apt-repository "deb http://archive.canonical.com/ lucid  partner"</strong></span></span>
    <span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><strong>sudo apt-get update<br /></strong></span></span><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: small;"><strong>sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts</strong></span></span><br />

    sudo apt-get install sun-java6-bin sun-java6-demo sun-java6-jdk
    sun-java6-jre

    sudo apt-get install ant

    sudo update-alternatives --config java

    2)install tomcat6
    sudo apt-get update

    sudo apt-get upgrade

    sudo apt-get install tomcat6 tomcat6-admin tomcat6-common tomcat6-user
    tomcat6-docs tomcat6-examples
    重启tomcat
    sudo /etc/init.d/tomcat6 restart

    chmod -R 777 solr
    更改solrconfig.xml中的datadir为如下内容
    <dataDir>/var/lib/solr/data</dataDir>
    good article
    http://ocdevel.com/blog/installing-apachesolrmodule-ubuntu-1004







  • 相关阅读:
    泛型接口与NUnit初试
    异步文件IO的应用
    [Andrew McAfee]Enterprise 2.0下的大趋势
    silverlight
    扩展prototype库兼容w3c domajax for firefox
    开张了
    最长平台
    常见C/C++ XML解析器比较
    GIS地图开发
    几种常见 容器 比较和分析 hashmap, map, vector, list ...hash table
  • 原文地址:https://www.cnblogs.com/lexus/p/1780430.html
Copyright © 2020-2023  润新知