Network Information Service
Before Working on this lab, you must have
Two Computer Running Linux OS.
System 1 (NIS Server)
Ip Address :- 192.168.0.x
System 2 (NIS Client)
Ip Address :- 192.168.0.x
NIS Server Configuration
1. Check IP & NIS Domain Entries
# ifconfig
# nisdomainname cloudnetwork.in
# hostname nisserver.cloudnetwork.in
# hostname
2. Check & Install the Packages.
# rpm –qa yp* or yum list installed yp*
# yum remove yp* -y
# rm -r /var/yp*
3. Install the Packages.
# yum install yp* -y
4. Edit Main Configuration File
# vi /var/yp/makefile
Change NOPUSH=fales into NOPUSH=true - (23rd line edit)
5. Restart the Services.
# service ypserv restart
# service yppasswdd restart
6. Create NIS database.
# /usr/lib/yp/ypinit -m (Master)
7. Create a New Users.
# useradd tom
# useradd joy
# passwd tom
# passwd joy
NFS Server Configuration
1. NFS Configuration
# yum install nfs* -y
# vi /etc/exports
# service nfs restart
# showmount -e 192.168.0.X - (X is a NFS Server Ipaddress)
NIS Client SIDE Configuration
1. Check IP & HOST Entries
# ifconfig
# setup
# service network restart
# ping 192.168.0.X -b
# vi /etc/sysconfig/network
# vi /etc/hosts
# hostname nisclient.cloudnetwork.in
2. Make the client Machine as Member of NIS-Server.
# authconfig-tui
3. To share home directory of user mount to NFS exported dir.
# mount 192.168.0.x:/home/ /home
4. To check result log in as a NIS server user
# su - tom
That's it
----------------------------------------------------------------------------------------------------------------------
Providing on the Web, online library and learning platform for IT Professional Developers with a unique blend of original content, peer-to-peer advice from the largest community of IT.
For The Latest Technology & Topics...
Redhat Linux | Linux Howtos | Ubuntu | Linux News | Centos | Linux Mint | Fedora | Linux Commands | Interview Question & Answers | Lintu Tricks | Linux Commands | Debian | Cinnamon | Apache | MySQL | Databases | Oracle-db | Java | SQL | pgAdmin | DevOps | Scripting | Python | Jenkins | Amazon AWS | Programming | Videos for Developers | Security & Hacking | VMware | Desktop | Laptops | Servers | Networking | Cloud | Installation | Operating System | MS Office | Switches | Routers | Firewall | Open Source | Outlook,Thunderbird, Gmail Emails | Monitoring Tools | JavaScript | YouTube | Android | Smartphone | Facebook | WhatsApp | Snapchat | Instagram | WordPress | Virtualbox | Browsers | Software | Hardware | Internet | Maintenance & Optimization | Antivirus | News | Google Play Store Apps | Prices | SEO | PC Games | Mobile Games | iPhone | Microsoft Windows 7 | Windows 10 | Windows Server 2012/2016/2019 | Windows Tips & Tricks | Tutorials | Training | Troubleshooting | Guides | Tips and Tricks | Reviews | Technology | IT Support | IT News | Advice for Technology | Features | Cloud | Cloud Computing | Privacy & Security| Banks
Follow Cloud Network on Twitter, Facebook and Subscribe to our YouTube channel.