安装之前先关闭防火墙、安装好jdk和tomcat

1.启动tomcat的命令为:apache-tomcat-7.0.61/bin/startup.sh

2.拷贝solr目录下example/webapps/solr.war,到/home/apache-tomcat-7.0.61/webapps目录下

3.启动tomcat,看目录下是否多了一个solr文件夹

4.编辑tomcat7中的webapps/solr目录中WEB-INF/web.xml

<env-entry>
       <env-entry-name>solr/home</env-entry-name>
       <env-entry-value>/opt/solr_home</env-entry-value>
       <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>

5.拷贝solr目录下的example/lib/ext目录的所有jar到tomcat7的solr的lib

6.拷贝solr目录下的example/solr/* 所有文件到 /opt/solr_home 下

7.重新启动Tomcat

8.访问http://localhost/solr

最新文章

  1. GridView中实现DropDownList联动
  2. ECharts外部调用保存为图片操作及工作流接线mouseenter和mouseleave由于鼠标移动速度过快导致问题解决办法
  3. git 本地分支与远程分支
  4. 使用PS3手柄在PC玩Unity3D游戏
  5. basic use of sidekiq
  6. poj 1789 Truck History
  7. [iOS基础控件 - 6.0] UITableView
  8. css3 3D变换和动画
  9. 一道movfuscator混淆过的简单逆向
  10. java中Timer计时器使用
  11. 省去路由器,Windows 7 也能做无线AP
  12. 免费SSL证书PK付费SSL证书 花落谁家
  13. (转)Android 仿订单出票效果 (附DEMO)
  14. lookup_peer.go
  15. while循环 格式化输出 运算符 编码
  16. Lonsdor K518ISE SCION 2011-2018 Models Enabled!
  17. 第一册:lesson sixty nine.
  18. 5. Redis持久化
  19. .net framework 4.6 asp.net mvc 使用NLog
  20. QT和MFC的差别

热门文章

  1. 九度OJ1184二叉树
  2. Sql Server 判断表或数据库是否存在
  3. dataTable 禁止排序
  4. 《Junit实战》读书笔记
  5. 关于window.location不跳转的问题
  6. RHEL 6.1字符界面无法登录SSH却能登录
  7. An error occurred while collecting items to be installed session context was:(profile=DefaultProfile... 解决方案
  8. linux下修改IP信息
  9. python 读取SQLServer数据插入到MongoDB数据库中
  10. DataGridView自动行号