This is an automated email from the ASF dual-hosted git repository. jiafengzheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 46e49bd1b56 remove docs for direct compiling on Centos 46e49bd1b56 is described below commit 46e49bd1b5617bbae2e608761a2dc5aad4ebd741 Author: jiafeng.zhang <zhang...@gmail.com> AuthorDate: Mon Aug 8 09:57:24 2022 +0800 remove docs for direct compiling on Centos remove docs for direct compiling on Centos --- docs/data-operate/export/export-manual.md | 2 +- docs/install/source-install/compilation.md | 23 +--------------------- .../current/install/source-install/compilation.md | 22 +-------------------- 3 files changed, 3 insertions(+), 44 deletions(-) diff --git a/docs/data-operate/export/export-manual.md b/docs/data-operate/export/export-manual.md index 541bc6f3c0d..915647b3039 100644 --- a/docs/data-operate/export/export-manual.md +++ b/docs/data-operate/export/export-manual.md @@ -112,7 +112,7 @@ Export's detailed commands can be passed through `HELP EXPORT;` Examples are as EXPORT TABLE db1.tbl1 PARTITION (p1,p2) [WHERE [expr]] -TO "bos://bj-test-cmy/export/" +TO "hdfs://bj-test-cmy/export/" PROPERTIES ( "label"="mylabel", diff --git a/docs/install/source-install/compilation.md b/docs/install/source-install/compilation.md index 1bae27a9969..8c6c9d57b3d 100644 --- a/docs/install/source-install/compilation.md +++ b/docs/install/source-install/compilation.md @@ -184,28 +184,7 @@ You can try to compile Doris directly in your own Linux environment. ln -s /usr/bin/gcc-11 /usr/bin/gcc sudo apt-get install autoconf automake libtool autopoint ``` - If you are using CentOS you can use the following command to install the dependencies - - ``` - sudo yum groupinstall 'Development Tools' && sudo yum install maven cmake byacc flex automake libtool bison binutils-devel zip unzip ncurses-devel curl git wget python2 glibc-static libstdc++-static java-1.8.0-openjdk - sudo yum install centos-release-scl - sudo yum install devtoolset-10 - scl enable devtoolset-10 bash - ``` - If devtoolset-10 is not found in current repo. Oracle has already rebuilt the devtoolset-10 packages. You can use this repo file: - ``` - [ol7_software_collections] - name=Software Collection packages for Oracle Linux 7 ($basearch) - baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/SoftwareCollections/$basearch/ - gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle - gpgcheck=1 - enabled=1 - ``` - After installation, set environment variables `PATH`, `JAVA_HOME`, etc. - > nit: you can find the jdk install directory by using command `alternatives --list` - - Doris 0.14.0 will use gcc7 env to compile. - + 2. Compile Doris Compiling with the Docker development image, check whether the avx2 instruction is supported before compiling diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/source-install/compilation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/source-install/compilation.md index 5e37b676112..85a95749312 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/source-install/compilation.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/install/source-install/compilation.md @@ -151,7 +151,7 @@ under the License. 你也可以自己创建一个 Doris 开发环境镜像,具体可参阅 `docker/README.md` 文件。 -## 直接编译(CentOS/Ubuntu) +## 直接编译(Ubuntu) 你可以在自己的 linux 环境中直接尝试编译 Doris。 @@ -182,26 +182,6 @@ under the License. sudo apt-get install autoconf automake libtool autopoint ``` - 如果是CentOS 可以执行以下命令 - ``` - sudo yum groupinstall 'Development Tools' && sudo yum install maven cmake byacc flex automake libtool bison binutils-devel zip unzip ncurses-devel curl git wget python2 glibc-static libstdc++-static java-1.8.0-openjdk - sudo yum install centos-release-scl - sudo yum install devtoolset-10 - scl enable devtoolset-10 bash - ``` - 如果当前仓库没有提供devtoolset-10 可以添加如下repo 使用oracle 提供 package - ``` - [ol7_software_collections] - name=Software Collection packages for Oracle Linux 7 ($basearch) - baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/SoftwareCollections/$basearch/ - gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle - gpgcheck=1 - enabled=1 - ``` - - 安装完成后,自行设置环境变量 `PATH`, `JAVA_HOME` 等。(可以通过`alternatives --list`命令找到jdk的安装目录) - 注意: Doris 0.14.0 的版本仍然使用gcc7 的依赖编译,之后的代码将使用gcc10 的依赖 - 2. 编译 Doris 与使用 Docker 开发镜像编译一样,编译之前先检查是否支持avx2指令 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org