Mudanças entre as edições de "Dicas Centos7"
De Slacam_Wiki
Linha 47: | Linha 47: | ||
USEHESIOD=no | USEHESIOD=no | ||
− | 4 - | + | 4 - Desabilitar o boot para o modo gráfico |
+ | ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target | ||
+ | 5 - O nx não funciona corretamente por isso temos de usar o X2GO | ||
+ | wget http://mirror.globo.com/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm | ||
+ | yum install epel-release-7-0.2.noarch.rpm | ||
+ | yum install x2goserver x2goserver-xsession | ||
+ | |||
+ | 6 - Trocar o nome da máquina agora está em: | ||
+ | vim /etc/hostname | ||
+ | |||
+ | 7 - |
Edição das 01h54min de 27 de agosto de 2014
Algumas coisas que mudaram no CentOS 7
1 - Desabilitar o firewall
systemctl stop firewalld systemctl disable firewalld
2 - Parar e Inciar serviços
systemctl stop httpd systemctl restart httpd
Pode usar também:
service httpd stop
3 - Para habilitar autenticação LDAP
yum install nss-pam-ldapd -y systemctl enable nslcd systemctl enable nscd setup #(para colocar as info do servidor ldap)
Troque os dados do arquivo authconfig para:
vim /etc/sysconfig/authconfig IPADOMAINJOINED=no USEMKHOMEDIR=yes USEPAMACCESS=no CACHECREDENTIALS=yes USESSSDAUTH=no USESHADOW=yes USEWINBIND=no USESSSD=yes USEDB=no FORCELEGACY=no USEFPRINTD=no FORCESMARTCARD=no USELDAPAUTH=yes USEPASSWDQC=no IPAV2NONTP=no WINBINDKRB5=no USELDAP=yes USEECRYPTFS=no USEIPAV2=no USEWINBINDAUTH=no USESMARTCARD=no USELOCAUTHORIZE=yes USENIS=no USEKERBEROS=no USESYSNETAUTH=no PASSWDALGORITHM=sha512 USEPWQUALITY=yes USEHESIOD=no
4 - Desabilitar o boot para o modo gráfico
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
5 - O nx não funciona corretamente por isso temos de usar o X2GO
wget http://mirror.globo.com/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm yum install epel-release-7-0.2.noarch.rpm yum install x2goserver x2goserver-xsession
6 - Trocar o nome da máquina agora está em:
vim /etc/hostname
7 -