Ubuntu Web Application Server Setup notes

Ubuntu Setup

AD Tutorial

  • apt-get update
  • apt-get install realmd sssd samba-common samba-common-bin samba-libs sssd-tools krb5-user adcli packagekit vim -y
  • kinit -V joeadmin
  • realm –verbose join -U adminuser corp.COMPANY.com
  • echo ‘ad_hostname = HOST.corp.COMPANY.com’ » /etc/sssd/sssd.conf
  • echo ‘dyndns_update = True’ » /etc/sssd/sssd.conf
  • service sssd restart
  • echo ‘session required pam_mkhomedir.so skel=/etc/skel/ umask=0022’ » /etc/pam.d/common-session
  • visudo
    • %domain\ admins@corp.COMPANY.com ALL=(ALL:ALL) ALL
    • %linuxadmins@corp.COMPANY.com ALL=(ALL:ALL) ALL

Ruby/Sinatra Setup

Apache Setup

Latest Noise

All The Noise