Putty comments to access mysql

ssh -l dev -p 14223 104.245.125.200

(ssh -l dev(username) -p 14223(port) 103.532.123.100 (host))

mysql -uroot -pGsdERx

(mysql -uroot(username) -pGsdERx(password))

show database

use 1degreeword(database name)

show tables;

Advertisements

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!