27 lines
623 B
Plaintext
27 lines
623 B
Plaintext
INSTAll server
|
|
yum install krb5-server
|
|
and if the libs are not installed
|
|
yum install krb5-libs
|
|
|
|
copy krb5.conf to /etc/
|
|
copy kdc.conf to /var/kerberos/krb5kdc
|
|
copy kadm5.acl to /var/kerberos/krb5kdc/
|
|
edit /etc/hosts to have th VMs ip associated with "noplace.org noplace"
|
|
ie
|
|
10.1.13.XXX noplace.org noplace
|
|
|
|
init the database and admin principals.
|
|
kdb5_util create -s
|
|
add an admin principal
|
|
kadmin.local
|
|
while running kadmin.local enter
|
|
addprinc master/admin
|
|
|
|
turn off iptables
|
|
start the service with init scripts
|
|
/etc/rc.d/init.d/krb5kdc start
|
|
/etc/rc.d/init.d/kadmin start
|
|
test it out
|
|
kinit master/admin
|
|
kadmin
|