编译和安装Doris
编译Doris
使用 Docker 开发镜像编译(推荐)
使用现成的镜像
下载镜像:
1 | docker pull apache/incubator-doris:build-env-for-1.0.0 |
下载源码到本地(目录:/home/ubuntu/doris):
1 | wget https://dist.apache.org/repos/dist/release/doris/1.0/1.0.0-incubating/apache-doris-1.0.0-incubating-src.tar.gz |
运行编译环境:
1 | docker run -it -v /home/ubuntu/.m2:/root/.m2 -v /home/ubuntu/doris/apache-doris-1.0.0-incubating-src:/root/apache-doris-1.0.0-incubating-src apache/incubator-doris:build-env-for-1.0.0 |
修改配置文件
修改fe.conf和be.conf的网络配置,增加以下行:
1 | priority_networks=10.1.3.0/24 |
启动程序
启动FE
1 | bin/start_fe.sh --daemon |
增加BE
1 | ALTER SYSTEM ADD BACKEND "be_host:heartbeat-service_port"; |
其中heartbeat-service_port
默认为:9050
启动BE
1 | bin/start_broker.sh --daemon |
转载请注明出处:编译和安装Doris
原文地址:https://www.xiaotanzhu.com/%E6%95%B0%E6%8D%AE%E4%BB%93%E5%BA%93/2022-07-14-doris-installation.html