1.solr启动 进入solr下面的bin目录
[root@web-server1 bin]# ./solr start -p 8983
WARNING: Starting Solr as the root user is a security risk and not considered best practice. Exiting.
Please consult the Reference Guide. To override this check, start with argument '-force'
[root@web-server1 bin]# ./solr status
Found 2 Solr nodes:
Solr process 23096 from /usr/local/solr-7.1.0/bin/solr-8983.pid not found.
Solr process 32652 from /usr/local/solr-7.1.0/bin/solr-7574.pid not found.
[root@web-server1 bin]#
[root@web-server1 bin]# ./solr start -force
-- hudson启动
Last login: Thu Apr 26 19:25:00 2018 from 192.168.10.69
[root@localhost ~]# /usr/local
-bash: /usr/local: is a directory
[root@localhost ~]# cd /usr/local
[root@localhost local]# ls
apache-activemq-5.5.1 doc games logs server-center tomcatmanage
apache-activemq-5.5.1-bin.tar.gz error_log.txt hsmtest man share tomcatmhs
apache-flume-1.6.0-bin.tar.gz include mongodb-linux-x86_64-2.6.6.gz src tomcatshop
apache-tomcat-7.0.52.tar.gz lib resource tmp
bin etc lib64 sbin tomcatas
compass_xs flume1.6 libexec server tomcatHudson
[root@localhost local]# cd server
server/ server-center/
[root@localhost local]# cd server-center/
[root@localhost server-center]# ls
D: euraker.log nohup.out server-center-dev.jar start.sh
[root@localhost server-center]# nohup ./start.sh &
[1] 11897
[root@localhost server-center]# nohup: appending output to “nohup.out”
[1]+ Done nohup ./start.sh
[root@localhost server-center]# tail -f nohup.out
2018-03-31 02:59:26.233 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 0ms
2018-03-31 02:59:26.734 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
2018-03-31 02:59:27.235 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
2018-03-31 02:59:27.736 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
2018-03-31 02:59:28.237 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
2018-03-31 02:59:28.738 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
2018-03-31 02:59:29.239 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
2018-03-31 02:59:29.740 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
2018-03-31 02:59:30.241 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
2018-03-31 02:59:30.742 INFO 13679 --- [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 1ms
清空某個日志文件:echo "" > a.log
利用SecureCRT上传、下载文件(使用sz与rz命令),超实用!
https://blog.youkuaiyun.com/lioncode/article/details/7921525