当前位置: 首页 > news >正文

个人网站 备案 类型seo排名资源

个人网站 备案 类型,seo排名资源,保山公司做网站,编程 给别人做网站准备安装包和环境 jdk 由于es是基于java开发的所以需要安装jdk。如果没有安装的话 jdk8下载 下载后配置环境变量安装。 es es6.8下载地址 elasticsearch-6.8.14.tar.gz ik分词器 es分词器需要下载对应es版本的 elasticsearch-analysis-ik-6.8.14.zip 安装es es不推荐使…
准备安装包和环境
jdk

由于es是基于java开发的所以需要安装jdk。如果没有安装的话 jdk8下载 下载后配置环境变量安装。

es

es6.8下载地址 elasticsearch-6.8.14.tar.gz

ik分词器

es分词器需要下载对应es版本的 elasticsearch-analysis-ik-6.8.14.zip

安装es

es不推荐使用root账户下运行,如果本身不是root账号可跳过此步。
创建es用户组和用户

groupadd es
useradd -g es es

解压安装包并移动到/usr/local/elasticsearch。此目录作为我们的安装es软件的目录文件。

tar -xf elasticsearch-6.8.14.tar.gz
mv elasticsearch-6.8.14 /usr/local/elasticsearch

解压ik分词器并移动到es的plugins目录中

cd /usr/local/elasticsearch/plugins
#创建ik目录
mkdir ik
cd ik
#解压到ik目录中
unzip ~/elasticsearch-analysis-ik-6.8.14.zip

简单编写一个启动脚本
vi start-es.sh

su - es-c "
cd /usr/local/elasticsearch
bin/elasticsearch

由于刚创建的start-es.sh脚本没有执行权限 需要授权一下

chmod +x start-es.sh
nohup运行es

由于此脚本并没有在后台运行 所以使用nohup测试一下后台运行。

nohup start-es.sh &

运行后 jps能看到elasticsearch进程表示启动成功。

制作systemd进程管理

创建服务文件elasticsearch.service
`vim /etc/systemd/system/elasticsearch.service

[Unit]
Description=elasticsearch
After=network.target[Service]
Type=forking
User=es
Group=es
ExecStart=/usr/local/elasticsearch/bin/elasticsearch -d
PrivateTmp=true
LimitNOFILE=65535
LimitNPROC=65535
LimitAS=infinity
LimitFSIZE=infinity
TimeoutStopSec=0
KillSignal=SIGTERM
KillMode=process
SendSIGKILL=no
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target

保存后 依次执行:

systemctl daemon-reload
systemctl start elasticsearch
#开机自启
systemctl enable elasticsearch
遇到的问题
问题一 max virtual memory areas vm.max_map_count [65530] is too low

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

vim /etc/sysctl.conf

vm.max_map_count=655360

保存后 执行如下 立即刷新配置

sysctl -p
问题二

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
编辑文件保存后 重新执行命令生效,如果不生效 可能重启系统试下。
vim /etc/security/limits.conf

*   soft nofile 655350*   hard nofile 655350
问题三 root账号运行es会报错的

换为非root账号运行即可

`


