Tag Archives: Solr

How to setup multi solr instance on same server with different port?

I. Install Solr 4.x.x follow this acticle

how to setup apache solr on linux?

II. Clone solr instance
1. Go to /opt/solr/
2. Copy folder example to new directory (e.g: instance2)

3. Go to /opt/solr/instance2 start instance

4. Test your instance
Go to http://localhost:4983/solr/


how to setup apache solr on linux?

NOTE: Require permision root user
I. Install Java
Setup Java On Linux
II. Setup Solr server
1. Solr require system user named “solr” and we will create one:

2. Download and setup Solr server:

3. Make the Solr server auto-run when the machine reboot or shutdown:

III. Create Solr core:
1. Create Solr core instance named “collection1”:

2. Change ownership to “solr” user:

3. If you get this error:
“Failed to create core ‘webfoobar’ due to: Error CREATEing SolrCore ‘collection1’: Unable to create core [collection1] Caused by: /var/solr/data/collection1/data”
Issue this command again:

4. Restart service solr

5. Test server

Go to http://localhost:8983/solr/#/collection1

IV. Setup Standalone Solr Local Access

1. Open firewall port

Open firewall port on linux

2. Find your ip of server

3. Test server
Go to http://your-ip:8983/solr/#/collection1