HBase + Kerberos ?????????1??
???????????? ???????[ 2015/7/17 11:24:17 ] ??????????????????
????3??#vim /var/kerberos/krb5kdc/kadm5.acl
??????????????????????Щ????????kadmin??????????kerberos?????????????????У?
????*/admin@MH.COM *
????????????*??????????????????“abc/admin”??“xxx/admin”????????????????????????????kerberos??????????*??????й??*???????????????????и?????????μ?ACL??
????4??#kdb5_util create -s
????????????kerberos?????
????5??????????????????????kadmin???????????????У??????????????????????????????????????????е???????kadmin.local????????????????????kerberos server????У???????oracle?е?sys???????????????
????#kadmin.local -q "addprinc admin/admin"
?????????????????“admin/admin”?????????κ??????????????????????kadm5.acl?е???????????????/admin??β???????л???????????????????????????????????????????kadmin?????????????
???????
????#service krb5kdc start
????#service kadmin start
????#chkconfig krb5kdc on
????#chkconfig kadmin on
???????
????#kinit admin/admin
???????kinit?????????????????????????????????????root?????????????root??kerberos????????в???У????????????
????#klist
????????????????
????Ticket cache: FILE:/tmp/krb5cc_0
????Default principal: admin/admin@MH.COM
????Valid starting Expires Service principal
????04/10/15 13:03:36 04/11/15 13:03:36 krbtgt/MH.COM@MH.COM
????renew until 04/10/15 13:03:36
????????????????ò????????????????й??ktadd??????“????”д???????.keytab??????????????keytab??????粻????????д??/etc/krb5.keytab
????kadmin.local: ktadd kadmin/admin
????kadmin.local: ktadd kadmin/changepw
?????????Щ????
????#kdestroy????????kerberos?????????????kinit??????????
????kadmin.local>listprincs ?г????д?????????е???????
????kadmin.local>delprinc zookeeper/kbhbase1.mh.com@MH.COM ?????????
????kadmin.local>addprinc admin/admin ?????????
????kadmin.local>q ???kadmin
????kadmin: addprinc -randkey root/kbhbase1.mh@MH.COM
????kadmin: xst -k root.keytab root/kbhbase1.mh.com
????# klist -kt root.keytab ?г????keytab?б??????????????
????????????????????kinit??????????????ζ?????????????????????????keytab????????????????????????????????????????У???????????????keytab????????ζ?????????
????kerberos client????
??????????????kbhbase1?????????????????kerberos ????????kerberos???????????????????????????????????????ntp???????????????????????????????£????????ntp??? #yum install krb5-libs krb5-workstation ?????kerberos server???yum???????????????server???krb5.conf????????????????????ɡ????
????kb1??kbhbase1??/etc/hosts???????????????????????
?????????????server???????
????#service iptables stop
????#chkconfig iptables off
????????server??????????kinit??klist?????????????????kadmin??????????admin/admin?????????????????????????????????????????????????????????????????????в?????????????????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
??????????????????ù????????ù?????????????????????????????з????????????????ù????е?SVN???ù????????????汾????????cmmi???ù??????ù?????????????ù???????????(2)???ù???????????(1)SCM??????ù???????????????ù??????????????????????е????ù??????????????ù??????ù????????????汾?????????????????ù???Nginx???ù??? - ???????DCMP??????etcd?????ù?????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????