~choose fonts and sizes~

How to NIS server on RHEL 6.4 or Centos 6.4 or Scientific Linux 6.4

    It is very easy to Implement a Network Information Service (NIS).Do not worry., It is work 100%.                        
                                                         Selinux must be Permissive or Disable
[root@muraditbd ~]# getenforce
Enforcing
[root@muraditbd ~]# setenforce 0
[root@muraditbd ~]# getenforce
Permissive
[root@muraditbd ~]# service iptables status
iptables: Firewall is not running.

[root@muraditbd ~]# yum install yp* -y
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yp-tools.i686 0:2.9-12.el6 will be installed
---> Package ypbind.i686 3:1.20.4-29.el6 will be installed
---> Package ypserv.i686 0:2.19-22.el6 will be installed
--> Finished Dependency Resolution


Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
yp-tools i686 2.9-12.el6 base 63 k
ypbind i686 3:1.20.4-29.el6 base 50 k
ypserv i686 2.19-22.el6 base 127 k

Transaction Summary
================================================================================
Install 3 Package(s)

Total download size: 240 k
Installed size: 532 k
Downloading Packages:
--------------------------------------------------------------------------------
Total 19 MB/s | 240 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 3:ypbind-1.20.4-29.el6.i686 1/3
Installing : yp-tools-2.9-12.el6.i686 2/3
Installing : ypserv-2.19-22.el6.i686 3/3
Verifying : yp-tools-2.9-12.el6.i686 1/3
Verifying : ypserv-2.19-22.el6.i686 2/3
Verifying : 3:ypbind-1.20.4-29.el6.i686 3/3

Installed:
yp-tools.i686 0:2.9-12.el6 ypbind.i686 3:1.20.4-29.el6 ypserv.i686 0:2.19-22.el6

Complete!

[root@muraditbd ~]# vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=muraditbd.com
NISDOMAIN=muraditbd.com
[root@muraditbd ~]# nisdomainname muraditbd.com
Read More

0 comments:

Post a Comment

Attention: Please don't use spammy comments here. else ur comment will be remove automatically. Thank you.