• 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







  • 相关阅读:
    linux C/C++编程之库-动态库,静态库创建及使用
    类linux 系统iptables 系统初始化配置
    OS error set
    OpenWrt修改
    OpenWrt backfire trunk源码下载及编译
    OpenWrt compiles
    OpenWrt 学习网址
    nginx编译配置
    cocos2d-x中的坐标系
    SGU 231 Prime Sum 求&lt;=n内有多少对素数(a,b)使得a+b也为素数 规律题
  • 原文地址:https://www.cnblogs.com/lexus/p/1780430.html
Copyright © 2020-2023  润新知