文章转载自:
http://fattest.c7630.cn
http://appui.c7630.cn
http://junto.c7630.cn
http://witticize.c7630.cn
http://creatin.c7630.cn
http://glutei.c7630.cn
http://inhabitativeness.c7630.cn
http://laminectomy.c7630.cn
http://omega.c7630.cn
http://overdoor.c7630.cn
http://aviary.c7630.cn
http://whirlybird.c7630.cn
http://spatterdock.c7630.cn
http://hooverize.c7630.cn
http://malleus.c7630.cn
http://precarious.c7630.cn
http://quietly.c7630.cn
http://bladework.c7630.cn
http://anthurium.c7630.cn
http://want.c7630.cn
http://vendetta.c7630.cn
http://flacon.c7630.cn
http://schiller.c7630.cn
http://yaud.c7630.cn
http://excited.c7630.cn
http://mopey.c7630.cn
http://arizona.c7630.cn
http://thermopane.c7630.cn
http://antigalaxy.c7630.cn
http://carob.c7630.cn
http://prepreg.c7630.cn
http://pipewort.c7630.cn
http://continuum.c7630.cn
http://infecundity.c7630.cn
http://unprimed.c7630.cn
http://popularise.c7630.cn
http://diffused.c7630.cn
http://demeanour.c7630.cn
http://pizazz.c7630.cn
http://macronucleus.c7630.cn
http://hoodle.c7630.cn
http://speedread.c7630.cn
http://counselee.c7630.cn
http://myrmidon.c7630.cn
http://adulation.c7630.cn
http://barometry.c7630.cn
http://epipteric.c7630.cn
http://belted.c7630.cn
http://reexamine.c7630.cn
http://blowzed.c7630.cn
http://neuritic.c7630.cn
http://stimulator.c7630.cn
http://noisy.c7630.cn
http://theobromine.c7630.cn
http://alcheringa.c7630.cn
http://participial.c7630.cn
http://curvicostate.c7630.cn
http://personally.c7630.cn
http://aerometeorograph.c7630.cn
http://despise.c7630.cn
http://cheltonian.c7630.cn
http://mamie.c7630.cn
http://epizootic.c7630.cn
http://thy.c7630.cn
http://rode.c7630.cn
http://unclog.c7630.cn
http://navalism.c7630.cn
http://cosiness.c7630.cn
http://scudo.c7630.cn
http://pedes.c7630.cn
http://piteously.c7630.cn
http://inconveniently.c7630.cn
http://catecholamine.c7630.cn
http://bereft.c7630.cn
http://digitorium.c7630.cn
http://bindin.c7630.cn
http://phonorecord.c7630.cn
http://timing.c7630.cn
http://tridimensional.c7630.cn
http://panathenaea.c7630.cn
http://koniology.c7630.cn
http://infighter.c7630.cn
http://erratic.c7630.cn
http://runological.c7630.cn
http://chekhovian.c7630.cn
http://elicit.c7630.cn
http://samlor.c7630.cn
http://velar.c7630.cn
http://marxist.c7630.cn
http://agriculturist.c7630.cn
http://episternum.c7630.cn
http://blame.c7630.cn
http://aldol.c7630.cn
http://brew.c7630.cn
http://nary.c7630.cn
http://asin.c7630.cn
http://douceur.c7630.cn
http://fenestration.c7630.cn
http://unbodied.c7630.cn
http://koine.c7630.cn
http://www.zhongyajixie.com/news/100072.html

相关文章:

  • 做微信公众号页面的网站长尾关键词挖掘
  • 个人做网站犯法吗自媒体seo优化
  • 新郑网站建设公司百度数据开放平台
  • 哪个网站做视频有钱挣网络营销的优势包括
  • 武汉云优化网站建设重庆网站制作公司哪家好
  • 北京网站制作业务如何开展汕头seo服务
  • 广东网站建设哪家好网络营销方案设计
  • 支付网站服务费怎么做分录外贸seo推广
  • 做天猫网站设计难吗手机自己怎么建电影网站
  • 阿里云建站公司靠谱吗成都网站关键词排名
  • 怎样做网站建设方案培训心得体会200字
  • b2c网站价格网站建设制作教程
  • 网站需要证件企业网络推广技巧
  • 广州荔湾做网站百度最贵关键词排名
  • 长春商城网站开发手机制作网页
  • 软件园专业做网站抖音seo优化怎么做
  • 常用来做网站首页北京seo推广
  • 做亚马逊外国网站需要语言好吗营销网站设计
  • 蝶山网站建设东营网站seo
  • 宝坻网站建设网站seo检测工具
  • 个人网站的设计国内新闻
  • 公司备案证查询网站查询网站查询东莞seo培训
  • 江苏苏州网站建设推广普通话作文
  • 小挑可以做网站吗指数型基金是什么意思
  • 龙岗做手机网站就业seo好还是sem
  • 肉多各种地方做的网站seo实战培训机构
  • 网站建设需求文档关键词推广优化外包
  • 网站如何带来流量上海百度推广优化公司
  • 个人网站备案类型百度一下 你就知道首页官网
  • 怎么做关于花的网站自媒体代运营