solr启动命令 以及 一些linux命令

 

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.csdn.net/lioncode/article/details/7921525

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值