![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
centos
T浩浩
这个作者很懒,什么都没留下…
展开
-
Centos7 防火墙常用命令 开启 关闭防火墙
如果你的系统上没有安装使用命令安装 [html] view plain copy #yum install firewalld //安装firewalld 防火墙 开启服务 [html] view plain copy # systemctl start firewal原创 2018-01-11 17:03:01 · 577 阅读 · 0 评论 -
Linux文件查看/编辑方法介绍
cat 命令介绍 cat 命令的原含义为连接(concatenate), 用于连接多个文件内容并输出到标准输出流中(标准输出流默认为屏幕)。实际运用过程中,我们常使用它来显示文件内容。如果您熟悉MS-DOS 下的type 命令,相信不难掌握cat 命令。该命令的常用示例如下: cat file1.txt 显示 file1.txt 文件的内容; cat file1.txt file原创 2018-01-11 17:05:46 · 190 阅读 · 0 评论 -
CentOS7 增加tomcat 启动,停止,使用systemctl进行配置
1,centos7 使用 systemctl 替换了 service命令 参考:redhat文档: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Managing_Services_with_systemd-Se原创 2018-01-12 10:44:12 · 639 阅读 · 0 评论 -
Solr服务在linux中配置业务域笔记
以商品搜索为例: schema.xml中定义: 商品Id,商品标题,商品卖点,商品价格,商品展示图片,分类名称 创建对应的业务域。需要指定中文分析器。 创建步骤: 第一步:把IK Analyzer 2012FF_hf1添加到linux中 第二步:在linux中把中文分析器添加到工程中。 1、把IKAnalyzer2012FF_u1.jar复制到solr工程转载 2018-01-17 09:51:16 · 167 阅读 · 0 评论 -
linux solr7.2.0在tomcat 8.5中安装部署 以及简单创建core 添加数据
从这篇文章可以学习哪些东西?1.linux上solr的安装部署。a:官方给出的运行方式 b:部署到自己的tomcat2.添加core。添加core遇到的问题及解决方案3.添加字段。a:在UI界面添加 b:修改配置文件添加4.添加数据、更新数据 下载solr从官网下载最新solrwget http://mirrors.shuosc.org/apache/lucene/solr/7.2.0转载 2018-01-18 17:09:43 · 689 阅读 · 0 评论 -
solr7.2中文分词器安装
安装中文分词器1、复制jar包[root@node004 ~]# cd /usr/local/solr/home/contrib/analysis-extras/lucene-libs/[root@node004 lucene-libs]# cp lucene-analyzers-smartcn-7.2.0.jar /usr/local/solr/apache-tomcat-8.5.转载 2018-01-18 17:39:14 · 179 阅读 · 0 评论 -
linux环境安装nginx
开始前,请确认gcc g++开发类库是否装好,默认已经安装。 ububtu平台编译环境可以使用以下指令 apt-get install build-essential apt-get install libtool centos平台编译环境使用如下指令 安装make: yum -y install gcc automake autoconf libtool make ...转载 2018-12-05 15:10:30 · 112 阅读 · 0 评论