July 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

July 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

CONNECT RHEL7 TO AN OPEN LDAP SERVER

e LDAP server will be named instructor.example.com in this procedure.

Install the following packages:

# yum install -y openldap openldap-clients openldap-servers migrationtools net-tools.x86_64 Generate a LDAP password from a secret key (using redhat):

# slappasswd -s redhat -n > /etc/openldap/passwd Generate a X509 certificate valid for 365 days:

# openssl req -new -x509 -nodes -out […]

Install NFS on the LDAP Server

We need to install NFS on the LDAP server. Note: it’s not required to have the LDAP server and the NFS server on the same machine, it’s only easier.

The first step is to install all the necessary packages for NFS. Once these packages are installed, each package needs to be enabled and started.

# […]

HOW TO SETUP THE NTP SERVICE IN RHEL7

Install the NTP package:

# yum install -y ntp Activate the NTP service at boot:

# systemctl enable ntpd Start the NTP service:

# systemctl start ntpd The NTP configuration is in the /etc/ntp.conf file.

To quickly synchronize a server, type:

# systemctl stop ntpd # ntpdate ntp.internode.on.net 5 Jul 10:36:58 ntpdate[2190]: adjust time server […]