1.在vm虚拟机中安裝solr,根据官方网站下载solr的linux安装文件并缓解压力。在/etc/sysconfig/iptables中加上端口8983(Solr初始值)。2.Solr安装:第一步:缓解压力压缩包:[root @ localhost桌面上]# tar-zvxf Solr-7 . 3 . 1 . tgz-c/opt/第二步