[root@localhost bin]# ./solr start -p 8984
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'
加上-force即可