1、下载Doris安装包
wget https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.3-bin-x64.tar.gz
2、解压安装包
tar zxf apache-doris-2.1.3-bin-x64.tar.gz
3、重命名文件夹
mv apache-doris-2.1.3-bin-x64 doris
4、修改fe配置文件
vi doris/fe/conf/fe.conf
5、启动fe
./start_fe.sh --daemon
6、修改be配置文件
vi doris/be/conf/be.conf
JAVA_HOME=/usr/java/jdk1.8.0_202-amd64
7、启动be
sysctl -w vm.max_map_count=2000000
./start_be.sh --daemon
8、添加节点以及修改密码
ALTER SYSTEM ADD BACKEND "127.0.0.1:9050";
SET PASSWORD FOR 'root' = PASSWORD('yourpassword');
SET PASSWORD FOR 'admin' = PASSWORD('yourpassword');