You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by gi...@apache.org on 2020/12/22 02:29:10 UTC

[incubator-dolphinscheduler-website] branch asf-site updated: Automated deployment: Tue Dec 22 02:29:01 UTC 2020 ac9256ef9ec632e7b00e9987fc0e6f759ba2692b

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 2fc94a4  Automated deployment: Tue Dec 22 02:29:01 UTC 2020 ac9256ef9ec632e7b00e9987fc0e6f759ba2692b
2fc94a4 is described below

commit 2fc94a4d1c5d804008456e1898b1bac43837e6ed
Author: dailidong <da...@users.noreply.github.com>
AuthorDate: Tue Dec 22 02:29:02 2020 +0000

    Automated deployment: Tue Dec 22 02:29:01 UTC 2020 ac9256ef9ec632e7b00e9987fc0e6f759ba2692b
---
 zh-cn/docs/1.3.3/user_doc/cluster-deployment.html    |  8 ++++++++
 zh-cn/docs/1.3.3/user_doc/cluster-deployment.json    |  2 +-
 zh-cn/docs/1.3.3/user_doc/standalone-deployment.html | 14 +++++++++++++-
 zh-cn/docs/1.3.3/user_doc/standalone-deployment.json |  2 +-
 4 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/zh-cn/docs/1.3.3/user_doc/cluster-deployment.html b/zh-cn/docs/1.3.3/user_doc/cluster-deployment.html
