Doris单机安装(百度版)
1.下载Doris
https://palo-cloud-repo-bd.bd.bcebos.com/baidu-doris-release/PALO-1.0.5-no-avx2-release-binary.tar.gz
2.解压
tar xzvf PALO-1.0.5-no-avx2-release-binary.tar.gz
3.配置BE、FE
# 配置FE-Config vi fe/conf/fe.conf # 取消priority_networks的注释,修改参数 priority_networks = 127.0.0.0/24 # 配置BE-Config vi be/conf/be.conf # 取消priority_networks的注释,修改参数 priority_networks = 127.0.0.0/24
4.配置环境变理
vim /etc/profile export DORIS_HOME=Doris目录 export PATH=$PATH:$DORIS_HOME/fe/bin:$DORIS_HOME/be/bin source /etc/profile
5.启动
start_fe.sh --daemon start_be.sh --daemon
6.安装mysql客户端
yum -y install mysql
遇到密钥问题解决(仓库 "MySQL 5.7 Community Server" 的 GPG 密钥已安装,但是不适用于此软件包。请检查仓库的公 钥 URL 是否配置正确):
rm /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
7.登录
mysql -h 127.0.0.1 -P 9030 -uroot
8.修改密码
set password for 'root' = password('123456')
9.其它
http://192.168.1.117:8030/api/health #是否启动成功{"status": "OK","msg": "To Be Added"} 则表示启动成功
http://192.168.1.117:8030/api/bootstrap #是否启动成功
http://192.168.1.117:8030/ #WebUI界⾯
参考:
https://cloud.tencent.com/developer/article/2005926
https://blog.csdn.net/weixin_38959210/article/details/124960815
https://www.isres.com/linux/4749.html
https://blog.csdn.net/weixin_44806879/article/details/124184137