Install Dante on an AWS instance

From JMK Wiki
Jump to navigation Jump to search

Kerberos

root@localhost ~ # yum install krb5-server
root@localhost ~ # nano -w /etc/krb5.conf

root@localhost ~ # kdb5_util create -s
root@localhost ~ # nano -w /var/kerberos/krb5kdc/kadm5.acl
*/admin@JMK.HU	*
root@localhost ~ # kadmin.local -q "addprinc admin/admin"
root@localhost ~ # chkconfig krb5kdc on
root@localhost ~ # chkconfig kadmin on
root@localhost ~ # /etc/init.d/krb5kdc start
root@localhost ~ # /etc/init.d/kadmin start
root@localhost ~ # kadmin.local -q "addprinc user"

Dante

root@localhost ~ # cd /usr/local/src
root@localhost /usr/local/src # wget wget https://www.inet.no/dante/files/dante-1.4.1.tar.gz
root@localhost /usr/local/src # tar xvzf dante-1.4.1.tar.gz
root@localhost /usr/local/src # cd dante-1.4.1
root@localhost /usr/local/src/dante-1.4.1 # ./configure
root@localhost /usr/local/src/dante-1.4.1 # make
root@localhost /usr/local/src/dante-1.4.1 # make install
root@localhost ~ # nano -w /etc/sockd.conf

Squid

root@localhost ~ # yum install squid