You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pl...@apache.org on 2018/08/09 03:47:50 UTC

[3/3] directory-kerby git commit: Update has-ha.md, has-start.md and mysql-backend.md.

Update has-ha.md, has-start.md and mysql-backend.md.


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/66289b09
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/66289b09
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/66289b09

Branch: refs/heads/kerby-2.0.0
Commit: 66289b09f6c70d0b1fc311f246abdc6ca516873a
Parents: 48aa21f
Author: plusplusjiajia <ji...@intel.com>
Authored: Thu Aug 9 11:14:22 2018 +0800
Committer: plusplusjiajia <ji...@intel.com>
Committed: Thu Aug 9 11:44:49 2018 +0800

----------------------------------------------------------------------
 has-project/docs/has-ha.md        | 18 +++++++++---------
 has-project/docs/has-start.md     |  2 +-
 has-project/docs/mysql-backend.md | 16 ++++++++--------
 3 files changed, 18 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/66289b09/has-project/docs/has-ha.md
----------------------------------------------------------------------
diff --git a/has-project/docs/has-ha.md b/has-project/docs/has-ha.md
index 5376b48..e38eff2 100644
--- a/has-project/docs/has-ha.md
+++ b/has-project/docs/has-ha.md
@@ -58,7 +58,7 @@ The two redundant HAS servers must have same https ports. Below are examples:
 
 The two redundant HAS servers must use **mysql** backend, and have same *mysql_url*, *mysql_user* and *mysql_password*.
 
-Please look at [How to use mysql backend](docs/mysql-backend.md) for mysql backend configuration.
+Please look at [How to use mysql backend](mysql-backend.md) for mysql backend configuration.
 
 ### 4. Configure HAS KDC
 
@@ -73,12 +73,12 @@ The two redundant HAS servers must have same ports and realms.
 ### 6. Reexport has-client.conf for HAS web server HA
 
 ```
-cd HAS/has-dist
+cd kerby-dist/has-dist
 // Start KDC init tool
 sh bin/kdcinit.sh <conf_dir>
 // Get has-client.conf, and put it to /etc/has:
-KdcInitTool: gethas -p /etc/has
-KdcInitTool: exit
+HasInitTool: gethas -p /etc/has
+HasInitTool: exit
 ```
 
 You will get has-client.conf like the following:
@@ -105,12 +105,12 @@ add the following properties:
 ### 7. Reexport krb5.conf for HAS KDC HA
 
 ```
-cd HAS/has-dist
+cd kerby-dist/has-dist
 // Start KDC init tool:
-sh bin/kdcinit.sh <conf_dir>
+sh bin/has-init.sh <conf_dir>
 // Get krb5.conf, and put it to /etc:
-KdcInitTool: getkrb5 -p /etc
-KdcInitTool: exit
+HasInitTool: getkrb5 -p /etc
+HasInitTool: exit
 ```
 
 You will get krb5.conf like the following:
@@ -137,7 +137,7 @@ You can use login-test tool to verify:
 
 ### 2. Run login-test tool
 ```
-cd HAS/has-dist
+cd kerby-dist/has-dist
 // Use tgt to login
 sh bin/login-test.sh tgt <conf_dir> MySQL
 ```

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/66289b09/has-project/docs/has-start.md
----------------------------------------------------------------------
diff --git a/has-project/docs/has-start.md b/has-project/docs/has-start.md
index e46ddec..f1310af 100644
--- a/has-project/docs/has-start.md
+++ b/has-project/docs/has-start.md
@@ -187,7 +187,7 @@ sh bin/admin-remote.sh <conf_dir>
 admin.local: creprincs hosts.txt
 admin.local: exit
 ```
-The admin.keytab file is created by the kdcinit. In local and remote hadmin tool, you can type "?" for help.
+The admin.keytab file is created by the has-init. In local and remote admin tool, you can type "?" for help.
 
 #### Get hostRoles list:
 ```

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/66289b09/has-project/docs/mysql-backend.md
----------------------------------------------------------------------
diff --git a/has-project/docs/mysql-backend.md b/has-project/docs/mysql-backend.md
index 93e5d76..29de3b1 100644
--- a/has-project/docs/mysql-backend.md
+++ b/has-project/docs/mysql-backend.md
@@ -27,16 +27,16 @@ Please refer to [install mysql](https://dev.mysql.com/doc/refman/5.7/en/linux-in
 ## Config backend
 ```
 // Url: jdbc url of mysql database; mysqlbackend: name of has mysql backend database; username: mysql user name; password: mysql password
-cd HAS/has-dist
-sh bin/kdcinit.sh conf
-KdcInitTool: config_kdcBackend mysql jdbc:mysql://127.0.0.1:3306/mysqlbackend?createDB=true root passwd
-KdcInitTool: exit
+cd kerby-dist/has-dist
+sh bin/has-init.sh conf
+HasInitTool: config_kdcBackend mysql jdbc:mysql://127.0.0.1:3306/mysqlbackend?createDB=true root passwd
+HasInitTool: exit
 ```
 
 ## Config kdc
 ```
-cd HAS/has-dist
-sh bin/kdcinit.sh conf
-KdcInitTool: config_kdc localhost 88 HADOOP.COM
-KdcInitTool: exit
+cd kerby-dist/has-dist
+sh bin/has-init.sh conf
+HasInitTool: config_kdc localhost 88 HADOOP.COM
+HasInitTool: exit
 ```