<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>install Solr Apache Server on Centos or Fedora Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/install-solr-apache-server-on-centos-or-fedora/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 28 Nov 2018 20:07:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Install Apache Solr 7.5 on CentOS/RHEL 7, Fedora 28-29</title>
		<link>https://www.osradar.com/install-apache-solr-7-5-on-centos-rhel-7-fedora-28-29/</link>
					<comments>https://www.osradar.com/install-apache-solr-7-5-on-centos-rhel-7-fedora-28-29/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Wed, 28 Nov 2018 15:10:47 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[install Solr Apache Server on Centos or Fedora]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7773</guid>

					<description><![CDATA[<p>Apache Solr is a standalone enterprise search server with a REST-like API. its an opensource search platform written on Java You put documents in it (called &#8220;indexing&#8221;) via JSON, XML, CSV or binary over HTTP. You query it via HTTP GET and receive JSON, XML, CSV or binary results. How to install Solr Apache Server [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-apache-solr-7-5-on-centos-rhel-7-fedora-28-29/">Install Apache Solr 7.5 on CentOS/RHEL 7, Fedora 28-29</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Apache Solr is a standalone enterprise search server with a REST-like API. its an opensource search platform written on Java You put documents in it (called &#8220;indexing&#8221;) via JSON, XML, CSV or binary over HTTP. You query it via HTTP GET and receive JSON, XML, CSV or binary results.</p>
<p><strong>How to install Solr Apache Server on Centos or Fedora ?</strong></p>
<h3><strong>1- Requirements;</strong></h3>
<p>Please ensure  that  Java has been installed, openJDK is Ok, but also you use java from Oracle  Install  Java</p>
<pre class="">#yum  install java 
#dnf  install java</pre>
<p><strong>Check Java version Installed</strong></p>
<p># java -version<br />
openjdk version &#8220;11-ea&#8221; 2018-09-25<br />
OpenJDK Runtime Environment (build 11-ea+28)<br />
OpenJDK 64-Bit Server VM (build 11-ea+28, mixed mode, sharing)<br />
[root@osrdarFedora ~]#</p>
<h3><strong>2-Download  and   Install  Solr</strong></h3>
<p><strong>2.1-Download  the compressed file from</strong> <a href="https://lucene.apache.org/solr/">Solr Apache site</a></p>
<pre class="">[root@osrdarFedora ~]# wget http://apache.40b.nl/lucene/solr/7.5.0/solr-7.5.0.tgz
--2018-11-28 02:37:18-- http://apache.40b.nl/lucene/solr/7.5.0/solr-7.5.0.tgz
Resolving apache.40b.nl (apache.40b.nl)... 83.128.155.233
Connecting to apache.40b.nl (apache.40b.nl)|83.128.155.233|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 168429358 (161M) [application/x-gzip]
Saving to: ‘solr-7.5.0.tgz’

solr-7.5.0.tgz 100%[==================================================================================================================&gt;] 160.63M 7.30MB/s in 24s

2018-11-28 02:37:44 (6.74 MB/s) - ‘solr-7.5.0.tgz’ saved [168429358/168429358]

[root@osrdarFedora ~]#</pre>
<h3><strong>2.2-Extract  and Install The file</strong></h3>
<pre class="">[root@osrdarFedora ~]# tar xzf solr-7.5.0.tgz solr-7.5.0/bin/install_solr_service.sh --strip-components=2
[root@osrdarFedora ~]# ls
anaconda-ks.cfg install_solr_service.sh original-ks.cfg solr-7.5.0.tgz

</pre>
<p>&nbsp;</p>
<pre class="">[root@osrdarFedora ~]# bash ./install_solr_service.sh solr-7.5.0.tgz
id: ‘solr’: no such user
Creating new user: solr

Extracting solr-7.5.0.tgz to /opt

Installing symlink /opt/solr -&gt; /opt/solr-7.5.0 ...

Installing /etc/init.d/solr script ...

Installing /etc/default/solr.in.sh ...

Service solr installed.
Customize Solr startup configuration in /etc/default/solr.in.sh
*** [WARN] *** Your open file limit is currently 1024.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
*** [WARN] *** Your Max Processes Limit is currently 8444.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Waiting up to 180 seconds to see Solr running on port 8983 [/]
Started Solr server on port 8983 (pid=28458). Happy searching!

Found 1 Solr nodes:

Solr process 28458 running on port 8983
INFO - 2018-11-28 02:42:25.929; org.apache.solr.util.configuration.SSLCredentialProviderFactory; Processing SSL Credential Provider chain: env;sysprop
{
"solr_home":"/var/solr/data",
"version":"7.5.0 b5bf70b7e32d7ddd9742cc821d471c5fabd4e3df - jimczi - 2018-09-18 13:07:55",
"startTime":"2018-11-28T10:41:40.134Z",
"uptime":"0 days, 0 hours, 0 minutes, 48 seconds",
"memory":"46.9 MB (%9.6) of 490.7 MB"}

[root@osrdarFedora ~]#</pre>
<p>&nbsp;</p>
<h3 class="heading1"><strong> 3-Manage Solr Service</strong></h3>
<p>Please Use the following commands to Start, Stop and check the status of Solr</p>
<p><strong>For Systemd Users – and Systemd users.<br />
</strong></p>
<pre class="">sudo systemctl stop solr
sudo systemctl start solr 
sudo systemctl status solr 
</pre>
<pre class="">sudo systemctl enable solr
sudo systemctl restart solr 
sudo systemctl status solr 
</pre>
<h3>Firewall   Confuration</h3>
<p>The Solr port is 8983. please ensure that the port is running and reachable thru the firewall.</p>
<pre class="">[root@osrdarFedora ~]# firewall-cmd --permanent --add-port=8983/tcp
success
[root@osrdarFedora ~]# firewall-cmd --reload
success
[root@osrdarFedora ~]#</pre>
<h3><strong>4-Create  Collection  :</strong></h3>
<p>Create your first collection using the following command.  you may change the name to  something you like.</p>
<pre class="">[root@osrdarFedora ~]# su - solr -c "/opt/solr-7.5.0/bin/solr create -c osradarcol1 -n data_driven_schema_configs"
INFO - 2018-11-28 03:50:27.463; org.apache.solr.util.configuration.SSLCredentialProviderFactory; Processing SSL Credential Provider chain: env;sysprop

Created new core 'osradarcol1'
[root@osrdarFedora ~]#
</pre>
<h2 class="heading1">Step 5 –  Solr Web Admin Panel</h2>
<p>The access to the Admin panel have no credentials needed.  only  point your browser to http://ip:8983   or http://host:8983</p>
<p>and Enjoy</p>
<p><img loading="lazy" class="alignnone size-full wp-image-7781" src="https://www.osradar.com/wp-content/uploads/2018/11/solr1.png" alt="" width="1397" height="694" srcset="https://www.osradar.com/wp-content/uploads/2018/11/solr1.png 1397w, https://www.osradar.com/wp-content/uploads/2018/11/solr1-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/solr1-768x382.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/solr1-1024x509.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/solr1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/solr1-696x346.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/solr1-1068x531.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/solr1-845x420.png 845w" sizes="(max-width: 1397px) 100vw, 1397px" /> <img loading="lazy" class="alignnone size-full wp-image-7782" src="https://www.osradar.com/wp-content/uploads/2018/11/Solr2.png" alt="" width="1585" height="777" srcset="https://www.osradar.com/wp-content/uploads/2018/11/Solr2.png 1585w, https://www.osradar.com/wp-content/uploads/2018/11/Solr2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/Solr2-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/Solr2-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/Solr2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/Solr2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/Solr2-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/Solr2-1068x524.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/Solr2-857x420.png 857w" sizes="(max-width: 1585px) 100vw, 1585px" /></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-apache-solr-7-5-on-centos-rhel-7-fedora-28-29/">Install Apache Solr 7.5 on CentOS/RHEL 7, Fedora 28-29</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-apache-solr-7-5-on-centos-rhel-7-fedora-28-29/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
