0% found this document useful (0 votes)
86 views3 pages

CD /etc/yum - Repos.d/ Wget Yum Install VLC

This document provides instructions for installing and configuring OpenLDAP on a Linux server. It includes steps to install OpenLDAP packages, create the LDAP data directory, copy the configuration files, configure slapd.conf, start the slapd service, set permissions, and import the initial LDAP data using migration tools.

Uploaded by

Jhon Feel Good
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views3 pages

CD /etc/yum - Repos.d/ Wget Yum Install VLC

This document provides instructions for installing and configuring OpenLDAP on a Linux server. It includes steps to install OpenLDAP packages, create the LDAP data directory, copy the configuration files, configure slapd.conf, start the slapd service, set permissions, and import the initial LDAP data using migration tools.

Uploaded by

Jhon Feel Good
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 3

VLC

cd /etc/yum.repos.d/
wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo
yum install vlc
Openldap
primero instalar los paquetes
[root@pc1 Escritorio]# yum -y install openldap-clients openldap-servers openldap authconfi
authconfi-t
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
crear una carpeta
[root@pc1 Escritorio]# m"dir #var#li$#ldap#$ase
[root@pc1 Escritorio]# chmod %&& #var#li$#ldap#$ase
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
copiamos la informacion
[root@pc1 Escritorio]# cd #usr#
[root@pc1 usr]# cd share#
[root@pc1 share]# cd openldap-servers#
[root@pc1 openldap-servers]# ls
'()CO*+,-.e/ample slapd.conf.o$solete
[root@pc1 openldap-servers]# cp '()CO*+,-.e/ample #var#li$#ldap#$ase#'()CO*+,-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ponemos el permiso respectivo ala carpeta creada
[root@pc1 openldap-servers]# cho0n -1 ldap.ldap #var#li$#ldap#$ase#
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ponemos la ca$le con cuidado i copiamos el hachin
[root@pc1 openldap-servers]# slappass0d
*e0 pass0ord2
1e-enter ne0 pass0ord2
3445678dis9:e;v%/a<E"L=Lq+fic>p?%@q+pl
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
inresamos
[root@pc1 etc]# cd #etc#openldap#
[root@pc1 openldap]# ls
certs ldap.conf schema slapd.d
[root@pc1 openldap]# vim ldap.conf
[root@pc1 openldap]# copiamos
include #etc#openldap#schema#cor$a.schema
include #etc#openldap#schema#core.schema
include #etc#openldap#schema#cosine.schema
include #etc#openldap#schema#duaconf.schema
include #etc#openldap#schema#dynroup.schema
include #etc#openldap#schema#inetorperson.schema
include #etc#openldap#schema#@ava.schema
include #etc#openldap#schema#misc.schema
include #etc#openldap#schema#nis.schema
include #etc#openldap#schema#openldap.schema
include #etc#openldap#schema#ppolicy.schema
include #etc#openldap#schema#collective.schema
include #etc#openldap#schema#pmi.schema
allo0 $ind)v?
pidfile #var#run#openldap#slapd.pid
arsfile #var#run#openldap#slapd.ars
data$ase $d$
suffi/ Adc!dominioBdc!tldA
rootdn Acn!CanaerBdc!dominioBdc!tldA
rootp0 344567Lnm>L+eE1#=e$p%6yE+&:*l-a81dDc"=
directory #var#li$#ldap#autenticar
# ,ndices a mantener para esta $ase de datos
inde/ o$@ectClass eqBpres
inde/ ouBcnBmailBsurnameBivenname eqBpresBsu$
inde/ uid*um$erBid*um$erBloin4hell eqBpres
inde/ uidBmem$erEid eqBpresBsu$
inde/ nisCap*ameBnisCapEntry eqBpresBsu
i para seuir se necesita tener confiurado un '*4 si osi
suffi/ Adc!pc1.@honBdc!comA
rootdn Acn!rootBdc!pc1.@honBdc!comA
rootp0 344567Lnm>L+eE1#=e$p%6yE+&:*l-a81dDc"= ponemos nuestra contraseFa que
uardamos
directory #var#li$#ldap#autenticar
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[root@pc1 openldap]# service slapd restart
Garando slapd2 [+6LLH]
,niciando slapd2 [ OI ]
[root@pc1 openldap]#
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
por medidas de seuridad cam$iar los permiso
[root@pc1 openldap]# cho0n ldap.ldap #etc#openldap#ldap.conf
[root@pc1 openldap]# chmod J&& #etc#openldap#ldap.c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
carpeta donde esta la miracion
[root@pc1 openldap]# cd #usr#share#mirationtools#
[root@pc1 mirationtools]# vim mirate)common.ph linea %1 K %D confiurar
# 'efault '*4 domain
L'E+6EL8)C6,L)'OC6,* ! Apc1.@hon.comAM
# 'efault $ase
L'E+6EL8)(64E ! Adc!pc1.@honBdc!comAM uardamos
ldif ! e/tencion que mane@a el openldap de confiuracion
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
asemos la miracion
[root@pc1 mirationtools]# #usr#share#mirationtools#mirate)$ase.pl N $ase.ldif
/ -NN autenticacion simple
0 solicita clave de acceso
' $indd
prinmero para los rupos
[root@pc1 mirationtools]# #usr#share#mirationtools#mirate)$ase.pl O #etc#roup pass0d.ldif
para usurios ##usr#share#mirationtools#mirate)$ase.pl O #etc#pass0d pass0d.ldif
[root@pc1 mirationtools]# ldapadd -/ -P -' Qcn!rootBdc!pc1.@honBdc!comQ O -h 1&.1&.1<.?< -f
roup.ldif

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy