O ambiente grafico MATE e o fork do Gnome 2, entao para aqueles que nao curtiram o Gnome 3 e querem usar o Gnome 2, pode usar o MATE que lembrara muito a versao antecessor do Gnome 3. O presente Howto e destinado para as distribuicoes Linux Slackware 14.2, Debian 8, RHEL 7/CentOS 7/Fedora, Arch Linux, openSUSE 13.2/Leap 42.1/Tumbleweed e Ubuntu 16.04.1 LTS ate a data de publicacao deste post. Slackware 14.2 (32 bits) $ mkdir mate-desktop && cd mate-desktop/ $ lftp -c "open http://slackware.org.uk/msb/14.2/1.16/; mirror x86" $ cd x86/ $ su # upgradepkg --install-new deps/*.t?z # upgradepkg --install-new base/*.t?z # upgradepkg --install-new extra/*.t?z # exit Para selecionar o ambiente grafico MATE por default no boot # xwmconfig Slackware 14.2 (64 bits) $mkdir mate-desktop && cd mate-desktop/ $ lftp -c "open http://slackware.org.uk/msb/14.2/1.16/; mirror x86_64" $ cd x86_64/ $ su # upgradepkg --install-new deps/*.t?z # upgradepkg --install-new base/*.t?z # upgradepkg --install-new extra/*.t?z # exit Para selecionar o ambiente grafico MATE por default no boot # xwmconfig Debian 8 Estando com o arquivo /etc/apt/sources.list conforme o arquivo sources.list segue: #apt-get update #apt-get install mate-desktop-environment #apt-get install mate-desktop-environment-extras RHEL 7 / CentOS 7 / Fedora #yum groupinstall mate-desktop Arch Linux #pacman -Syy mate mate-extra openSUSE 13.2 #zypper ar -r http://download.opensuse.org/repositories/X11:/MATE:/Current/openSUSE_13.2/X11:MATE:Current.repo openSUSE Leap 42.1 #zypper ar -r http://download.opensuse.org/repositories/X11:/MATE:/Current/openSUSE_Leap_42.1/X11:MATE:Current.repo openSUSE Tumbleweed #zypper ar -r http://download.opensuse.org/repositories/X11:/MATE:/Current/openSUSE_Tumbleweed/X11:MATE:Current.repo Ubuntu 16.04.1 LTS sudo apt-add-repository ppa:ubuntu-mate-dev/ppa sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate sudo apt-get update sudo apt-get upgrade sudo apt-get install mate-desktop-environment-extras Feito! O presente Howto mostra os procedimentos necessarios para instalacao e configuracao do Samba 4 como controlador de dominio Active Directory (AD) realizada nas distros Debian 8 e CentOS 7. Observacao: Recomendado usar a versao 4.4.5 por ser a mais estavel no momento em ambiente de producao.1. Configuracao do servidor Samba Hostname: samba4dc Tipo de Servico (Role): Domain Controler Endereco IP: 192.168.1.4 Dominio: saitam.int DNS Cliente: 192.168.1.4 Gateway default: 192.168.1.1 1.1 Criar o mapeamento do servidor # vim /etc/hostname samba4dc # vim /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.1.4 samba4dc.saitam.int samba4dc # /etc/init.d/hostname.sh restart 2. Instalacao dos pacotes pre-requisitos para o Samba4 No Debian: # apt-get install acl attr autoconf bison gcc g++ debhelper dnsutils docbook-xml docbook-xsl flex gdb krb5-user libacl1-dev libaio-dev libattr1-dev libblkid-dev libbsd-dev libcap-dev libcups2-dev libgnutls28-dev libjson-perl libldap2-dev libncurses5-dev libpam0g-dev libparse-yapp-perl libpopt-dev libreadline-dev perl perl-modules pkg-config python-all-dev python-dev python-dnspython python-crypto xsltproc zlib1g-dev libgpgme11-dev python-gpgme python-m2crypto winbind libpam-winbind libnss-winbind Durante o setup do Kerberos, preencha conforme solicitado Reino por omissao do Kerberos versao 5: SEUDOMINIO.INT No meu caso, coloquei SAITAM.INT Servidores Kerberos para seu realm: 127.0.0.1 Servidor administrativo para seu realm Kerberos: 127.0.0.1 No CentOS: # yum install perl gcc attr libacl-devel libblkid-devel gnutls-devel readline-devel python-devel gdb pkgconfig krb5-workstation zlib-devel setroubleshoot-server libaio-devel setroubleshoot-plugins policycoreutils-python libsemanage-python perl-ExtUtils-MakeMaker perl-Parse-Yapp perl-Test-Base popt-devel libxml2-devel libattr-devel keyutils-libs-devel cups-devel bind-utils libxslt docbook-style-xsl openldap-devel autoconf python-crypto pam-devel 3. Download e instalacao do Samba4 # mkdir /opt/samba4 && cd /opt/samba4 # wget -c "https://download.samba.org/pub/samba/stable/samba-4.4.5.tar.gz" # tar -xzvf samba-4.4.5.tar.gz # cd samba-4.4.5 Checa as dependencias # ./configure 'configure' finished successfully (7m45.311s) Se ocorrer OK no passo anterior, execute o make para compilacao # make No meu caso em Debian 8.5 ocorreu o seguinte