Execute the startup specification after entering the bin directory
./solr start
report errors
What should I do?
View system limits
ulimit -a
Now you need to change the system limit and log in to the root account
Locate the file/etc/security/limits At the end of conf, add the following two lines [added by default in some systems]
* soft nofile 65535 * hard nofile 65535
Then locate the file/etc/security/limits d/20-nproc.conf
Change 4096 to 65535
Login again and take effect after modification