PUTTY Comments for Solr Server :

login as: root
root@104.130.100.166’s password:
Last login: Wed Apr 4 08:18:18 2018 from 49.207.183.144
[root@staging ~]# cd /opt/solr/server/solr
[root@staging solr]# vim data-config.xml
[root@staging solr]# cd viator_tours_cities
[root@staging viator_tours_cities]# ls
conf core.properties data
[root@staging viator_tours_cities]# cd conf
[root@staging conf]# ls
currency.xml elevate.xml params.json solrconfig.xml
data-config.xml lang protwords.txt stopwords.txt
dataimport.properties managed-schema schema.xml synonyms.txt
[root@staging conf]# vim data-config.xml
[root@staging conf]# server solr restart
-bash: server: command not found
[root@staging conf]# service solr restart
Sending stop command to Solr running on port 8081 … waiting 5 seconds to allow Jetty process 14884 to stop gracefully.
Waiting up to 30 seconds to see Solr running on port 8081 [/]
Started Solr server on port 8081 (pid=28250). Happy searching!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s