centos7中Meili Search搜索引擎安装流程步骤
linux  /  管理员 发布于 2年前   2840
centos7+系统环境
安装
[root@hyperf ~]# curl -L https://install.meilisearch.com | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 5216 100 5216 0 0 2402 0 0:00:02 0:00:02 --:--:-- 16148
Downloading MeiliSearch binary v0.20.0 for linux, architecture amd64...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 631 100 631 0 0 445 0 0:00:01 0:00:01 --:--:-- 445
46 297M 46 139M 0 0 92669 0 0:56:09 0:26:17 0:29:52 149k
curl: (56) TCP connection reset by peer
MeiliSearch binary successfully downloaded as 'meilisearch' file.
Run it:
$ ./meilisearch
Usage:
$ ./meilisearch --help
[root@hyperf ~]# ll
总用量 148492
-rw-------. 1 root root 1204 3月 23 17:06 anaconda-ks.cfg
drwxr-xr-x. 8 root root 4096 3月 24 11:08 lnmp1.7
-rw-r--r--. 1 root root 168539 12月 25 2020 lnmp1.7.tar.gz
-rw-r--r--. 1 root root 3610829 3月 24 12:24 lnmp-install.log
-rwxr--r-- 1 root root 146193332 7月 22 18:09 meilisearch
drwxr-xr-x. 2 mysql mysql 192 10月 23 2019 rar
-rw-r--r--. 1 root root 551239 11月 8 2019 rarlinux-x64-5.8.b3.tar.gz
drwxrwxr-x. 14 root root 4096 4月 28 17:54 swoole-src-4.6.1
-rw-r--r--. 1 root root 1508756 1月 22 16:50 swoole-src-4.6.1.tar.gz
我在执行启动./meilisearch的时候报错,如下
/lib64/libc.so.6: version `GLIBC_2.18' not found...
解决方式:
curl -O http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar zxf glibc-2.18.tar.gz
cd glibc-2.18/
mkdir build
cd build/
../configure --prefix=/usr
make -j2
make install
最后完成的界面信息:
...
/root/glibc-2.18/build/elf/ldconfig \
/lib64 /usr/lib64
LD_SO=ld-linux-x86-64.so.2 CC="gcc" /usr/bin/perl scripts/test-installation.pl /root/glibc-2.18/build/
Your new glibc installation seems to be ok.
make[1]: Leaving directory `/root/glibc-2.18'
[root@hyperf build]#
备注:make -j2会执行比较久的时候,请耐心等待,别中途退出了
继续启动
[root@hyperf ~]# ./meilisearch
888b d888 d8b 888 d8b .d8888b. 888
8888b d8888 Y8P 888 Y8P d88P Y88b 888
88888b.d88888 888 Y88b. 888
888Y88888P888 .d88b. 888 888 888 "Y888b. .d88b. 8888b. 888d888 .d8888b 88888b.
888 Y888P 888 d8P Y8b 888 888 888 "Y88b. d8P Y8b "88b 888P" d88P" 888 "88b
888 Y8P 888 88888888 888 888 888 "888 88888888 .d888888 888 888 888 888
888 " 888 Y8b. 888 888 888 Y88b d88P Y8b. 888 888 888 Y88b. 888 888
888 888 "Y8888 888 888 888 "Y8888P" "Y8888 "Y888888 888 "Y8888P 888 888
Database path:"./data.ms"
Server listening on:"http://127.0.0.1:7700"
Environment:"development"
Commit SHA:"7807a8dcffdfc5e8400074eafe451e9aab4c9864"
Build date:"2021-03-30T15:12:32.806848903+00:00"
Package version:"0.20.0"
Sentry DSN:"https://[email protected]/3060337"
Anonymous telemetry:"Enabled"
No master key found; The server will accept unidentified requests. If you need some protection in development mode, please export a key: export MEILI_MASTER_KEY=xxx
Documentation:https://docs.meilisearch.com
Source code:https://github.com/meilisearch/meilisearch
Contact:https://docs.meilisearch.com/learn/what_is_meilisearch/contact.html or [email protected]
[2021-07-23T01:47:10Z INFO actix_server::builder] Starting 2 workers
[2021-07-23T01:47:10Z INFO actix_server::builder] Starting "actix-web-service-127.0.0.1:7700" service on 127.0.0.1:7700
看到这界面就说明meili search已启动成功了
原梓番博客 在
在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..博主 在
佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 @1111老铁这个不行了,可以看看近期评论的其他文章..1111 在
佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 网站不能打开,博主百忙中能否发个APP下载链接,佛跳墙或极光..路人 在
php中使用hyperf框架调用讯飞星火大模型实现国内版chatgpt功能示例中评论 教程很详细,如果加个前端chatgpt对话页面就完美了..博主 在
科学上网翻墙之v2rayN-Core客户端免费公益节点使用教程中评论 @ mashrdn 多切换几个节点测试,免费ssr是没那么稳..Copyright·© 2019 侯体宗版权所有· 粤ICP备20027696号