index f4c5792..c2e92f7 100644
--- a/zh-cn/docs/1.3.3/user_doc/cluster-deployment.html
+++ b/zh-cn/docs/1.3.3/user_doc/cluster-deployment.html
@@ -437,6 +437,14 @@ enterprise.wechat.user.send.msg={\&quot;touser\&quot;:\&quot;{toUser}\&quot;,\&q
 </code></pre>
 <p>以上配置修改后重启服务生效。</p>
 </li>
+<li>
+<p>配置sudo免密,用于解决默认配置sudo权限过大或不能申请root权限的使用问题</p>
+<p>配置dolphinscheduler OS账号的sudo权限为部分普通用户范围内的一个普通用户管理者,限制指定用户在指定主机上运行某些命令,详细配置请看sudo权限管理。
+例如sudo权限管理配置dolphinscheduler OS账号只能操作用户userA,userB,userC的权限(其中用户userA,userB,userC用于多租户向大数据集群提交作业)</p>
+<pre><code class="language-shell">echo 'dolphinscheduler  ALL=(userA,userB,userC)  NOPASSWD: NOPASSWD: ALL' &gt;&gt; /etc/sudoers
+sed -i 's/Defaults    requirett/#Defaults    requirett/g' /etc/sudoers
+</code></pre>
+</li>
 </ul>
 </div></section><footer class="footer-container"><div class="footer-body"><img src="/img/ds_gray.svg"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>Apache DolphinScheduler (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. 
 Incubation is required of all newly accepted projects until a further review indicates 
diff --git a/zh-cn/docs/1.3.3/user_doc/cluster-deployment.json b/zh-cn/docs/1.3.3/user_doc/cluster-deployment.json
index 661dc2a..e4685af 100644
--- a/zh-cn/docs/1.3.3/user_doc/cluster-deployment.json
+++ b/zh-cn/docs/1.3.3/user_doc/cluster-deployment.json
@@ -1,6 +1,6 @@
 {
   "filename": "cluster-deployment.md",
-  "__html": "<h1>集群部署(Cluster)</h1>\n<h1>1、基础软件安装(必装项请自行安装)</h1>\n<ul>\n<li>PostgreSQL (8.2.15+) or MySQL (5.7系列)  :  两者任选其一即可</li>\n<li><a href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\">JDK</a> (1.8+) :  必装,请安装好后在/etc/profile下配置 JAVA_HOME 及 PATH 变量</li>\n<li>ZooKeeper (3.4.6+) :必装</li>\n<li>Hadoop (2.6+) or MinIO :选装,如果需要用到资源上传功能,可以选择上传到Hadoop or MinIO上</li>\n</ul>\n<pre><code class=\"language-markdown\"> 注意:DolphinScheduler本身不依赖Hadoop、Hive、Spark,仅是会调用他们的Cl [...]
+  "__html": "<h1>集群部署(Cluster)</h1>\n<h1>1、基础软件安装(必装项请自行安装)</h1>\n<ul>\n<li>PostgreSQL (8.2.15+) or MySQL (5.7系列)  :  两者任选其一即可</li>\n<li><a href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\">JDK</a> (1.8+) :  必装,请安装好后在/etc/profile下配置 JAVA_HOME 及 PATH 变量</li>\n<li>ZooKeeper (3.4.6+) :必装</li>\n<li>Hadoop (2.6+) or MinIO :选装,如果需要用到资源上传功能,可以选择上传到Hadoop or MinIO上</li>\n</ul>\n<pre><code class=\"language-markdown\"> 注意:DolphinScheduler本身不依赖Hadoop、Hive、Spark,仅是会调用他们的Cl [...]
   "link": "/zh-cn/docs/1.3.3/user_doc/cluster-deployment.html",
   "meta": {}
 }
\ No newline at end of file
diff --git a/zh-cn/docs/1.3.3/user_doc/standalone-deployment.html b/zh-cn/docs/1.3.3/user_doc/standalone-deployment.html
index 372a1f7..4c0cee6 100644
--- a/zh-cn/docs/1.3.3/user_doc/standalone-deployment.html
+++ b/zh-cn/docs/1.3.3/user_doc/standalone-deployment.html
@@ -44,7 +44,7 @@ useradd dolphinscheduler;
 #</span><span class="bash"> 添加密码</span>
 echo "dolphinscheduler" | passwd --stdin dolphinscheduler
 <span class="hljs-meta">
-#</span><span class="bash"> 配置sudo免密</span>
+#</span><span class="bash"> 配置sudo免密 [1]</span>
 sed -i '$adolphinscheduler  ALL=(ALL)  NOPASSWD: NOPASSWD: ALL' /etc/sudoers
 sed -i 's/Defaults    requirett/#Defaults    requirett/g' /etc/sudoers
 <span class="hljs-meta">
@@ -317,6 +317,18 @@ sh ./bin/dolphinscheduler-daemon.sh stop logger-server
 sh ./bin/dolphinscheduler-daemon.sh stop alert-server
 </code></pre>
 <p><code>注:服务用途请具体参见《系统架构设计》小节</code></p>
+<hr>
+<h3>附录:</h3>
+<ul>
+<li>
+<p><font color=red >[1]</font>配置sudo免密,用于解决默认配置sudo权限过大或不能申请root权限的使用问题</p>
+<p>配置dolphinscheduler OS账号的sudo权限为部分普通用户范围内的一个普通用户管理者,限制指定用户在指定主机上运行某些命令,详细配置请看sudo权限管理。
+例如sudo权限管理配置dolphinscheduler OS账号只能操作用户userA,userB,userC的权限(其中用户userA,userB,userC用于多租户向大数据集群提交作业)</p>
+<pre><code class="language-shell">echo 'dolphinscheduler  ALL=(userA,userB,userC)  NOPASSWD: NOPASSWD: ALL' &gt;&gt; /etc/sudoers
+sed -i 's/Defaults    requirett/#Defaults    requirett/g' /etc/sudoers
+</code></pre>
+</li>
+</ul>
 </div></section><footer class="footer-container"><div class="footer-body"><img src="/img/ds_gray.svg"/><div class="cols-container"><div class="col col-12"><h3>Disclaimer</h3><p>Apache DolphinScheduler (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. 
 Incubation is required of all newly accepted projects until a further review indicates 
 that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. 
diff --git a/zh-cn/docs/1.3.3/user_doc/standalone-deployment.json b/zh-cn/docs/1.3.3/user_doc/standalone-deployment.json
index ca71664..952b7f5 100644
--- a/zh-cn/docs/1.3.3/user_doc/standalone-deployment.json
+++ b/zh-cn/docs/1.3.3/user_doc/standalone-deployment.json
@@ -1,6 +1,6 @@
 {
   "filename": "standalone-deployment.md",
-  "__html": "<h1>单机部署(Standalone)</h1>\n<h1>1、基础软件安装(必装项请自行安装)</h1>\n<ul>\n<li>PostgreSQL (8.2.15+) or MySQL (5.7系列)  :  两者任选其一即可</li>\n<li><a href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\">JDK</a> (1.8+) :  必装,请安装好后在/etc/profile下配置 JAVA_HOME 及 PATH 变量</li>\n<li>ZooKeeper (3.4.6+) :必装</li>\n<li>Hadoop (2.6+) or MinIO :选装, 如果需要用到资源上传功能,针对单机可以选择本地文件目录作为上传文件夹(此操作不需要部署Hadoop);当然也可以选择上传到Hadoop or MinIO集群上</li>\n</ul>\n<pre><code class=\"language-markdown\"> 注意:Do [...]
+  "__html": "<h1>单机部署(Standalone)</h1>\n<h1>1、基础软件安装(必装项请自行安装)</h1>\n<ul>\n<li>PostgreSQL (8.2.15+) or MySQL (5.7系列)  :  两者任选其一即可</li>\n<li><a href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\">JDK</a> (1.8+) :  必装,请安装好后在/etc/profile下配置 JAVA_HOME 及 PATH 变量</li>\n<li>ZooKeeper (3.4.6+) :必装</li>\n<li>Hadoop (2.6+) or MinIO :选装, 如果需要用到资源上传功能,针对单机可以选择本地文件目录作为上传文件夹(此操作不需要部署Hadoop);当然也可以选择上传到Hadoop or MinIO集群上</li>\n</ul>\n<pre><code class=\"language-markdown\"> 注意:Do [...]
   "link": "/zh-cn/docs/1.3.3/user_doc/standalone-deployment.html",
   "meta": {}
 }
\ No newline at end of file