安装solr
2024-08-27 10:02:38
安装之前先关闭防火墙、安装好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
最新文章
- GridView中实现DropDownList联动
- ECharts外部调用保存为图片操作及工作流接线mouseenter和mouseleave由于鼠标移动速度过快导致问题解决办法
- git 本地分支与远程分支
- 使用PS3手柄在PC玩Unity3D游戏
- basic use of sidekiq
- poj 1789 Truck History
- [iOS基础控件 - 6.0] UITableView
- css3 3D变换和动画
- 一道movfuscator混淆过的简单逆向
- java中Timer计时器使用
- 省去路由器,Windows 7 也能做无线AP
- 免费SSL证书PK付费SSL证书 花落谁家
- (转)Android 仿订单出票效果 (附DEMO)
- lookup_peer.go
- while循环 格式化输出 运算符 编码
- Lonsdor K518ISE SCION 2011-2018 Models Enabled!
- 第一册:lesson sixty nine.
- 5. Redis持久化
- .net framework 4.6 asp.net mvc 使用NLog
- QT和MFC的差别
热门文章
- 九度OJ1184二叉树
- Sql Server 判断表或数据库是否存在
- dataTable 禁止排序
- 《Junit实战》读书笔记
- 关于window.location不跳转的问题
- RHEL 6.1字符界面无法登录SSH却能登录
- An error occurred while collecting items to be installed session context was:(profile=DefaultProfile... 解决方案
- linux下修改IP信息
- python 读取SQLServer数据插入到MongoDB数据库中
- DataGridView自动行号