Breaking News
Loading...
Sunday, July 21, 2013

Install apache solr on centos

4:27 PM
1. Install java
Download JDK
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
[root@centos ~]# chmod +x jdk-7u10-linux-i586.rpm
[root@centos ~]# rpm -Uvh jdk-7u10-linux-i586.rpm
Preparing…                ########################################### [100%]
1:jdk                    ########################################### [100%]
2. Install apache solr
Download apache solr
[root@centos ~]# wget http://mirrors.digipower.vn/apache/lucene/solr/4.0.0/apache-solr-4.0.0.tgz
[root@centos ~]# tar xzf apache-solr-4.0.0.tgz
[root@centos ~]# mv apache-solr-4.0.0 /opt/solr
3. Start apache solr
[root@centos ~]# cd /opt/solr/example/
[root@centos example]# java -jar start.jar &
4. Access apache solr
http://192.168.1.106:8983/solr/#/


0 comments:

Post a Comment

 
Toggle Footer