yum install -y krb5-libs krb5-server krb5-workstation
2.2 配置 /etc/krb5.confvim /etc/krb5.conf
注意: default_ccache_name 一定要注释掉!!! 否者hadoop指令会报错:
# Configuration snippets may be placed in this directory as wellincludedir /etc/krb5.conf.d/[logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.lo